Categories
Miscellaneous

Experimenting with Context Free

I saw a project in Make magazine (issue 17) that used the open source software Context Free – download it at: http://www.contextfreeart.org. It enables you to make scalable artwork using their simple code. Neat.

I gave it a try. The code is easy to adjust and modify and can be rendered over and over to produce different images. Below are some of the configurations I came up with. I still need to kick the tires on other patterns.



Context Free code Used For the Green Tendrils with blue ends – all other colors are just hue variants:

startshape TENDRILS
rule TENDRILS {
ARM { }

ARM { flip 30 }
ARM { flip 60 }
ARM { flip 90 }
ARM { flip 90 }
}
rule ARM 98 {
CIRCLE { }
CIRCLE { size 0.9 hue 500 sat .6 b .8}
ARM { y 0.2 size 0.99 rotate 4 }
}
rule ARM 2 {
CIRCLE { }
CIRCLE { size 0.9 }
ARM { y 0.2 size 0.99 flip 90 }
ARM { y 0.3 size 0.6 brightness 0.2 }
}