Editing 2712: Gravity

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 592: Line 592:
  
 
==Trivia==
 
==Trivia==
* The objects in the mini universe of this browser game are all at fixed positions and do not interact through gravity, however, the ship controlled by the player is affected by gravity. While this makes it technically a relatively easy integration problem (of the position of the player ship forward in time), the integrator used seems to be a relatively simple one, but certainly not a simplistic one, because it does not conserve angular momentum. This can be seen when one manages to get into orbit around some object, e.g., the core of the sun. The orbit slowly decays over time.
+
The objects in the mini universe of this browser game are all at fixed positions and do not interact through gravity, however, the ship controlled by the player is affected by gravity. While this makes it technically a relatively easy integration problem (of the position of the player ship forward in time), the integrator used seems to be a relatively simple one, but certainly not a simplistic one, because it does not conserve angular momentum. This can be seen when one manages to get into orbit around some object, e.g., the core of the sun. The orbit slowly decays over time.
  
* The logic for extending the landing legs and landing is rather simple. A ship can (normally) land if it is facing away from the surface it collides with, and if its momentum is more-or-less directed towards the surface. Once landing is triggered, the ship will rotate to face directly away from the object exerting the most gravity on the player, regardless of how sloped the surface is. The only way to get into space again is to accelerate forwards, as neither turning nor accelerating backwards cancels the landed state. All of this can be abused to land on almost everything. To land on the underside of an object, simply point your ship away from the object and slowly accelerate backwards to counteract the force of gravity. Landing on the side of an object is more difficult, as ships cannot accelerate sideways. The first method is to accelerate backwards to launch yourself upwards and towards the object so that at the top of your arc you will collide with the object. Then, rotate your ship accordingly to land. Method two is to just repeatedly slam your back of your ship into the object until you land. Note that with any of these weird landing methods, your ship will turn to face away from the source of gravity and can clip into objects.
+
The logic for extending the landing legs and landing is rather simple. A ship can (normally) land if it is facing away from the surface it collides with, and if its momentum is more-or-less directed towards the surface. Once landing is triggered, the ship will rotate to face directly away from the object exerting the most gravity on the player, regardless of how sloped the surface is. The only way to get into space again is to accelerate forwards, as neither turning nor accelerating backwards cancels the landed state. All of this can be abused to land on almost everything. To land on the underside of an object, simply point your ship away from the object and slowly accelerate backwards to counteract the force of gravity. Landing on the side of an object is more difficult, as ships cannot accelerate sideways. The first method is to accelerate backwards to launch yourself upwards and towards the object so that at the top of your arc you will collide with the object. Then, rotate your ship accordingly to land. Method two is to just repeatedly slam your back of your ship into the object until you land. Note that with any of these weird landing methods, your ship will turn to face away from the source of gravity and can clip into objects.
  
* Executing <code>window.python("import antigravity")</code> or <code>python("import antigravity")</code> as Javascript on the page will reverse gravity, multiplying the gravity constant by -1.
+
Executing <code>window.python("import antigravity")</code> or <code>python("import antigravity")</code> as Javascript on the page will reverse gravity, multiplying the gravity constant by -1.
  
* Executing <code>window.ze.goggles()</code> or <code>ze.goggles()</code> as Javascript on the page will show a warning in the console: "<code>they do nothing!</code>"
+
Executing <code>window.ze.goggles()</code> or <code>ze.goggles()</code> as Javascript on the page will show a warning in the console: "<code>they do nothing!</code>"
 
 
* Ponytail's comment on earth that she "checked downforeveryoneorjustme.com and it said just me" may be referencing the actual website at that domain, which checks if other websites are down.
 
  
 
==Transcript==
 
==Transcript==

Please note that all contributions to explain xkcd may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see explain xkcd:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)

Templates used on this page: