kjerandp / curve-interpolator

Interpolate values over a cubic Cardinal/Catmull-Rom curve
https://kjerandp.github.io/curve-interpolator/
MIT License
49 stars 6 forks source link

How to get consistent normal of any curves ? #34

Closed jay19240 closed 7 months ago

jay19240 commented 9 months ago

Is there a good way for getting consistent default normals for lines in 3D with curve-interpolator ?

kjerandp commented 7 months ago

You can use the method below to calculate adjusted normals (along with tangents and binormals)

https://kjerandp.github.io/curve-interpolator/classes/CurveInterpolator.html#getFrenetFrames