Skip to content

Instantly share code, notes, and snippets.

@stesla
Created September 3, 2011 03:32
Show Gist options
  • Save stesla/1190505 to your computer and use it in GitHub Desktop.
Save stesla/1190505 to your computer and use it in GitHub Desktop.
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