Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    sur
    sur is offline
    New to the CF scene
    Join Date
    Jun 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Need help copying functionality of a script

    I would like to copy the script that is currently on this site: www.bitsyn.com
    It uses JavaScript to render these dancing bezier curves in different colors.

    Unfortunately, I get a little confused as I think what they have may be doing other things at the same time. For some reason it incorporates scripts from a site called cloudflare.com and rocketscript and I cannot figure it all out for the life of me.

    Any help would be appreciated, all I really want is to be able to use those dancing lines as the background of a webpage, so if there is an easier way without figuring out what my example website is doing, that would be great.

    I am not a total noob, but JavaScript really isn't my forte. Sorry if the answer is obvious and thank you for your time.

  • #2
    Regular Coder
    Join Date
    Jan 2013
    Location
    Germany
    Posts
    578
    Thanks
    4
    Thanked 77 Times in 77 Posts
    Do you know the meaning of the word "copyright"?

  • #3
    sur
    sur is offline
    New to the CF scene
    Join Date
    Jun 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I don't see a copyright anywhere.

    Basically, my question is how do they generate those dancing colored lines?
    I'll write a fresh script myself, but as I said I don't know where to start and trying to look at their source was a bit confusing. That is why I am asking for some guidance.

  • #4
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,471
    Thanks
    0
    Thanked 634 Times in 624 Posts
    Quote Originally Posted by sur View Post
    I don't see a copyright anywhere.
    Copyright applies automatically. Only once the author has been dead for 70 years does the copyright cease.

    So unless the author of the script died in 1943 or earlier the script will still be subject to copyright.

    The first step in being able to use the script is to find out who owns the copyright and get their permission in writing to use the script. They will also be able to help you out with what parts you need if ythey give you permission to use it.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #5
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,020
    Thanks
    75
    Thanked 4,323 Times in 4,289 Posts
    Ehhh...you know, he never said he wanted to use that code. He just wants to know *HOW* to do it. And quite frankly, so would I. I'm really impressed by the amount of computing power they are getting out of JS to be able to create that display.

    Some pretty tight coding, I would guess.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •