Created
May 31, 2015 23:20
-
-
Save moonmilk/2f11d31f4032c35bbb44 to your computer and use it in GitHub Desktop.
graphics in tracery
This file contains 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
{ | |
"origin": [ | |
"<svg width=\"400\" height=\"200\">#pattern#</svg>" | |
], | |
"circlecolor": [ | |
"pink", | |
"cyan", | |
"yellow", | |
"orange", | |
"gray", | |
"red" | |
], | |
"rand": [ | |
"20%", | |
"50%", | |
"80%" | |
], | |
"circle": [ | |
"<circle cx=\"#rand#\" cy=\"#rand#\" r=\"#rand#\" fill=\"#circlecolor#\" fill-opacity=\"0.5\"/>" | |
], | |
"pattern": [ | |
"#circle# #pattern#", | |
"#circle# #circle#", | |
"#circle# #circle# #circle#" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
learning how to do generative graphics in Tracery http://www.brightspiral.com/tracery/