Hello, this is my first time asking a question on the Processing Forum. Here it goes,
I would like to move an object down a bezier curve and then drop the object from that curve to another bezier curve. The first Bezier curve has some random movement and whenever it restarts in the window I would like a new object to move down it and move to the second bezier curve over and over again. How would I do this? I have started a simple piece of code that contains the two curves. Here it is;
void setup() { size(1536, 1024); smooth();
}
void draw() { background(255);
noFill(); stroke(0); frameRate (.5); //curve that I want an object/sprite to move down bezier(random(0,1300), 0,random(1300,1000),random(20,10),random(1000,800),random(300,600), random(0,1300),682); stroke(0); strokeWeight(5); // this is the curve the object will move on to once it moves down first curve bezier(0,682,384,682,768,682,1536,682); }