Hello. I am trying to write a program that stores the x, y coordinates of an a curve (not to be confused with the curve function) into an array. The curve is created by drawing a circle when the mouse is pressed and dragged across the screen. I would like to build up an array of the x,y coordinates so I can use the data as input into a generative art program. Any ideas? The following is what the curve would look like.
1