n-flakes — Fantastic Fractal Explorer
n-flakes
Take a regular polygon with corners. Shrink it, and put one copy on each corner, so the copy's corner sits on the polygon's corner. Then do the same to each copy, and to each of their copies. What remains in the end is an n-flake. With a triangle and copies of half the size it is Sierpinski's triangle.
The copies just touch at the ratio
which is for the triangle and the square, about for the pentagon, and for the hexagon. The square at fills itself; the others leave holes at every scale.
A copy in the middle
The center slider adds one more copy at the center. With a square at ratio it gives Vicsek's fractal, an X of squares; with a pentagon, turned half a step, the pentaflake; with a hexagon, the hexaflake.
What you can change
The point you drag is the center of the copy on the first corner. Dragging it towards that corner shrinks every copy; dragging it sideways turns them, and the turns add up into spirals. Changing the number of corners or the center copy puts the copies back at their touching size.
The depth slider sets how many levels there are, counting the first polygon as level 1, so depth replaces it by its copies times; only the last level is drawn. The color ratio colors each copy by its corner at every level.