Side project: Gravity Simulation

  • ssc4k
    23rd Dec 2010 Member 0 Permalink
    As a side project I have begun to work on a unrealistically realistic (like the powder toy, its meant to be fun to play with) gravity simulation. I've pretty much got the basics down with 1 or 2 known small bugs so I thought I'd share v1.3 with the forum and see if I'm the only one crazy enough to find this amusing to play with.

    Controls:
    escape = close
    c = clear screen
    space = pause
    v = change view
    l-click = create new moving particle, drag before releasing to create velocity, the longer you hold the bigger the mass
    r-click = create new stationary particle, the longer you hold the bigger the mass
    scroll = increase/decrease accuracy

    download
  • Felix
    23rd Dec 2010 Member 0 Permalink
    Slow download, perhaps try an external file host?
  • HK6
    23rd Dec 2010 Former Staff 0 Permalink
    Felix
    Downloaded quite quickly for me...

    ssc4k
    Pretty interesting although ief015 already did something just like this.
  • Mur
    23rd Dec 2010 Member 0 Permalink
    I ran it on Wine and it looks like (if it is not identical) to the GNU/Linux "Planets"
  • Felix
    23rd Dec 2010 Member 0 Permalink
    http://data.fuskbugg.se/dipdip/_a.out
    That is a Linux 64bit sse3 version statically linked with sfml (I think, if it doesn't work try to install sfml.)
  • Mur
    23rd Dec 2010 Member 0 Permalink
    Felix
    My Linux is 32bit
  • Felix
    23rd Dec 2010 Member 0 Permalink
    Mur:
    Felix
    My Linux is 32bit

    So?
  • Finalflash50
    23rd Dec 2010 Banned 0 Permalink
    This post is hidden because the user is banned
  • ssc4k
    23rd Dec 2010 Member 0 Permalink
    Its hosted by google so it should be very fast.

    @HK6 haha awesome, I hadn't found this before. Hopefully as I add more it will seam a bit different.

    It uses (or was made to use, it may be perfectly backwards compatible with 1.6) with SFML 2.0 in which case you'll always want to use 2.0 static because dynamic has issues with new AMD drivers.

    Thanks for the input guys
  • pandaikon
    23rd Dec 2010 Member 0 Permalink
    It was fun.

    Keep up the good work, bro!