This program provides functionality for plotting triangular grids and calculating the midpoints of the triangles formed by such grids. Using this data, layers of circlular pyramids in a similar fashion to creating a triangular pyramid out of cans. Mousing over the image makes the circles bulge up.
Draws recursive 'Flower of Life' patterns, with each iteration constructing circles of half the radius of the last. Mouse xy controls a 3D zoom of the image. An earlier static version of this sketch was used to generate the grid for a diagram illustrating the geometric relationships of the Tree of Life as seen here http://playful-geometer.deviantart.com/art/Tree-of-Life-Proportions-154630541.
This program draws a hexagon grid (like a honeycomb patterns)
The radius of the hexagons, however, changes with respect to the mouseX, producing interesting intersection patterns
This code is easily modified to create SVG images useful for graphic design (do my best to make code readable for maximum playfulness :)