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

Publicado em: 19 Março 2011
no canal de: 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!


Nesta página do site você pode assistir ao vídeo on-line Spinning cube animation using python / matplotlib (with code!) duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário nic w (Nic) 19 Março 2011, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 12,585 vezes e gostou 34 espectadores. Boa visualização!