Oct
14th
Sun
14th
Assignment 2: Mouse Input in Processing
Translating my Actionscript program into Processing was fairly painless. Functions and syntax are fairly similar in both languages. I did get stuck when I tried to draw something outside of the draw() and setup() functions, but I figured out the problem eventually. I still don’t quite understand how drawing functions work, but I’ll figure it out with experience.
I would have liked to add a blur to the cursor to make it more visually appealing, but research indicates that only images can be blurred easily. Also, an accurate mouse pointer shape would be difficult to achieve without an image, and I didn’t have time to figure out how to change the color/alpha of the image - so I stuck with a shape