pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
WaveMachine

WaveMachine - 0.2

Matthias Karl (matze)

Tags:

Description

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: http://leifi.physik.uni-muenchen.de/web_ph11/simulationen/11wellenmasch/basismodul.jpg 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 wavemachine.py to learn how to use it.

Changes

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.

Links

Home Page: http://pygame.org/project/957/
Source: http://www-e.uni-magdeburg.de/karl/wavemachine/wavemachine_0.2.tar.gz

Screenshot


click to view original size

Releases

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

Pygame.org account Comments

If you wish to leave a comment with your pygame.org 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 wavemachine.py.
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
cool
November 10, 2008 11:08am - Ricardo Daniel Quiroga - nickname: (l2radamanthys) - 5/5
muy bueno pero podrias colocar lineas uniendo los puntos para mejor VISTA.....
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Oct 1, 2014

Sep 19, 2014

Sep 17, 2014

Sep 9, 2014

Sep 8, 2014

Sep 7, 2014


Sep 5, 2014

Aug 26, 2014

Aug 21, 2014


Aug 18, 2014

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