Hello World! pretty new to processing. Working on a little project based on a gif I made a few months ago and am having trouble finding a way to give horizontal motion to a shape created at the position of mousePressed. Would love any help or direction. Here is the gif and the idea
The entire idea is for the sketch to live on the web allowing anyone to create shapes with the horizontal motion. "creating their own wind patterns"
taking it a step further would love to have ControlP5 to be able to toggle between strictly horizontal and a more random turbulent motion...
and even further a button that would create a gif from 15 frames of what was created.
Anyways I figured I would start with Example 3-5 from Daniel Shiffman, Learning Processing. Where I can create the dots but I can't figure out where or how I give the created shapes motion...