problem with scale
in
Programming Questions
•
1 year ago
Idraw a rectangle in the screen and now I want to scale it , the problem is that when I add scale sometimes the rectangle disappeared and sometimes it jumps to somewhere else in the screen . should I add translate as well ?
I'm trying to learn how this scale works in diffrent situations .
void setup(){size(200,200);}void draw() {scale(2); // disappearedrect(100,100,10,10);}
1