Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!


Forgot your password?
Education Programming Science

Simple, Portable Physics Simulations 145

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 @02:47PM (#29085247)

    the progress bar when windows xp boots up

  • by Anonymous Coward on Sunday August 16, 2009 @03: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 @04:55PM (#29086161)

    Hey, if it's old-fashioned stuff you find t3h l33t, why not teach the kids Brainfuck [wikipedia.org]? 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!

Machines that have broken down will work perfectly when the repairman arrives.