Okay, I would be the first to admit that I am getting carried away with these little PyGame experiments. This one renders 3D lissajous figures, which are kind of like a 3D spirograph drawings. It's the first time I have use Game Objects in anything other than a test, and is a good example of simple Vector and Matrix math. Enjoy!

Download Spiro lissajous3d
This blog post was posted to It's All Geek to Me on Monday May 7th, 2007 at 10:46PM
 

1 Response to "3D Lissajous in PyGame"

  • Jeff
    May 8th, 2007, 2:04 a.m.

    Boy, that Wikipedia entry sure sucks the life out of the concept. But that's not the point.

    Take a scope; apply a stereo's left channel to channel A of the scope; the stereo's right channel to scope channel B. Play something funky, and enjoy.

    You could probably get something like that in software, too, assuming you can tap into the L/R channel of your MP3 player.

    About a zillion years ago, I'd buy old TVs and retask them as Lissy displays. Sold a few at flea markets. Never found anything like it in today's "visualization" libraries.

Leave a Comment

You can use bbcode in the comment: e.g. [b]This is bold[/b], [url]http://www.willmcgugan.com[/url], [code python]import this[/code]
Preview Posting...
Previewing comment, please wait a moment...

My Tweets

Will McGugan

My name is Will McGugan. I am an unabashed geek, an author, a hacker and a Python expert – amongst other things!

Search for Posts
Possibly related posts
Tags
Popular Tags
 
Archives
2015
 
Recent Comments
using of a recursion: def thousands_with_commas(i): def _recurse(n): x, y = divmod(n, 1000) if x 1000: return [x, y] return ...
#1 import string from collections import Counter def tagwords(): tagcounter = Counter() with open(tagwords.txt, r) as wordfile: words = list(filter(None, ...
- the jeffster on Python Coder Test
This is because mod_wsgi does not pass OS environment variables to the underlying application by default
Aigars, I didn't know uwsgi had such features. Thanks for the heads up.
Good example code. It could be updated to expose today's rendering techniques (anything that does not use glBegin/glEnd calls).
- Jorge A. Gomes on OpenGL sample code for PyGame
 
© 2008 Will McGugan.

A technoblog blog, design by Will McGugan