This code shows how to implement and visualize Bezier curves (linear, quadratic, cubic)
It is adapted from https://github.com/Josephbakulikira/Bezier-Curve-animation-using-python
Ref: https://en.wikipedia.org/wiki/B%C3%A9zier_curve
Pygame : pip install pygame
python main.py