A minor typo on the Regular polygon page
vlahovivan opened this issue · 1 comments
vlahovivan commented
Issue description
The comment in the code below is wrong, Icosahedron is a polyhedron, not a polygon.
pushMatrix();
translate(width*0.5, height*0.5);
rotate(frameCount / 50.0);
polygon(0, 0, 80, 20); // Icosahedron
popMatrix();
URL(s) of affected page(s)
https://processing.org/examples/regularpolygon.html
Proposed fix
It should say "Icosagon" or "20 sided polygon".
jeremydouglass commented
Yep. That's true! Thanks for noticing and reporting.