Created
September 3, 2011 03:32
-
-
Save stesla/1190505 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var paper = Raphael("path-curves", 785, 200); | |
var path = "M 100 100" | |
+ "C 120 10 180 10 200 100" | |
+ "S 280 190 300 100" | |
+ "S 380 10 400 100" | |
+ "S 480 190 500 100" | |
+ "S 580 10 600 100" | |
+ "S 680 190 700 100"; | |
paper.path(path); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment