Gravity 3D - Galaxy Collision Simulation - MUST SEE

WhiteZero

Tank
Joined
Apr 23, 2004
Messages
3,981
Reaction score
0
After watching Will Wrights presentation on Spore and algorythm/procedural based graphics, animation, etc. I started looking around for any cool techdemos that do such.

Finaly I ran accross a page that had a list of pretty cool apps that simulate various things. The most entertaining I've foudn to be one called Gravity 3D, which simulates what happens when 2 Galaxies collide with eachother.
You can download it here:
http://www.adrian.lark.btinternet.co.uk/PWGravity3D.htm

Be sure to read the ReadMe!!
One setting in the Gravity3d.txt file (the apps config file) is the very first line that tells the app how many thousands of stars to use to make up the galaxies. By default when I used it, it was set to -18, which instad of determining the ammount of stars, tries to figgure out the ammount of stars to use in order to achive the FPS equal to the -number that you put. This just caused the app to not even run at all, so I had to change it.

Note that you'll need a decent processor and RAM to run this with a large ammount of stars. I can run a total of 1,500,000 stars will very little slowdown on my system. I could go higher, but 2mil+ stars just makes everything look white from the sheer ammount of dots.

Anyway, everytime you run the app or hit Spacebar to reset it, it will simulate a different collision, resulting to interesting patterns. Heres one of my favorites that I've made:
Gravity3D.JPG


Hope you guys enjoy this as much as I do.
 
how strong is your cpu and how much ram do you have.
Oh yeah and what number did you change it to., wait you just change the -18 to some other number. only if you set it to low like 15 or 30 the galaxies will just disperese, oh and why is it that when i set 15, I see a lot more starts then 15.
 
Well, if you read the ReadMe you'd know why. The nummber you put in translates to thousands. So 15 = 15,000

CPU: 3.0Ghz
RAM: 1gig
 
WhiteZero said:
Well, if you read the ReadMe you'd know why. The nummber you put in translates to thousands. So 15 = 15,000

CPU: 3.0Ghz
RAM: 1gig

That's me out. :( Looks pretty though...
 
SimonomiS said:
That's me out. :( Looks pretty though...
You'll be able to sill run it, just with less stars.

Also, you might want to redownload with the new link, since it's a newer version.
 
grav14gk.jpg

grav20gf.jpg

grav33fx.jpg


VERY sweet, I wish I could use this for my screen saver.
 
Its.... beautiful!


*Seizure.

I want to see how much this can take.
 
Well analytical solutions cannot solve 3 gravitational bodies interactions with each other so the numerical solutions of galaxies of billions of stars must be grossly inaccurate.

It uses the gravity equation F=G*M1*M2/R^2

Naaaaaaaaaaaah, it's some numerical solution of the many-body sum of that equation. They don't actually use that equation like they say.

Although I look forward to seeing it soon when I can be bothered to download it soon (I'm drunk and my computer cannot get internet connection ;()
 
Be sure to mess around with the different controls they give you to see the stars clearer/brighter/more colorful/from better angles...

Awesome program :D
Almost as extreeeeme as my avatar ;)
 
Those pics look awesome, I may have to get the proggy just for a good background
 
this is really awesome, but nothing updates in real time for me :(

looking on their website for help
 
kirovman said:
Well analytical solutions cannot solve 3 gravitational bodies interactions with each other so the numerical solutions of galaxies of billions of stars must be grossly inaccurate.
Which is why this program uses far less than billions...

Naaaaaaaaaaaah, it's some numerical solution of the many-body sum of that equation. They don't actually use that equation like they say.
What makes you say this?
Did you decompile the program and find this out or are you just guesstimating?
 
Pesmerga said:
VERY sweet, I wish I could use this for my screen saver.
They are working on a screensaver version (see bottom of the linked download page)
 
Wow...I wonder if this really happened during about 3 million years after the big bang, when galaxies actually formed. Just remember that 1 second is the equivalent of at least 800 million years.
 
WhiteZero said:
Which is why this program uses far less than billions...


What makes you say this?
Did you decompile the program and find this out or are you just guesstimating?

Well computers use numerical methods to calculate the solutions, so some kind of numerical interpretation of this analytical solution will be used...

It just seems more logical, especially since you'd have to do loops to sum over all gravational masses.

I've done similar simulations before (albeit less complex) and I would guess they would follow similar numerical methods. Unless they programmed it in Maple or something.

Anyway I'll check it out later, sounds cool.
 
It's funny to think that years ago (1970's, etc) millions/billions would be payed by groups like NASA to just run a program like this.

Was watching a documentary on the Apollo 13 mission. NASA's giant super computers at that time had 1/100th the processing power of your average PC Processor nowadays. :O
 
This program is awesome! So beautiful!
 
I've just tried it and it looks stupendously awesomely extreme!

Sorry for being pedantically drunk last night.
 
what the hell how come theirs look way nicer... look at some of the shots on their website.
 
Maybe they used blur. How come blur crashes my program, guys?
 
Ummm... BTW: The number that you put in for the stars, is the total ammount of stars, not stars-per-galaxy.

