Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Sphere to Sphere or partical Colition

  1. Nov 21, 2004 #1
    Im trying to program a perfect sphere to sphere colition method.
    What I have so far is every sphere has a velocity force and location. I have every shpere interacting perfectly with each other, the only thing I want is for the spheres not to be able to become compresed like jello. Does any one know of any sites that explane how to do anything related to this.
  2. jcsd
  3. Nov 23, 2004 #2

    This is what I have or what it looks like:

    This is what I whant to happen or it to look like:
  4. Nov 23, 2004 #3


    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    Dearly Missed

    Oh dear, you want an algorithm for the evolution of such a creature?
    Sweet dreams..
  5. Nov 24, 2004 #4
    OK dood...

    Are you saying its imposible or somthin, cuz if you are I got to say you dount have much gut.
  6. Nov 24, 2004 #5
    I don't think it will be that easy. To prevent the spheres from merging into each other you need some sort of collision detection. This has been used extensively in computer games, so you should be able to find something about it on the web. To get the spheres to form a perfect crystal is more tricky - in real life as well as in the simulation. You might want to look into 'simulated annealing'
  7. Nov 24, 2004 #6
    Well at least someone knows what im asking, thanks "chronon".
    Im acculy doing this for game programing I jest thot it would be a good idea to try asking a physics ? on a physics forum.

    Anyway here are is a nother pict:

    And here is the EXE of the pict at my geocities site:
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?

Similar Discussions: Sphere to Sphere or partical Colition
  1. Vacuum Sphere (Replies: 3)

  2. Polarized sphere (Replies: 0)

  3. Insulating sphere (Replies: 1)

  4. Drag and spheres (Replies: 3)

  5. Force on a sphere (Replies: 3)