Sunday, October 01, 2006

Fractal Pentagons

This pattern is a fun pattern with pentagons. Each step away from the central pentagon the adjacent pentagons get smaller. Here is the code that describes this trait.
go{
scale 0.5
right
scale .6180339887
right
scale 2
sides 5
ifon none {
paint purple
5 {
create go
right }
} { }
}
To highlight the layers of pentagons I alternated the colours.

Popular Posts