/ interactive_tutorials / duffing_islands
Sign in
interactive_tutorials / duffing_islands
duffing_islands / app / js / presets.js
43 lines · 1.9 KBBlameHistoryRaw
1// Presets, in the tutorial's units: freq = f0 in Hz (negative: a double
2// well), alpha in s^-2, delta in s^-1, F in s^-2, drive = Omega / 2 pi in Hz,
3// and view, the half-width of the plot in x. Chosen from Poincaré sections
4// rendered with scripts/section-png.mjs. All undamped but the last: with
5// damping there are no islands, only attractors.
7export const PRESETS = [
8 {
9 // wells at x = +/-0.31; big islands around each, island chains, and a
10 // sea of chaos between them
11 name: 'Double well: islands in a sea of chaos',
12 params: { freq: -220, alpha: 2e7, delta: 0, F: 5.6e4, drive: 490, view: 0.5 },
13 },
14 {
15 // driven gently: regular motion almost everywhere, with a thin layer
16 // of chaos along the separatrix between the wells
17 name: 'Double well: gentle drive, thin chaotic layer',
18 params: { freq: -220, alpha: 2e7, delta: 0, F: 0.5e4, drive: 400, view: 0.5 },
19 },
20 {
21 // driven hard: chaos almost everywhere, a few small islands left
22 name: 'Double well: strong drive, mostly chaos',
23 params: { freq: -220, alpha: 2e7, delta: 0, F: 15e4, drive: 490, view: 0.6 },
24 },
25 {
26 // no linear stiffness: one large island in a wide chaotic sea, ringed
27 // by regular motion at larger swings
28 name: 'Pure cubic (f₀ = 0): one island, wide sea',
29 params: { freq: 0, alpha: 2e7, delta: 0, F: 5e4, drive: 150, view: 0.5 },
30 },
31 {
32 // the drive above f0 bends the hardening resonance into a crescent
33 // island beside the central one; nearly all regular
34 name: 'Hardening spring: resonance island',
35 params: { freq: 220, alpha: 3e7, delta: 0, F: 8e4, drive: 300, view: 0.5 },
36 },
37 {
38 // damped: every start settles onto a chaotic attractor, hopping between
39 // the wells (a preset of the tutorial)
40 name: 'Damped double well: strange attractor',
41 params: { freq: -220, alpha: 2e7, delta: 10, F: 12.5e4, drive: 295, view: 0.7 },
42 },
43];
↑↓ move↵openescclose