We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'm trying to make rotating polygon on processing, but I'm having a bit of trouble... The way the project will eventually work is that there will be an n-sided polygon, made out of lines, and the polygon rotates 360°. Right now, I'm just interested in having a single line be able to make a full rotation and change its angle as its rotating.
The line in the project works as intended (sort of), but I can't seem to increase the size of it without drastically increasing the speed
http://www.openprocessing.org/sketch/376656
Any and all help is appreciated!
Answers
could it be any solution for you?
This works incredibly well! Thank you very much!
If you don't mind me asking... Why'd you change the display() method to have a push/popMatrix()? I'm having trouble understanding the translate(x1, y1) part, as well well as changing the move() method to only affect x1 and y1?
Again, thank you very much for solving my question