Parametric equations are very common in many physical tasks and in this tutorial I will show how to plot curves, described by these equations with SymPy and Matplotlib. Also I will make a video of growing parametric curve with an example of exciting butterfly curve, and at the end, I will make interactive plot of Lissajous curve with adjustable parameters.
More details about parametric equations with Sympy read here: http://mycoding.uk/a/parametric_curve...
Interactive Lissajous curve: http://mycoding.uk/a/interactive_liss...
How to link few image into a video file with Python: http://mycoding.uk/a/python__how_to_m...
Video content:
0:00 – Introduction to parametric curves
0:45 – 2D spiral curve with SymPy
1:43 – 3D spiral curve with SymPy
2:03 – Throwing stone exercise
2:37 – Throwing stone curve solving with SymPy
5:19 – Butterfly curve video
10:00 – Interactive Lissajous curve
13:03 – Conclusion about SymPy
#sympy #parametricfunction #pythongraphics