Hi, I’m new to Processing.
I wanted to know the best/simpliest method to achive the following:
I need to move a square from right to left and make it scale while moving.
The square must be 2x2 at the beggining, and end at 80x80.
Having a 500x500 canvas, has to start at 0x250 and end at 500x250 (left to right).
I know how to make it scale it from 2x2 to 80x80, and know how to move it from right to left. I don’t know how to determine the growth progressing to get to 80x80 just when arriving at 500x250.
Sorry if I’m not clear, gonna try to explain it better if needed.
Edit: My bad, changed the requeriment, it was left to right, not right to left.