Copy JavaScript functionality of a website

timer Asked: Jun 2nd, 2013

Question description

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

Unfortunately, I get a little confused when I look at their source, because I think what they are using may be doing other things as well. For some reason it incorporates scripts from a site called and rocketscript and I cannot figure it all out for the life of me.

Any help would be appreciated, all I want is to be able to render some similar 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'm sure I can write myself a script that replicates this if someone could tell me how to script even one animated curved line using the canvas feature of html.

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.

Tutor Answer

(Top Tutor) Studypool Tutor
School: UC Berkeley
Studypool has helped 1,244,100 students
flag Report DMCA
Similar Questions
Hot Questions
Related Tags

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors