Skip to content

Wrong definition for circle on the reference for the circle() function. #7141

Closed
@apoullet

Description

@apoullet

Most appropriate sections of the p5.js website?

Reference

What is your operating system?

Linux

Web browser and version

Firefox 124.0.1

Actual Behavior

Screenshot from 2024-07-21 13-53-34
This might be my own misinterpretation, but "Every point on the circle's edge is the same distance, d, from its center" right after defining d as the diameter seems wrong. It feels like it was meant to be "..is the same distance, d / 2, from its center".

Expected Behavior

Reword the definition of a circle to use the radius as the distance between any point of the circle and its center.

Steps to reproduce

Go to this page: https://p5js.org/reference/p5/circle/

Would you like to work on the issue?

Happy to put in the fix for this. Apologies if there is another place to report issues like these, I couldn't find one more appropriate.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions