GravSync
Submission to GitHub Game Off 2025
Overview
Grav Sync is a browser-based game built with p5.js that challenges players to synchronize gravitational waves under time pressure. The game features circular wave patterns that wrap around an animated Earth sprite, requiring precise parameter adjustments to achieve perfect wave alignment.
Game Concept
Players control gravitational wave parameters to match a target wave pattern with randomized frequency. The objective is to achieve constructive interference resonance by adjusting:
- Amplitude: The height/intensity of the wave oscillations
- Frequency: The number of wave oscillations around the central Earth
The synchronization system weights frequency matching at 80% and amplitude matching at 20%, emphasizing the importance of frequency alignment.
Waves are rendered as concentric, radially oscillating rings around Earth using the mathematical formula:
r(θ) = r₀ + A · sin(n·θ + φ)
Where `r₀` is the base radius, `A` is amplitude, `n` is frequency, and `φ` is phase shift.
Controls
| Input | Action |
| W/S | Increase/decrease wave amplitude |
| A/D | Increase/decrease wave frequency |
| SPACE | Reset all parameters to initial values |
Controls support both instant key presses and continuous input for fine-tuning.
Devlogs
- https://bstz.it/p/devlog-%231-gravsync/
- https://bstz.it/p/devlog-adding-dynamic-waves-and-animated-sprites-to-grav-sync/
- https://bstz.it/p/adding-interactive-cockpit-controls-to-grav-sync/
GitHub repository: https://github.com/basteez/grav-sync
| Updated | 3 hours ago |
| Published | 7 days ago |
| Status | In development |
| Platforms | HTML5 |
| Author | Tiziano |
| Genre | Puzzle |
| Made with | p5.js |
| Tags | Sci-fi |
| Average session | A few seconds |
| Languages | English |
| Inputs | Keyboard |
Leave a comment
Log in with itch.io to leave a comment.