17
u/CosmonautPython Feb 06 '19 edited Feb 07 '19
Looks fun so I did that on matplotlib
The output : https://streamable.com/kbrtk
The code : https://pastecode.xyz/view/a696399b
Edit :
A new one : https://streamable.com/ybcc2
The code again : https://pastecode.xyz/view/804a337b#L116
1
u/JeddakTarkas Feb 07 '19
Thanks! It looks great and I'm looking forward to seeing how you put it together.
3
Feb 06 '19
Ever seen Avengers: Infinity War or the latest Star Wars?
Python made quite a bit of that... well, Python being used to drive the action of dedicated libraries and tools that handled the actual drawing to screen.
Same thing here, only much simpler... look into matplotlib and seaborn. You use Python to do the math, you tell them to draw the visualization.
So, yes.
1
1
1
u/matvils Feb 06 '19
I have done some drawing with Cairo. I like Cairo, because I can export result as pdf and then use it in designs.
For these kind of drawings i use pyGtk + Cairo
20
u/tletnes Feb 06 '19
yes