/ interactive_tutorials / duffing_islands
Sign in
interactive_tutorials / duffing_islands
duffing_islands / README.md
4.5 KBPreviewCodeBlameHistoryRaw

Islands in a sea of chaos#

A minimal lab for the driven Duffing oscillator's phase space, a companion to the hardening and softening tutorial (same equation and units):

ẍ + δẋ ± (2πf₀)² x + αx³ = F cos Ωt

npm run dev     # serves app/ at http://127.0.0.1:8002
npm run check   # node --check on every module
node scripts/section-png.mjs out.png -220 2e7 0 5.6e4 490 1500 0.5   # render a section (for choosing presets)

Static index.html, style.css and ES modules, no build step; fonts bundled under app/vendor/.

What's in it#

Physics and sound#

↑↓ move↵openescclose