Skip to content

A minor typo on the Regular polygon page #802

@vlahovivan

Description

@vlahovivan

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".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions