flowers from arcs in processing

Nikolaus Gradwohl2011-05-10T05:47:25+00:00

I made a sketch that draws flowers, but the petals arent overlapping circles but touching arcs.

I calculate the radius and the angles of the touching arcs based on the radius of the flower and the number of petals.

then an (petal* 2)-vertex-polygon is inserted to fill the flower.

click here to try them or download the code

flowers from touching arcs

Tweet This! submit to reddit Digg! Tags: | no comments | no trackbacks

See also:

sine function spider
sine-function experiment
Rotating Möbius-Strip in processing
sketch experiment 7 - osc events
nested cubes in processing

Trackbacks

Comments

Leave a response

Leave a comment