Copy a JavaScript from another website.

timer Asked: Jun 5th, 2013

Question description

Let me preface, by saying I don't think the answer to this question is simple. I am competent in the basics of JavaScript and well versed in other programming languages, but I have run into a bit of a wall on this one. JavaScript really is not my forte.

I would like to copy the javascript that is on this site:

It is using JavaScript to draw these animated (kind of dancing) bezier curves in different colors. There is also other stuff going on with JavaScript on the site and I am not interested in copying that.

Any help would be appreciated. Even if you cannot help me copy exactly what this webpage has maybe you could provide a JavaScript to render some similar dancing lines on the background of a webpage. So if it is easier to do it from scratch, that would be fine. 

For ease of reference, here are the files that I have so far and I really don't know why it isn't working:





<!DOCTYPE html>




<title>Test Page</title>









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