Hello,
I am new to Processing and am enjoying creating shapes. Recently I created the following image (Pink Floyd rocks):
I am looking to animate the image in the following manner:
- the bottom angles of the prism (triangle) are fixed; the top angle follows my mouse
- the light ray (the line on the left) stays pinned to the side of the prism
Can anyone nudge me in the right direction on how to get started with this? I've been rocking my brain and can't figure it out. I know it requires mouseX and mouseY, but beyond that I'm stuck.
Thanks for the help.
1