I have an Archimedean spiral determined by the parametric equations x = r t * cos(t)
and y = r t * sin(t)
.
I need to place n
points equidistantly along the spiral. The exact definition of equidistant doesn't matter too much - it only has to be approximate.
Using just r
, t
and n
as parameters, how can I calculate the coordinates of each equidistant point?
xy
plane? And what range of the spiral do you want to split? Sincet
is not defined, it could be infinite. And you can't deal withinfinity
in a finite context. Please rewise and update your question. – Thomasfor(var i=0; i<n; ++i) console.log({x: i*r*Math.PI*2, y:0 })
? All points are on the parametric spiral and all exactly byr*Math.PI*2
away from each other. – Thomasy = 0
isn't a spiral – snazzybouche