@26243AJ showed me a version of this on desmos so I made it on scratch go through the modes to see how it was made mode 1 is the way I made a quadratic bezier curve mode 2 gets the points on the line mode 3 draws the line mode 4 adds physics (drag the points around)
https://www.desmos.com/calculator/qelf43m8p3