APDE icon indicating copy to clipboard operation
APDE copied to clipboard

add `circle(float, float, float)` function

Open rinikapaul84 opened this issue 3 years ago • 4 comments

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 avatar Apr 13 '21 14:04 rinikapaul84

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);
}

rar0n avatar Jul 22 '21 01:07 rar0n

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.

Calsign avatar Nov 12 '21 07:11 Calsign

and "exit()" function

code-commenter avatar Feb 03 '22 13:02 code-commenter

and square(float, float, float)

Muppetsg2 avatar May 14 '23 20:05 Muppetsg2