The number of points is not necessarily.
What is your code?
See from the Collection of examples from discourse.threejs.org
the examples
MotionAlongCurve
BasisToQuaternion
MovementOnCurve
and
CarRacing
and change the number.
const points = curve.getPoints( number ); // 80, 800, 20 ...