Simple cube animation with numpy / matplotlib

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,896
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Feb 2, 2010

I made this animation using Python and the matplotlib module (and scipy...)

You just need to know linear algebra, and how basic perspective works (pinhole camera model). I simulated a camera looking at a cube, moving over a circle parallel to it, and away from it. This is the "Hello World!" of computer graphics... ;)

Update: http://youtu.be/uElrvKrxTVc

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (3)

Sign In or Sign Up now to post a comment!
  • @ciitv I sent a new, similar video youtube K5qoS781qOw and the source code is at pastebin HGzF8n9k

    

  • @ciitv Dude, I'm terribly sorry I never answered this. Problem is I have to find the code in my heap of old files... But it's really not hard to do if you know one thing or two about linear algebra. If you don't look for it, learn how to use a rotation matrix!... :) The documentation from Open GL has some stuff about this.

  • awesome ! can you share the source code

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more