Also, to those who doubt that the guy actually used the F=G*M1*M2/R^2 equation, I sent him an eMail about it, and he has personally confirmed that he used it.
 
Sorry, I thought that they would involve 3 or more bodies in a mutual orbit (which is pretty much unpredictable with that formula), but obviously, from the simulation, they are not. The formula is fine to use with high velocity collision, which are greater than orbital velocities.
 
kirovman said:
(I'm drunk and my computer cannot get internet connection ;()

And yet, you are able to say this:
Well analytical solutions cannot solve 3 gravitational bodies interactions with each other so the numerical solutions of galaxies of billions of stars must be grossly inaccurate.

Naaaaaaaaaaaah, it's some numerical solution of the many-body sum of that equation. They don't actually use that equation like they say.

:LOL:
 
kirovman said:
I hate it when that happens :eek:


HAHAHAHAHAH!!!!!! HAHAHAHAHHA!!!:LOL: :LOL: :E :E HAHAHAHAHAH!!!!!! HAHAHAHAHHA!!!:LOL: :LOL: :E :EHAHAHAHAHAH!!!!!! HAHAHAHAHHA!!!:LOL: :LOL: :E :EHAHAHAHAHAH!!!!!! HAHAHAHAHHA!!!:laughh: :E :EHAHAHAHAHAH!!!!!! HAHAHAHAHHA!!!:LOL: :LOL: :E :EHAHAHAHAHAH!!!!!! HAHAHAHAHHA!!!:LOL: :LOL: :E :EHAHAHAHAHAH!!!!!! HAHAHAHAHHA!!!:lah: :E :EHAHAHAHAHAH!!!!!! HAHAHAHAHHA!!!:LOL: :LOL: :E :EHAHAHAHAHAH!!!!!! HAHAHAHAHHA!!!:LOL: :E :EHAHAHAHAHAH!!!!!! HAHAHAHAHHA!!!:LOL: :LOL: :E :EHAHAHAHAHAH!!!!!! HAHAHAHAHHA!!!:LOL: :E :EHAHAHAHAHAH!!!!!! HAHAHAHAHHA!!!:LOL: :LOL: :E :EHAHAHAHAHAH!!!!!! HAHAHAHAHHA!!!:laughh: :E :EHAHAHAHAHAH!!!!!! HAHAHAHAHHA!!!:LOL: :E :EHAHAHAHAHAH!!!!!! HAHAHAHAHHA!!!:LOL: :LOL: :E :EHAHAHAHAHAH!!!!!! HAHAHAHAHHA!!!:LOL: :LOL: :E :EHAHAHAHAHAH!!!!!! HAHAHAHAHHA!!!:LOL: :LOL: :E :EHAHAHAHAHAH!!!!!! HAHAHAHAHHA!!!:LOL: :LOL: :E :EHAHAHAHAHAH!!!!!! HAHAHAHAHHA!!!:LOL: :LOL: :E :EHAHAHAHAHAH!!!!!! HAHAHAHAHHA!!!:LOL: :LOL: :E :EHAHAHAHAHAH!!!!!! HAHAHAHAHHA!!!:LOL: :LOL: :E :EHAHAHAHAHAH!!!!!! HAHAHAHAHHA!!!:LOL: :LOL: :E :EHAHAHAHAHAH!!!!!! HAHAHAHAHHA!!!:LOL: :LOL: :E :EHAHAHAHAHAH!!!!!! HAHAHAHAHHA!!!:LOL: :LOL: :E :EHAHAHAHAHAH!!!!!! HAHAHAHAHHA!!!:LOL: :LOL: :E :EHAHAHAHAHAH!!!!!! HAHAHAHAHHA!!!:LOL: :LOL: :E :E
 
Another quote from the dev:
"I think any doubt is from the fact that there are too many stars in the
simulation for it to be running in realtime and using that equation. I do
make it clear in the software description that I do not give the stars any
mass, this means the equation is only calculating the force between the
stars and the black holes, not between each star."
 
WhiteZero said:
Another quote from the dev:
"I think any doubt is from the fact that there are too many stars in the
simulation for it to be running in realtime and using that equation. I do
make it clear in the software description that I do not give the stars any
mass, this means the equation is only calculating the force between the
stars and the black holes, not between each star."


Ah, that makes more sense to me. Thanks.
 
My galaxies missed each other the first time I loaded it up. I'm like, "Ooo-kayyyy."

But yes, a pretty cool program.
 
can soeone tell me precisly how they made ttheri screenies, and if it is possible on a medium home pc in reasonable time, casue I don't get much info from this:
These images were created using a modified version of the Gravity3D software which simulates galaxy collisions using the Gravity equation. The same simulation was run many times and the images were combined to produce the final images you see below. Each image is made up of hundreds of millions of stars.

In some images the colour is mapped to the star's acceleration in others it was mapped to velocity.
http://www.adrian.lark.btinternet.co.uk/PWGallery.htm
 
i hooked my pc up to my 43" lcd hdtv widescreen tv and played this little simulation... OMG IT"S SO BEAUTIFUL
 
Back
Top