We are about to switch to a new forum software. Until then we have removed the registration on this forum.
this is my code, i want the arc to be facing upside, not upside down
void setup(){ size(800,600); } void draw() {
fill(0);
arc(400, 200, 80, 80, 0, PI); }
Answers
If you want the arc drawn differently, you will need to pass it different parameters! Like so:
@lisa_weber -- Using different parameters is the best way. Another option if you want to flip everything you draw is to use
scale()
--scale(-1,1)
to flip horizontally, orscale(1,-1)
to flip vertically.However, this flips your whole coordinate system -- so if you are about to draw things with an offset (like 400,200) then they often flip right off the edge of screen. Instead, use translate() first to move to your 0,0 drawing location to the middle of the screen, optionally flip with scale(), then draw your flipped-or-unflipped object at 0,0.