Haskell ASCII 3D wireframe animator

Loading...

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

Uploaded by on Dec 19, 2008

Animates wireframes in a 3D coordinate system using only plain text and a few control codes for cursor movement. This video demonstrates coordinate systems with a single point marking the origin, a static cube and a few different animated cubes.

The math used is simpler (and less correct) than what real 3D engines use, which results in visual oddities in some cases.

The background music is Lambda Fantasy by Foldplop (that's me!) and the animations at the end are a couple of random Quartz compositions I put there to make the lengths of the video and audio tracks match.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 4 dislikes

Link to this comment:

Share to:

Uploader Comments (VIPSTARHinaichigo)

  • damn man! just stumbled upon this! Amazing music! And lovely haskell thingy you got there! got me all fired up! :D i hope to find your songs somewhere!? :D

  • @bitmefool Thanks! :3 I have a couple of releases up at foldplop . com. You can also find a few tracks released at demo parties (including Lambda Fantasy) by going to scene . org and entering "foldplop" or "cross dressing robots" into the search box.

  • Incredible! I would love to see how you worked out the characters screen co-ordinate based on its distance from your view position. Did you manually create some sort of a depth buffer?

  • @CallumBGood I wrote this before having properly studied computer graphics and used some kind of odd scaling formula that breaks in many corner cases. The standard way would be to apply a perspective projection from 3D to 2D. Since this is just a simple wireframe rendering without culling of invisible faces, there's no depth buffering going on.

Top Comments

  • ONE MINUTES OF EXCITING CODE TYPING

  • I love ur music bro. I just sit here all day listening to it

see all

All Comments (32)

Sign In or Sign Up now to post a comment!
  • oh my god, cross dressing robots

  • Also please tell me what that music is!

  • Oh god I love lambda functions. I've been programming in python for years and didn't realize it had them.

  • MAKE THIS OPEN SOURCE!

  • Why in Darwin's name are you using Nano? -_-

  • i want to do this in batch programs for a loading screen, is there any way you could send me the individual frames for just a spin in actuall charactors and not a picture?

    thanks.

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