Pendulum Hit
Watch the pendulum swing back and forth and tap at the exact moment the bob passes through the target zone. The gold inner zone scores a PERFECT — the green outer zone scores GOOD. Miss the zone and it counts as a miss.
Clear 10 stages by landing enough hits per stage. The pendulum speeds up and the target zone shrinks with each stage, demanding sharper timing to advance.
How to Play
- Hit: Tap, click, or press Space / Enter when the bob is inside the target zone
- Gold center zone = PERFECT (+100), green outer zone = GOOD (+50)
- Consecutive hits give a streak bonus
- Each stage has 8 swings — hit the required number to advance
- Mobile: tap anywhere on screen or use the HIT! button
About This Game
Pendulum Hit is a timing game built around one of physics' most elegant motions: simple harmonic oscillation. The pendulum swings at a mathematically precise speed and you have to press at the exact moment the bob passes through the target zone. PERFECT hits land in the narrow gold center; GOOD hits land anywhere in the wider green arc. Miss the zone entirely and it counts against you.
Why We Built It
Rhythm games typically give players auditory cues to help with timing. We wanted to build a timing game that was purely visual — your internal sense of the pendulum's rhythm is the only guide. The physics-accurate swing arc (using cosine motion) means the pendulum slows near the endpoints and accelerates through the center, which is the opposite of what players initially expect. That counterintuitive speed profile is what makes it interesting.
How It Works
The pendulum angle is computed each frame as angle = −MAX_ANGLE × cos(t × speed), where speed increases with each stage. The target zone is defined as a fraction of MAX_ANGLE — when the absolute angle is less than this fraction, the bob is "in zone". A hit is registered only once per swing window; pressing again during the same swing has no effect. A streak bonus rewards consecutive successful hits, making perfect runs significantly more valuable than average ones.
Tips & Strategy
- Don't watch the bob itself — watch the zone. Train yourself to react to when the zone lights up, not to where the bob is.
- The pendulum slows near the center during its arc, giving you more time than it appears. What feels like a narrow window is actually longer than the edges suggest.
- On later stages, commit to pressing slightly early rather than on-time. Your brain's processing delay means "feels right" is actually a fraction late.
- Build a streak early when the window is wide. Later stages have smaller zones, so your streak bonus carried from early stages helps significantly.
Ideas for Improvement
- Double pendulums — two pendulums with offset phases that must both be in zone simultaneously for a bonus hit.
- Rhythm mode — a variant with an audio beat that syncs to the pendulum, testing whether audio or visual timing is more accurate for each player.
- Accuracy graph — a post-game chart showing each hit's distance from perfect center over the session.
- Calibration stage — a 0th stage that measures the player's personal reaction time and adjusts the PERFECT threshold accordingly.