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

add circle(float, float, float) function #109

Open
rinikapaul84 opened this issue Apr 13, 2021 · 4 comments
Open

add circle(float, float, float) function #109

rinikapaul84 opened this issue Apr 13, 2021 · 4 comments

Comments

@rinikapaul84
Copy link

rinikapaul84 commented Apr 13, 2021

the desktop version contains circle(float, float, float) function which is an alternative to the ellipse(float, float, float, float) function when we need to draw a perfect circle. but apde doesn't.

@rinikapaul84 rinikapaul84 changed the title add "circle(float, float, float)" function add circle(float, float, float) function Apr 13, 2021
@rinikapaul84 rinikapaul84 reopened this Apr 13, 2021
@rar0n
Copy link

rar0n commented Jul 22, 2021

I just realized you can also add it yourself (as a work-around. But yeah would be nice to not have to do that on all sketches).

void circle(float x, float y, float s) {
   ellipse(x, y, s, s);
}

@Calsign
Copy link
Owner

Calsign commented Nov 12, 2021

circle was added to a version of Android mode that APDE has yet to update to. I am currently working on updating Android mode, and making upgrading a more streamlined process in the future. In the meantime, defining circle yourself seems like an easy, although unfortunate thing to have to do.

@code-commenter
Copy link

and "exit()" function

@Muppetsg2
Copy link

and square(float, float, float)

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

No branches or pull requests

5 participants