Skip to content

A minor typo on the Regular polygon page #802

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
vlahovivan opened this issue Mar 8, 2020 · 1 comment · Fixed by #803
Closed

A minor typo on the Regular polygon page #802

vlahovivan opened this issue Mar 8, 2020 · 1 comment · Fixed by #803

Comments

@vlahovivan
Copy link

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 added a commit to jeremydouglass/processing-docs that referenced this issue Mar 8, 2020
@jeremydouglass
Copy link
Contributor

jeremydouglass commented Mar 8, 2020

Yep. That's true! Thanks for noticing and reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants