pygame is
Simple DirectMedia Layer is
Site Swing
3D Wave Interaction Simulator

3D Wave Interaction Simulator - 2.0.0

Ian Mallett (geometrian)



When waves are overlaid, they add and subtract to each other, a phenomenon called constructive and destructive interference. Except in certain cases, it is very hard to visualize what the resultant wave will look like. This program allows you to generate as many waves as you want, then see how they add to form the resultant. This is the 3D version of Wave Interaction Simulator, but the code is entirely different.


I've added a lot of new features! There's lighting, texture mapping, b/w and color heightmapping, normal maps, new viewing modes, etc. Look in Readme.txt for instructions and the full list of changes. The "screenshot" is actually a resized composite of four separate screenshots. For those who just want the simple code for whatever, I left version one still available for download.


Home Page:


click to view original size


3D Wave Interaction Simulator - 2.0.0 - Jan 23, 2008
3D Wave Interaction Simulator - 1.0.0 - Jan 21, 2008 account Comments

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

July 12, 2008 12:17am - Ian Mallett - nickname: (geometrian)
technomancer, this may be caused by a bug relating to textures. I give the solution on my website:
January 30, 2008 12:45am - Ian Mallett - nickname: (geometrian) Image of the Day!:
January 27, 2008 9:41pm - Ian Mallett - nickname: (geometrian)
Thanks for the + comments, guys!

technomancer, I really have no idea what's wrong. Sorry. Your computer is more than adequate (Actually, it's about the same as mine). You could try downloading it again. Also try the OpenGL mailing lists.

Do you think an OpenGL shell program would help people learn OpenGL--like nehe, but with commenting and clean code?
January 27, 2008 5:21am - Paul Davey - nickname: (technomancer)
its an Acer with an Intel Core 2 Duo running windows vista 32 bit
January 25, 2008 7:54pm - pymike - nickname: (pymike) - 5/5
This is really cool! I might use this to learn some PyOpenGL! By the way, how do ya get the textures to show?
January 25, 2008 2:29pm - Ian Mallett - nickname: (geometrian)
What kind of computer?
January 25, 2008 6:09am - Paul Davey - nickname: (technomancer)
i have python 2.5, pygame and AFIK pyopenGL.
notice it had an error inside an opengl function not a cant import opengl error
January 25, 2008 1:05am - Ian Mallett - nickname: (geometrian)
Do you have Python 2.5, Pygame, PyOpenGL?
January 24, 2008 1:16am - Paul Davey - nickname: (technomancer)
gives error:
File "C:\Downloads\3D Wave simulator\3D", line 255, in <module>
if __name__ == '__main__': main()
File "C:\Downloads\3D Wave simulator\3D", line 250, in main
File "C:\Downloads\3D Wave simulator\3D", line 199, in Textures
glBindTexture(GL_TEXTURE_2D, Textures[0])
ctypes.ArgumentError: argument 2: <type 'exceptions.TypeError'>: wrong type
January 23, 2008 10:56pm - Ian Mallett - nickname: (geometrian)
Version 2.0.0 released!
January 22, 2008 10:46pm - Taiuã Pires - nickname: (tay) - 5/5
great graphic effect
I intent to use it in my project in the future
January 21, 2008 9:42pm - Ian Mallett - nickname: (geometrian)
Version 1.0.0 released!

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)