Skip to content

Instantly share code, notes, and snippets.

View selalipop's full-sized avatar

Selali selalipop

  • Zoox
  • San Francisco
View GitHub Profile
@selalipop
selalipop / wombat.js
Last active December 16, 2025 11:54
Run in dev console while visiting npmjs.com/login to make the wombat giggle to the beat: click an EQ band to follow it, and adjust thresholds to set sensitivity
(async function bassSelector() {
const bands = [
{ name: 'Sub Bass', freq: 40, range: 20, color: '#ff0055' },
{ name: 'Low Bass', freq: 80, range: 20, color: '#ff5500' },
{ name: 'Mid Bass', freq: 120, range: 20, color: '#ffaa00' },
{ name: 'Upper Bass', freq: 160, range: 20, color: '#aaff00' },
{ name: 'Low Mid', freq: 250, range: 50, color: '#00ff55' },
{ name: 'Mid', freq: 400, range: 100, color: '#00ffaa' },
{ name: 'Upper Mid', freq: 800, range: 200, color: '#00aaff' },
{ name: 'Kick Punch', freq: 100, range: 30, color: '#aa00ff' },