An interactive pixelated target that explodes when touched or when a loud noise is detected.
- Pixelated circular target with alternating red and white rings
- Fullscreen mode - expands target to fit the screen's smallest dimension
- Touch interaction - tap/click the target to trigger explosion
- Audio detection - loud noises trigger the explosion
- Particle explosion animation - target breaks into pixels that fly apart
- Points display - shows "+50 Points" after explosion
- Make sure you have Node.js installed
- Navigate to the project directory
- Run:
npm start
- The app will automatically open in your browser at http://localhost:3000
- Click/Tap the target to make it explode
- Click the FULLSCREEN button to expand the target to full screen
- Make a loud noise (clap, shout, etc.) to trigger the explosion via microphone
- After explosion, the target will automatically reset after 3 seconds
- You may need to grant microphone permissions for audio detection to work
- Audio detection is initialized on the first click/tap for browser security reasons
- The target automatically scales to fit 60% of your screen's smallest dimension
- In fullscreen mode, the target expands to fit the entire screen
- Audio detection has a 12-second cooldown to prevent continuous triggering
- Click/tap triggers work anytime the target is visible (no cooldown)
- Audio threshold is tuned to detect sharp, loud noises (claps, shouts) while ignoring ambient noise
Works in all modern browsers with support for:
- Canvas API
- Web Audio API
- Fullscreen API