Spinning cube animation using python / matplotlib (with code!)

Опубликовано: 19 Март 2011
на канале: nic w (Nic)
12,585
34

Some time ago I posted some videos with animations created using Python, with the Numpy and Matplotlib modules. I promised the source code, but never delivered it. As I couldn't find the code anymore I decided to rewrite it, and this time I made sure I paste the code here before I publish the video http://pastebin.com/HGzF8n9k

The "spinning cube" is a classic basic animation from old-school demo codes. I learned a lot of programming doing this kind of stuff in C and assembly, and I wanted to create similar things using tools like python and matplotlib... So here it is.

This code is definitely improved over my original lost one, using things like list comprehensions, etc. That could become an interesting python coding challenge: create the smallest script that produces the coolest animation. Be my guest to modify that code and submit new videos!


На этой странице сайта вы можете посмотреть видео онлайн Spinning cube animation using python / matplotlib (with code!) длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь nic w (Nic) 19 Март 2011, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 12,585 раз и оно понравилось 34 зрителям. Приятного просмотра!