I'm going to try and answer your question as simply as possible, and still give you room to explore.
Your first question:
How do I make the points follow a moving curve?
Let's simplify your problem. So long as you can get ONE point (or ellipse, or whatever else) to move along a curve, then you can move points (plural) to follow a curve.
You also wanted a "moving curve". I don't know what that is exactly, but I'll ignore it for now and focus on a "curve".
First, you need to define a curve. Be it, from Bezier or Curve. Check the references on what values they'd like to take:
http://processing.org/reference/curve_.html
Something like that will do. You'll notice that a catmull-rom curve like that takes 8 variables (4 points on 2D space).
Now, that command is only to draw the curve. The curve is simply an abstract set of data-points. However, Processing readily gives you a method to find any point on a curve, so this is extremely useful:
http://processing.org/reference/curvePoint_.html
Notice its usage: calling it twice to recieve the x and y, by supplying it with a variable 't'. 't' defines how far along the curve the function will return a point at. Therefore, if you give it a value of '0', it will give you the x and y position of the beginning of the curve. A t of '1' will return the positions of the end. And a '.5' will return the middle. We cool so far?
So, to "animate" something along the curve, you "animate" this 't' number.
Something like:
Code:
progress += .1;
px = curvePoint(ax,bx,cx,dx,progress);
py = curvePoint(ay,by,cy,dy,progress);
//px and py can now be used for drawing.
Looking at your code, you seem to understand this. Yet, you are cycling through "t" in one for-loop. Remember: your screen does not refresh until the END of draw(). Thus, you have to increment your "t" only once every frame.
That's about it, for your first question.
For your second question:
How do I get the coordinates of each point written into a list?
I'm not sure I understand it. Can you please be more specific? Do you want to know how to store the animated points into an array? I don't quite follow.
Anyways, good luck.