Asked • 05/29/19

Find equidistant points between two coordinates?

I have a function which needs to take out equidistant points between two points on the screen(2d). Like this - |--------------| The distance is already decided. For example, I take it as `2` here, then the points I need the - |--.--.--.--.--| The points can be anywhere on the 2d plane, which means if I draw a line between the two points, it can be any orientation possible in a 2d plane, i.e diagonal, horizontal, etc. I can't figure out how to do this in python. I do not know what to google for ... And I'm 14 so I don't know any type of math for this. I know the how to calculate distance and slope of the line, but I don't know how to proceed. Thanks in advance!

1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.