Live data from Hacker News

Gravity Simulator

nowykurier.com

101–110 of 135 posts

Re: Gravity Simulator

#101

Earlier quoted context omitted.

Its a shame that a simple button label would be the cause of an education tool to be rejected... sissy-state for the win!

OMFG is not a standard abbreviation. If you are making a tool that can be used worldwide, best to stick with words and slangs that are universally known. Moreso, best to stick with terms that are acceptable to people of all cultures and backgrounds. The word 'fucking' may be a light-hearted slang to a 20 year old american, but it may just be offensive to someone older living in the UAE. Professionalism, though not pe…

Even with the USA "fucking" would be unprofessional!

Re: Gravity Simulator

#102

Hey.. TBH its real fun to play with it. Question.. How big is the frame? I create two objects and they went out of frame. Then I create 2 more but a bit bigger ones and after 2-3 minutes I see those two objects coming back and it looks good too :D .. check it out http://imgur.com/IBYeysm

The frame extends far beyond your the preset view. You can pan around with Control-click-drag.

Re: Gravity Simulator

#103

This is nice, but please rename the OMFG button. As someone who works in K-12, it would be a shame if a program like this is rejected because of a button.

There exists a similar if not more robust gravity simulator that's available for free to schools. It's called Universe Sandbox. Here is a link for instructions on obtaining educational licenses. http://universesandbox.com/blog/category/education/

Re: Gravity Simulator

#104

This is nice, but please rename the OMFG button. As someone who works in K-12, it would be a shame if a program like this is rejected because of a button.

Just out of curiosity (I'm not offended by OMFG myself), I'm wondering: would "ZOMG" be ok?

Re: Gravity Simulator

#106
Wow this is fun. But it has so much potential for improvements!

  -Saving your setting
  -Undo-ing
  -Auto generate small object in perfect circle orbit around larger object, and generate sun-earth-moon system
  -Export setting to other people
  -Allow to numerically finetune locations and velocities
  -Don't ruin the trails when dragging
  -Make it run faster, especially with trails enabled
  -etc... :)
EDIT: Gee, when will Hacker News finally support newlines properly?

Re: Gravity Simulator

#107

I did something similar, but with combat - ships, lasers and missiles. There are a couple of variations, and some tweaks like the ships accelerating perpendicular to the planets so they don't crash land. http://codepen.io/simonswain/full/ftEjD/ http://codepen.io/simonswain/full/CeHmh/

Very cool. I notice that many ships tend to get stuck on the edge of the map though. Maybe make it so they loop back around to the other side of the map?

> Maybe make it so they loop back

That's be a toroidal spacetime surface, wouldn't it? Would gravitational influence also have to "loop around" the borders?

If not, you might get some very interesting effects if a mass is near the edge of the map.

Re: Gravity Simulator

#108
I have a question about a phenomenon I am seeing.

say you add 3+ equal mass objects without a velocity and they all collide with each other without "missing or orbiting" one another. Sometimes the final mass will have a velocity.

It would seem like it should not have a velocity because it would be canceled out. What am I missing? Where is this energy coming from?

Re: Gravity Simulator

#109
post #73

Earlier quoted context omitted.

The source is browsable if you modofy the URL. I expect someone with create a canvas driven clone within 48h:)

Done. Although I did this years ago: http://mobile.sheridanc.on.ca/~claassen/Gravity/Gravity.html

Great! I tried it out; when I combined a galaxy with a field , many particles went flying from the center at a high rate of speed. Why is that?

Re: Gravity Simulator

#110

Wow this is fun. But it has so much potential for improvements! -Saving your setting -Undo-ing -Auto generate small object in perfect circle orbit around larger object, and generate sun-earth-moon system -Export setting to other people -Allow to numerically finetune locations and velocities -Don't ruin the trails when dragging -Make it run faster, especially with trails enabled -etc... :) EDIT: Gee, when will Hacker…

well at least it supports negative mass ;)
Post reply on HN