r/Python • gitlab.com/MisterBiggs • Jul 26 '19

Double Pendulum made with Processing.py

https://gfycat.com/feistycompetentgarpike
2.0k Upvotes

89 comments sorted by

View all comments

100

u/MisterBlggs gitlab.com/MisterBiggs Jul 26 '19 edited Jul 26 '19

I noticed Processing had an interface for Python: Processing.py. So, I figured I would try to port Daniel Shiffman from the Coding Trains Double Pendulum Code over to Python and it was ridiculously easy. I'm surprised I hadn't heard of the Python version of Processing so I figured I would share with Reddit.

Python code here

8

u/ivosaurus pip'ing it up Jul 26 '19

Ever so slightly sad that you have to write python 2.7 code for processing's Jython :/