This is how bezier curves work. Drag around the points to change the shape of the curve.
I saw the featured project on curves and decided to make my own bezier curve simulation.