Math Art
As many of you now know, I’m taking a few summer classes- one of which I have just completed (YAY!). This course was called “Math Art” and was taught by the ever-so-wise Dani Novak of IC fame, alongside of Stu Anderson- a physics professor (also of IC).
The course is extremely interesting and I recommend it to anyone of any level of Math proficiency.
You learn the following:
- how to think in abstract ways about design through math
- how to use SeeLogo- a programming environment for generating art
- how to use other programs as part of a final project
For my final project I used ContextFree to generate a “Firetree”. I’m pretty stoked about the results which is why I’m posting it.
Click here» for my code.
startshape BEAUTIFUL background { sat 0 b -1 } rule BEAUTIFUL { SQUARE{b 3 sat 1.0 s 0.2588} 2*{s 0.4} BEAUTIFUL {h 8 r 1 x 0.5 y 0.9 s 0.987} TREE {y 0 hue 15 sat 0.0 b 1 size .98} } rule TREE 150 { //BEAUTIFUL {y 0 hue 0 sat 1 b 1} CIRCLE { y 0 hue 0 sat 1 b 1 size 1.0} TREE { y .5 hue 1 sat 0.0 b 1 size .98} } rule TREE 5 { CIRCLE { y 0 hue 0 sat 1 b 1 size 1.0} BEAUTIFUL {x 1 y 15 hue 1 sat 0 b 1} TREE { y .5 hue 1 sat 0.0 b 1 size .99 r 30 } } rule TREE 5 { //BEAUTIFUL {x 1 y 15 hue 1 sat 0 b 1} CIRCLE { y 0 hue 0 sat 1 b 1 size 1.0} TREE { y .5 hue 1 sat 0.0 b 1 size .99 r -30 } }
Topic: Geeky/nerdy, Miscellaneous Tags: abstract, anderson, art, beautiful, code, context, context free, contextfree, dani, dani novak, fire, firetree, fractal, generating art, IC, image, logo, math, math art, mathart, novak, programs, see, seelogo, slider, stu, tree, video, youtube
