Slashdot stories can be listened to in audio form via an RSS feed, as read by our own robotic overlord.


Forgot your password?
Education Programming Science

Simple, Portable Physics Simulations 145

Posted by timothy
from the for-kids-and-other-humans dept.
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."
This discussion has been archived. No new comments can be posted.

Simple, Portable Physics Simulations

Comments Filter:
  • Re:wot? (Score:1, Funny)

    by Anonymous Coward on Sunday August 16, 2009 @01:47PM (#29085247)

    the progress bar when windows xp boots up

  • by Anonymous Coward on Sunday August 16, 2009 @02:59PM (#29085777)

    I want to 'lure' my nephews/nieces

    I'm glad the rest of that sentence ended up better than it started out.

  • by Lorkki (863577) on Sunday August 16, 2009 @03:55PM (#29086161)

    Hey, if it's old-fashioned stuff you find t3h l33t, why not teach the kids Brainfuck []? It's essentially the same language as P", devised by the man Böhm himself in 1964, way before all of this pish posh about how to conveniently build non-trivial programs, but also including the modern concepts of input and output. Make no mistake, however - with only eight operations to choose from, it's about as simple as you can get, and many a programmer will attest that it's fun to play with!

Every successful person has had failures but repeated failure is no guarantee of eventual success.