Line Function Sketches
All the next few codes are depended on mouseX or mouseY, changing the variables regarding where the mouse is positioned.
More rotations
This code I took from an example code. Apart from the rotation I also looked at using the keyboard/ mouse to activate the rotation. So that where the // if (mousePressed == true) comes in, this means that when you click with the mouse something else happens. I'm a bit annoyed that it only rotates that one directions and not the other but I will figure this eventually out looking deeper into the software.







No comments:
Post a Comment