// Presets, in the tutorial's units: freq = f0 in Hz (negative: a double // well), alpha in s^-2, delta in s^-1, F in s^-2, drive = Omega / 2 pi in Hz, // and view, the half-width of the plot in x. Chosen from Poincaré sections // rendered with scripts/section-png.mjs. All undamped but the last: with // damping there are no islands, only attractors. export const PRESETS = [ { // wells at x = +/-0.31; big islands around each, island chains, and a // sea of chaos between them name: 'Double well: islands in a sea of chaos', params: { freq: -220, alpha: 2e7, delta: 0, F: 5.6e4, drive: 490, view: 0.5 }, }, { // driven gently: regular motion almost everywhere, with a thin layer // of chaos along the separatrix between the wells name: 'Double well: gentle drive, thin chaotic layer', params: { freq: -220, alpha: 2e7, delta: 0, F: 0.5e4, drive: 400, view: 0.5 }, }, { // driven hard: chaos almost everywhere, a few small islands left name: 'Double well: strong drive, mostly chaos', params: { freq: -220, alpha: 2e7, delta: 0, F: 15e4, drive: 490, view: 0.6 }, }, { // no linear stiffness: one large island in a wide chaotic sea, ringed // by regular motion at larger swings name: 'Pure cubic (f₀ = 0): one island, wide sea', params: { freq: 0, alpha: 2e7, delta: 0, F: 5e4, drive: 150, view: 0.5 }, }, { // the drive above f0 bends the hardening resonance into a crescent // island beside the central one; nearly all regular name: 'Hardening spring: resonance island', params: { freq: 220, alpha: 3e7, delta: 0, F: 8e4, drive: 300, view: 0.5 }, }, { // damped: every start settles onto a chaotic attractor, hopping between // the wells (a preset of the tutorial) name: 'Damped double well: strange attractor', params: { freq: -220, alpha: 2e7, delta: 10, F: 12.5e4, drive: 295, view: 0.7 }, }, ];