A crazy, random, retro-futuristic sound and visual board built with HTML5, Vanilla CSS, and Web Audio API. It features interactive particles, real-time audio synthesis, sequencers, device vibration triggers, and screen-shake effects.
Since this is a static website (pure HTML, CSS, and JS), you can host it for free on GitHub Pages. Here is the step-by-step guide:
- Go to github.com and log in (or create a free account).
- Click the "+" icon in the top-right corner and select "New repository".
- Name your repository (e.g.,
chaos-synth). - Keep it Public (required for free GitHub Pages).
- Leave "Add a README file" unchecked, and click "Create repository".
On the repository setup page:
- Click the link that says "uploading an existing file" (near the top).
- Drag and drop these three files from your computer:
index.htmlstyle.cssapp.js
- Wait for the upload to complete.
- Scroll down and click the green "Commit changes" button.
- In your GitHub repository, click on the "Settings" tab (cog icon at the top menu).
- In the left sidebar, click on "Pages" (under the "Code and automation" section).
- Under "Build and deployment" -> "Branch":
- Change the dropdown from "None" to "main" (or
master). - Leave the folder dropdown as "/ (root)".
- Click the "Save" button.
- Change the dropdown from "None" to "main" (or
- Wait 1 to 2 minutes, then refresh the page.
- You will see a live URL at the top of the section (e.g.,
https://yourusername.github.io/chaos-synth/). - Click the link and try it out on your phone or desktop!
You can run this project locally on your machine using a simple development server.
Open your terminal inside the project folder and run:
python3 -m http.server 8000Then visit http://localhost:8000 in your web browser.
If you have Node.js installed, run:
npx http-serverThen open the address shown in the terminal.
- Interactive Canvas Visualizer:
- Neural Particles Mode: Dynamic physics-based particles that attract/repel and connect with glowing mesh lines.
- Audio Waveform Mode: Draws the live frequency wave generated by the synthesizers.
- Quantum Bursts: Spawns glowing particle trails when drums or synths are triggered.
- Web Audio Engine:
- No external audio files to download. Everything is synthesized in real-time.
- Controls to adjust synth waveform types (Sine, Triangle, Sawtooth, Square).
- FX Soundboard: Custom effects including laser sweeps, low sub drops, cyber zaps, white noise bursts, warp scales, and echoing alien synths.
- Generative sequencer: Drum loops and bass melodies with an adjustable BPM slider.
- Ambient drone: Low-frequency detuned oscillator drone for a spooky, futuristic background.
- Physical Device Feedback:
- Integration with the HTML5 Vibration API (
navigator.vibrate) for pulsing tactile feedback on mobile devices. - Simulated Screen Shake for desktop displays so you can feel the chaos visually.
- Integration with the HTML5 Vibration API (
- The "CHAOS" Overload button:
- Accelerates the sound sequencer, spawns rapid random synth tones, forces continuous high-intensity vibrations, flashes neon background colors, and multiplies screen-shake levels.