previous

page 8

next
just an idea ...

Make a Polygons "movie" in a similar way to spirals() on page 5.
I called mine polys() seeing we already have a polygons().

the 5 pointed star

Click here to reveal my answer.

function star(d=350) {
for (var i=0;i<5;i++) {
fd(d); rt(144);
}
}
function test() {
star();
}
and what about this?

Click here to reveal my answer.

function stars(n=10) {
for (var i=0;i<n;i++) {
star(); rt(360/n);
}
}
function test() {
stars();
}
previous
next