Polygon Physics – Hit The Orb
Goal: Hit the glowing orb with any ball as many times as possible in 60s.|Sides: 6Size: 180pxBalls: 12Spin: 0.80 rad/s ccwTime Scale: 1.00x
Score 0 • Time 60s

Polygon Physics Game

Experience the fascinating world of physics simulation with our interactive Polygon Physics game. Control a spinning polygonal container filled with bouncing balls under dynamic gravity forces.

Game Objective

Your goal is to hit the glowing golden orb with any ball as many times as possible within 60 seconds. The target respawns in a new random location inside the polygon each time you successfully hit it.

Physics Features
  • • Realistic elastic collisions between balls
  • • Dynamic gravity that changes direction and magnitude
  • • Momentum conservation and impulse-based physics
  • • Configurable polygon sides (3-16) and spin speed
  • • High-DPI canvas with smooth 60fps performance
How to Play

Controls

  • • Adjust polygon sides: + Side / - Side buttons
  • • Change ball count: + Balls / - Balls buttons
  • • Modify spin speed: Spin + / Spin - buttons
  • • Toggle spin direction: Flip Spin button
  • • Adjust time scale: Time + / Time - buttons
  • • Pause/Resume: Pause button
  • • Reset game: Reset button
  • • Randomize: Randomize button

Game Mechanics

  • • Balls bounce off polygon edges with realistic physics
  • • Gravity direction rotates continuously
  • • Target orb glows and respawns when hit
  • • Score increases with each successful hit
  • • Time limit creates urgency and challenge
  • • Visual trails can be toggled for motion blur
Educational Value

This game demonstrates fundamental physics concepts in an engaging, interactive way:

Collision Physics

Learn about elastic collisions, momentum conservation, and impulse-based physics through real-time simulation of ball-to-ball and ball-to-polygon interactions.

Gravity & Motion

Experience how varying gravity affects object motion, including both linear and angular momentum in a dynamic environment.

Computational Physics

See how numerical integration, collision detection, and physics simulation work together to create realistic motion in real-time.