Warning: Running this on scratch will be very lag. Please move to https://turbowarp.org/1007898223/ There are currently 4 point (cubic), you can change it inside the porject.
https://www.desmos.com/calculator/cahqdxeshd for linear, quadratic, cubic bezier curve. https://en.wikipedia.org/wiki/B%C3%A9zier_curve#Recursive_definition for recursive bezier curve.