Falling in Circles

Simulation of 260,000 Trojan asteroids

이용 기술 HTML5, WebGL

  • 조회수 651회
  • 댓글수 1건

현재 데모에 대한 개발자 댓글

This demo simulates the effect that the gravitational interaction between the Sun and Jupiter has on about 260,000 asteroids. After it runs for a few minutes, you will begin to see some patterns develop. First, Jupiter will clear out most of the asteroids from its orbit but will leave some inside its orbit and some outside. Second, you will see two pockets of "Trojan" asteroids develop about 60 degrees ahead and behind the planet. These are locations of gravitationally stability where the forces balance out and allow objects to remain in lock-step with Jupiter. Select info icon in the top-left of the screen to learn more.

This simulation of the asteroids is done entirely on your computer's GPU. Normally used for rendering graphics, the GPU is also an extremely powerful vector processor, allowing many calculations to be done in parallel.

Left mouse button - Click and hold to spawn asteroids in a circular orbit around the Sun.

Right mouse button - Click and hold to spawn asteroids with velocity relative to the mouse. Drag the mouse while spawning to affect their starting velocity.

Space bar - Toggle between a Sun and Jupiter perspective. In Jupiter's perspective, the locations of gravitational balance are highlighted.

1 건의 댓글 있음

새로운 데모를 추가하려면 로그인하십시오.

  1. Erick_Ribeiro에 의한 댓글

    This demo is not working here. I receive the message:
    "Failed to load project
    Did you forget to enable API access on the project?"

About this Demo

소스 다운로드 3644.64 KB · ZIP 파일

Browse the Source

현재 데모는 Apache 라이센스 하에 공개되고 있습니다.