Imagine I have two points in a three-dimensional space, let's call them A(x1, y1, z1) and B(x2, y2, z2). Now, I am looking to find a new point on the line AB, starting from point A, but at a distance of 5 units away. Can you help me figure out how to do this?
As part of my project, I have successfully rendered a line in a web browser using Three.js. However, I am currently facing the challenge of calculating points along this line at specific intervals. Any suggestions on how I can achieve this?