pygame is
Simple DirectMedia Layer is
Site Swing

WaveMachine - 0.2

Matthias Karl (matze)



WaveMachine is a simple programme simulating a wave machine you probably know from your physics education at school or university. A wave machine looks like this: WaveMachine was a short project I made just for fun because since I had seen a wave machine at school I wanted to have my own one. :-) I don't think that it's very useful, but maybe someone sees a sense and can use it. There's no guarantee that the physics engine works correctly ;-). Examine the first comments in to learn how to use it.


WaveMachine 0.2 offers more command line options (use -h or --help to learn more about them), an editor mode (press e to use it) and it now draws lines between the oscillators.


Home Page:


click to view original size


WaveMachine - 0.2 - Nov 16, 2008
WaveMachine - 0.1 - Nov 10, 2008 account Comments

If you wish to leave a comment with your account, please sign in first.

December 15, 2010 8:31am - Matthias Karl - nickname: (matze)
Sorry, I wasn't here for a long time. I fixed the 403 problem.
October 18, 2010 6:46pm - Micha Zimmermann - nickname: (quaddro)
hallo matthias, ich hab leider auch keinen zugriff auf den source code und mich wÃŚrde es wirklich interessieren!
falls also eine andere möglichkeit besteht wÃŚrde ich mich sehr freuen!
vielen dank schon einmal
September 14, 2009 8:15pm - Mitchell K - nickname: (mk12)
your source url gives me a 403 forbidden.
November 17, 2008 10:15pm - Ian Mallett - nickname: (geometrian)
I agree. Functionality first :)
With respect to testing the aalines, I did.
November 16, 2008 2:33pm - Matthias Karl - nickname: (matze)
Hello Ian, thanks for your comment. I know that gui options whould be much more userfriendly and I'm not satisfied with the cli options, too. But my goal for this release was to give the user a rudimentary facilty to change some of the programme's parameters and the cli options were the fastest way to implement it. ;-) But gui options are one of the planned features for the next release. I don't think that antialiased lines would be better. In my opinion they look kinda strange and distracting. You can test it for yourself by changing pygame.draw.lines to pygame.draw.aalines in line 183 of
November 16, 2008 1:51pm - Ian Mallett - nickname: (geometrian)
Very nice!
Recommendations: Make the lines antialiased. Also, my mid-range computer does just fine with like 180 oscillators at 30fps. You might want to bump the defaults up a bit. Command line options make things somewhat difficult. It would be nice to have options in the gui, but at least in the code itself.
November 12, 2008 6:10pm - Raden Muhammad Mu'az - nickname: (radenmuaz) - 4/5
November 10, 2008 11:08am - Ricardo Daniel Quiroga - nickname: (l2radamanthys) - 5/5
muy bueno pero podrias colocar lineas uniendo los puntos para mejor VISTA.....

our projects welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
recent releases
Feb 21, 2017

Jan 31, 2017

Jan 24, 2017

Jan 18, 2017

Jan 7, 2017

Dec 30, 2016

Dec 8, 2016

Nov 28, 2016

Nov 27, 2016

... more!
for pygame related questions, comments, and suggestions, please see help (lists, irc)