Skip to content
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

Circle example missing size(400, 400); #559

Open
SableRaf opened this issue Sep 26, 2024 · 0 comments
Open

Circle example missing size(400, 400); #559

SableRaf opened this issue Sep 26, 2024 · 0 comments

Comments

@SableRaf
Copy link
Collaborator

SableRaf commented Sep 26, 2024

Select the type of content error.

Other content error (please specify)

Section

Examples

Location of the error

https://processing.org/reference/circle_.html

Describe the error

The Circle example is missing the size(400, 400); function call, which sets the window size. As a result, when you run the example in Processing, the circle appears outside the visible area.

Suggested correction

Add the size(400, 400); call at the beginning of the sketch to correctly display the circle within the window:

size(400, 400);
circle(224, 184, 220);

Screenshots or references

image

Additional context

The Ellipse example already has the correct window size setup, as shown below:

size(400, 400);
ellipse(224, 184, 220, 220);
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

No branches or pull requests

1 participant