- JavaScript 96%
- CSS 2%
- HTML 2%
Spiral #
A music player that turns your screen into a living canvas.
Spiral is a desktop app that plays your favorite tunes while creating mesmerizing generative art in real-time. Watch as dozens of different procedural algorithms paint ever-changing patterns, spirals, and abstract visuals synchronized to your music.
What is Spiral? #
Spiral transforms your music listening experience into a visual journey. As your tracks play, the app generates beautiful, ever-changing art that reacts to the sound. Every session is unique—no two visualizations are ever the same.
Features #
- Generative Art Visualizer: Enjoy a wide variety of algorithmic visuals that respond to your music.
- Music Player: Play your favorite tracks directly in the app.
- Playlist Persistence: Save your playlist and resume right where you left off next time you open Spiral.
- Keyboard Shortcuts: Instantly switch visuals, control playback, and toggle features with simple keys.
- Waveform Display: See the audio waveform alongside the generative art.
- Minimal UI: Focus on the art and music, with controls that stay out of your way.
Setup & Run #
If you want to run Spiral locally or contribute to its development, follow these steps: Prerequisites: Node.js 18+ and pnpm.
git clone https://github.com/rogerio-romao/spiral.git
cd spiral
pnpm install
pnpm start
How to Use Spiral #
- Open Spiral and load your favorite music tracks.
- Play your music and watch as the screen comes alive with generative visuals.
- Switch visualizations at any time by pressing the Space bar or clicking the visualization area.
- Control playback and features using keyboard shortcuts:
- Space — Switch to a random new visualization
- M — Toggle the music player open/closed
- P — Play/pause music
- ← / → — Previous/next track
- X — Stop playback
- H — Show the help menu with all keyboard shortcuts
- F — Toggle fullscreen mode
- + / - — Increase/decrease auto-change interval
- A — Toggle manual/auto mode
- S — Toggle silent mode (hides algorithm name)
- W — Toggle waveform display
- Save your playlist by clicking Save Playlist in the expanded playlist view. Your tracks and current position will be restored automatically next time you open Spiral.
- Clear your saved playlist at any time to start fresh.
Why Use Spiral? #
- Perfect for background visuals at parties or gatherings
- Relax and unwind with music and art
- Find creative inspiration while working
- Enjoy something beautiful and ever-changing on your screen
No complicated setup, no distractions—just music and art working together.
Spiral is free and open source.