Hi. I’m trying to make 6 dots along a line(0, random(height), width, random(height)). The dots should be evenly spaced. Can someone please let me know
Hello, @Havi, and welcome to Processing Foundation Discourse!
A good way to begin is to first figure out how to do this manually. Draw a line on a piece of paper, with the coordinates of the endpoints represented by variables. How would you then calculate the coordinates of the other points, using the coordinates of the endpoints? After considering that, we can then figure out the code for doing the same.