drag the big points to move the main curve around, drag the smaller ones to affect the curve itself use the detail slider to change the amount of positions calculated in the curve
randomly thought about bézier curves, so i just made them lol the code for calculating the bézier curve can 100% be simplified, but whatever i made this by staring at the gif for bézier curves on wikipedia for a bit