
start {
scale 0.4
create pent
}
pent {
sides 5
ifon none {
paint green
sides 5
paint olive
create pent
3 right
create delay
} { }
}
delay {
create pent
}
The delay subprogram allows the pattern to development more symmetrically; without it, there would be a radial seam that would break the symmetry (C5). To add spice to the pattern alternating triangles can be inserted (the zig-zag construction described in Zigzag Grid). To do this, the pent subprogram must be revised like so...

pent {
sides 3
ifon none{
paint olive
} { }
sides 5
ifon none {
paint green
sides 3
left
paint green
sides 5
paint olive
create pent
3 right
create delay
} { }
}

No comments:
Post a Comment