Slashdot Mirror


Simple, Portable Physics Simulations

ttsiod writes "I want to 'lure' my nephews/nieces towards Science and Engineering (to whatever extent that's possible, in the age of consoles). To that end, I have coded simple physics simulations, like falling snow, exploding fireworks, and 1D/2D wave simulations. My efforts are here, in the form of portable SDL mini-programs (GPL code, compilable under Windows, Linux, Free/Net/OpenBSD, Mac OS/X and basically every OS with GCC and SDL). Try them out, and do offer any suggestions on other programs that can trigger scientific interest in young minds. Myself, I am teaching them Python, so that they can code 'fireworks' on their own."

1 of 145 comments (clear)

  1. Re:wot? by internettoughguy · · Score: 0, Troll

    All of the mentions leave out time as a dimension, if I where to graph "sound" (a single channel, and as a piece of data, not as it propagates through space), I would need two dimensions: time and amplitude. In actual fact i cant think of a situation where a single dimension can hold anything but a single value.