{
  "kind": "jing-field-studio",
  "version": 1,
  "appVersion": "0.4.2",
  "field": {
    "id": "nautilus-script",
    "name": "Nautilus Script",
    "description": "Sweeping shell chambers wind into a scalloped spiral and slowly trade particles between their ribs.",
    "category": "Living",
    "code": "vec2 get_velocity(vec2 p) {\n  float r=sqrt(dot(p,p)+0.12);\n  float angle=dot(p,p)>0.000001?atan(p.y,p.x):0.0;\n  float ribs=clamp(floor(abs(paramA)+0.5),1.0,32.0);\n  float shell=ribs*(angle-0.45*paramB*log(1.0+r))+0.45*motion*sin(phase);\n  vec2 radial=p/r;\n  vec2 tangent=vec2(-radial.y,radial.x);\n  float scallop=paramC*sin(shell)*smoothstep(0.3,1.3,r)/(1.0+0.08*r*r);\n  return tangent*paramD*(1.0+0.35*cos(shell))+radial*(scallop+0.055);\n}",
    "params": [
      {
        "label": "Chambers",
        "min": 3,
        "max": 12,
        "step": 1,
        "value": 7,
        "uniform": "paramA"
      },
      {
        "label": "Spiral pitch",
        "min": 0.5,
        "max": 6,
        "step": 0.05,
        "value": 3.2,
        "uniform": "paramB"
      },
      {
        "label": "Scallop depth",
        "min": 0,
        "max": 1.3,
        "step": 0.025,
        "value": 0.65,
        "uniform": "paramC"
      },
      {
        "label": "Circulation",
        "min": 0.4,
        "max": 2.2,
        "step": 0.025,
        "value": 1.2,
        "uniform": "paramD"
      },
      {
        "label": "Radius",
        "min": 0,
        "max": 0.24,
        "step": 0.001,
        "value": 0.12,
        "type": "float",
        "auto": true,
        "binding": "literal:get_velocity:2npbs3:1:0:float:0.12",
        "sourceValue": 0.12,
        "uniform": "param4",
        "note": "Automatic value in Radius, line 2."
      },
      {
        "label": "Shell coefficient",
        "min": 0,
        "max": 0.9,
        "step": 0.001,
        "value": 0.45,
        "type": "float",
        "auto": true,
        "binding": "literal:get_velocity:1a4nd34:1:0:float:0.45",
        "sourceValue": 0.45,
        "uniform": "param5",
        "note": "Automatic value in Shell, line 5."
      },
      {
        "label": "Shell coefficient 2",
        "min": 0,
        "max": 2,
        "step": 0.01,
        "value": 1,
        "type": "float",
        "auto": true,
        "binding": "literal:get_velocity:1a4nd34:1:1:float:1",
        "sourceValue": 1,
        "uniform": "param6",
        "note": "Automatic value in Shell, line 5."
      },
      {
        "label": "Shell coefficient 3",
        "min": 0,
        "max": 0.9,
        "step": 0.001,
        "value": 0.45,
        "type": "float",
        "auto": true,
        "binding": "literal:get_velocity:1a4nd34:1:2:float:0.45",
        "sourceValue": 0.45,
        "uniform": "param7",
        "note": "Automatic value in Shell, line 5."
      },
      {
        "label": "Scallop coefficient",
        "min": 0,
        "max": 0.6,
        "step": 0.001,
        "value": 0.3,
        "type": "float",
        "auto": true,
        "binding": "literal:get_velocity:1ednvwv:1:0:float:0.3",
        "sourceValue": 0.3,
        "uniform": "param8",
        "note": "Automatic value in Scallop, line 8."
      },
      {
        "label": "Scallop coefficient 2",
        "min": 0,
        "max": 2.6,
        "step": 0.01,
        "value": 1.3,
        "type": "float",
        "auto": true,
        "binding": "literal:get_velocity:1ednvwv:1:1:float:1.3",
        "sourceValue": 1.3,
        "uniform": "param9",
        "note": "Automatic value in Scallop, line 8."
      },
      {
        "label": "Scallop coefficient 3",
        "min": 0,
        "max": 2,
        "step": 0.01,
        "value": 1,
        "type": "float",
        "auto": true,
        "binding": "literal:get_velocity:1ednvwv:1:2:float:1",
        "sourceValue": 1,
        "uniform": "param10",
        "note": "Automatic value in Scallop, line 8."
      },
      {
        "label": "Scallop coefficient 4",
        "min": 0,
        "max": 0.16,
        "step": 0.0001,
        "value": 0.08,
        "type": "float",
        "auto": true,
        "binding": "literal:get_velocity:1ednvwv:1:3:float:0.08",
        "sourceValue": 0.08,
        "uniform": "param11",
        "note": "Automatic value in Scallop, line 8."
      },
      {
        "label": "Output coefficient",
        "min": 0,
        "max": 2,
        "step": 0.01,
        "value": 1,
        "type": "float",
        "auto": true,
        "binding": "literal:get_velocity:1034xje:1:0:float:1",
        "sourceValue": 1,
        "uniform": "param12",
        "note": "Automatic value in Output, line 9."
      },
      {
        "label": "Output coefficient 2",
        "min": 0,
        "max": 0.7,
        "step": 0.001,
        "value": 0.35,
        "type": "float",
        "auto": true,
        "binding": "literal:get_velocity:1034xje:1:1:float:0.35",
        "sourceValue": 0.35,
        "uniform": "param13",
        "note": "Automatic value in Output, line 9."
      },
      {
        "label": "Output coefficient 3",
        "min": 0,
        "max": 0.11,
        "step": 0.0001,
        "value": 0.055,
        "type": "float",
        "auto": true,
        "binding": "literal:get_velocity:1034xje:1:2:float:0.055",
        "sourceValue": 0.055,
        "uniform": "param14",
        "note": "Automatic value in Output, line 9."
      }
    ],
    "parameterization": {
      "version": 1
    }
  },
  "settings": {
    "speed": 1.3,
    "lifetime": 13,
    "trail": 0.96,
    "pointSize": 1.05,
    "exposure": 0.78,
    "motion": 0.297250859106529,
    "period": 48.1099656357388,
    "particleCount": 36000,
    "palette": "ice",
    "colorMode": "direction",
    "rotation": 0,
    "params": [
      7,
      3.42680412371134,
      0.65,
      1.28041237113402,
      0.124948453608247,
      0.428350515463918,
      1.03436426116839,
      0.431443298969072,
      0.275257731958763,
      0.978350515463918,
      0.896907216494845,
      0.08,
      1.07560137457045,
      0.323539518900344,
      0.055
    ]
  },
  "view": {
    "cx": 0,
    "cy": 0,
    "span": 10
  },
  "viewRange": {
    "min": 0.25,
    "max": 50
  },
  "seed": 271828,
  "cursor": {
    "clickX": 0,
    "clickY": 0,
    "hoverX": -1.0395408163265305,
    "hoverY": 2.777423469387755
  },
  "sliderRanges": {
    "mod-speed": {
      "min": 0.1,
      "max": 8
    },
    "mod-depth": {
      "min": 0,
      "max": 100
    },
    "mod-bpm": {
      "min": 20,
      "max": 300
    },
    "speed": {
      "min": -4,
      "max": 4
    },
    "motion": {
      "min": 0,
      "max": 1
    },
    "period": {
      "min": 2,
      "max": 120
    },
    "trail": {
      "min": 0,
      "max": 1
    },
    "lifetime": {
      "min": 1,
      "max": 30
    },
    "exposure": {
      "min": 0.2,
      "max": 2
    },
    "pointSize": {
      "min": 1,
      "max": 4
    },
    "particleCount": {
      "min": 1000,
      "max": 250000
    },
    "rotation": {
      "min": -180,
      "max": 180
    }
  },
  "modulationRanges": {},
  "resolution": "auto",
  "modulation": {
    "version": 1,
    "lanes": {
      "param-0": {
        "enabled": true,
        "waveform": "sine",
        "amount": 1,
        "offset": 0,
        "rateHz": 0.02730754584757477,
        "phaseDeg": 0,
        "smoothingMs": 0,
        "invert": false,
        "sync": false,
        "division": 4,
        "loopCycles": 0,
        "loopSmoothing": false
      },
      "param-1": {
        "enabled": true,
        "waveform": "sine",
        "amount": 1,
        "offset": 0,
        "rateHz": 0.01324076877311472,
        "phaseDeg": 0,
        "smoothingMs": 0,
        "invert": false,
        "sync": false,
        "division": 4,
        "loopCycles": 0,
        "loopSmoothing": false
      },
      "param-2": {
        "enabled": true,
        "waveform": "sine",
        "amount": 1,
        "offset": 0,
        "rateHz": 0.03535552877686957,
        "phaseDeg": 0,
        "smoothingMs": 0,
        "invert": false,
        "sync": false,
        "division": 4,
        "loopCycles": 0,
        "loopSmoothing": false
      },
      "param-3": {
        "enabled": true,
        "waveform": "sine",
        "amount": 1,
        "offset": 0,
        "rateHz": 0.025991454743922168,
        "phaseDeg": 0,
        "smoothingMs": 0,
        "invert": false,
        "sync": false,
        "division": 4,
        "loopCycles": 0,
        "loopSmoothing": false
      },
      "param-4": {
        "enabled": true,
        "waveform": "sine",
        "amount": 1,
        "offset": 0,
        "rateHz": 0.019346342421249836,
        "phaseDeg": 0,
        "smoothingMs": 0,
        "invert": false,
        "sync": false,
        "division": 4,
        "loopCycles": 0,
        "loopSmoothing": false
      },
      "param-5": {
        "enabled": true,
        "waveform": "sine",
        "amount": 1,
        "offset": 0,
        "rateHz": 0.008835621697018365,
        "phaseDeg": 0,
        "smoothingMs": 0,
        "invert": false,
        "sync": false,
        "division": 4,
        "loopCycles": 0,
        "loopSmoothing": false
      },
      "param-6": {
        "enabled": true,
        "waveform": "sine",
        "amount": 1,
        "offset": 0,
        "rateHz": 0.012715248164750753,
        "phaseDeg": 0,
        "smoothingMs": 0,
        "invert": false,
        "sync": false,
        "division": 4,
        "loopCycles": 0,
        "loopSmoothing": false
      },
      "param-7": {
        "enabled": true,
        "waveform": "sine",
        "amount": 1,
        "offset": 0,
        "rateHz": 0.020261711933034866,
        "phaseDeg": 0,
        "smoothingMs": 0,
        "invert": false,
        "sync": false,
        "division": 4,
        "loopCycles": 0,
        "loopSmoothing": false
      },
      "param-8": {
        "enabled": true,
        "waveform": "sine",
        "amount": 1,
        "offset": 0,
        "rateHz": 0.0471407050358261,
        "phaseDeg": 0,
        "smoothingMs": 0,
        "invert": false,
        "sync": false,
        "division": 4,
        "loopCycles": 0,
        "loopSmoothing": false
      },
      "param-9": {
        "enabled": true,
        "waveform": "sine",
        "amount": 1,
        "offset": 0,
        "rateHz": 0.04338874803947599,
        "phaseDeg": 0,
        "smoothingMs": 0,
        "invert": false,
        "sync": false,
        "division": 4,
        "loopCycles": 0,
        "loopSmoothing": false
      },
      "param-10": {
        "enabled": true,
        "waveform": "sine",
        "amount": 1,
        "offset": 0,
        "rateHz": 0.033716212334667546,
        "phaseDeg": 0,
        "smoothingMs": 0,
        "invert": false,
        "sync": false,
        "division": 4,
        "loopCycles": 0,
        "loopSmoothing": false
      },
      "param-11": {
        "enabled": true,
        "waveform": "sine",
        "amount": 1,
        "offset": 0,
        "rateHz": 0.054252307736449845,
        "phaseDeg": 0,
        "smoothingMs": 0,
        "invert": false,
        "sync": false,
        "division": 4,
        "loopCycles": 0,
        "loopSmoothing": false
      },
      "param-12": {
        "enabled": true,
        "waveform": "sine",
        "amount": 1,
        "offset": 0,
        "rateHz": 0.02828442302149566,
        "phaseDeg": 0,
        "smoothingMs": 0,
        "invert": false,
        "sync": false,
        "division": 4,
        "loopCycles": 0,
        "loopSmoothing": false
      },
      "param-13": {
        "enabled": true,
        "waveform": "sine",
        "amount": 1,
        "offset": 0,
        "rateHz": 0.013871179816091733,
        "phaseDeg": 0,
        "smoothingMs": 0,
        "invert": false,
        "sync": false,
        "division": 4,
        "loopCycles": 0,
        "loopSmoothing": false
      },
      "param-14": {
        "enabled": true,
        "waveform": "sine",
        "amount": 1,
        "offset": 0,
        "rateHz": 0.011292197075628362,
        "phaseDeg": 0,
        "smoothingMs": 0,
        "invert": false,
        "sync": false,
        "division": 4,
        "loopCycles": 0,
        "loopSmoothing": false
      },
      "speed": {
        "enabled": false,
        "waveform": "sine",
        "amount": 0.3,
        "offset": 0,
        "rateHz": 0.038461538461538464,
        "phaseDeg": 0,
        "smoothingMs": 0,
        "invert": false,
        "sync": false,
        "division": 4,
        "loopCycles": 0,
        "loopSmoothing": false
      },
      "motion": {
        "enabled": false,
        "waveform": "sine",
        "amount": 0.3,
        "offset": 0,
        "rateHz": 0.08333333333333333,
        "phaseDeg": 0,
        "smoothingMs": 0,
        "invert": false,
        "sync": false,
        "division": 4,
        "loopCycles": 0,
        "loopSmoothing": false
      },
      "period": {
        "enabled": false,
        "waveform": "sine",
        "amount": 0.3,
        "offset": 0,
        "rateHz": 0.07142857142857142,
        "phaseDeg": 0,
        "smoothingMs": 0,
        "invert": false,
        "sync": false,
        "division": 4,
        "loopCycles": 0,
        "loopSmoothing": false
      },
      "trail": {
        "enabled": false,
        "waveform": "sine",
        "amount": 0.3,
        "offset": 0,
        "rateHz": 0.0625,
        "phaseDeg": 0,
        "smoothingMs": 0,
        "invert": false,
        "sync": false,
        "division": 4,
        "loopCycles": 0,
        "loopSmoothing": false
      },
      "lifetime": {
        "enabled": false,
        "waveform": "sine",
        "amount": 0.3,
        "offset": 0,
        "rateHz": 0.05555555555555555,
        "phaseDeg": 0,
        "smoothingMs": 0,
        "invert": false,
        "sync": false,
        "division": 4,
        "loopCycles": 0,
        "loopSmoothing": false
      },
      "exposure": {
        "enabled": false,
        "waveform": "sine",
        "amount": 0.3,
        "offset": 0,
        "rateHz": 0.05,
        "phaseDeg": 0,
        "smoothingMs": 0,
        "invert": false,
        "sync": false,
        "division": 4,
        "loopCycles": 0,
        "loopSmoothing": false
      },
      "pointSize": {
        "enabled": false,
        "waveform": "sine",
        "amount": 0.3,
        "offset": 0,
        "rateHz": 0.045454545454545456,
        "phaseDeg": 0,
        "smoothingMs": 0,
        "invert": false,
        "sync": false,
        "division": 4,
        "loopCycles": 0,
        "loopSmoothing": false
      },
      "rotation": {
        "enabled": false,
        "waveform": "sine",
        "amount": 0.3,
        "offset": 0,
        "rateHz": 0.041666666666666664,
        "phaseDeg": 0,
        "smoothingMs": 0,
        "invert": false,
        "sync": false,
        "division": 4,
        "loopCycles": 0,
        "loopSmoothing": false
      },
      "view-span": {
        "enabled": false,
        "waveform": "sine",
        "amount": 0.3,
        "offset": 0,
        "rateHz": 0.038461538461538464,
        "phaseDeg": 0,
        "smoothingMs": 0,
        "invert": false,
        "sync": false,
        "division": 4,
        "loopCycles": 0,
        "loopSmoothing": false
      }
    },
    "globals": {
      "masterDepth": 1,
      "speed": 1,
      "bpm": 120
    },
    "transport": {
      "status": "running",
      "elapsed": 282.9333333334047,
      "seed": 271828,
      "phases": {
        "param-0": {
          "phase": 0.8451557627530177,
          "cycle": 4,
          "smoothWave": -0.8265300749941654,
          "sampled": true
        },
        "param-1": {
          "phase": 0.4051270657593332,
          "cycle": 3,
          "smoothWave": 0.5614228760877557,
          "sampled": true
        },
        "param-2": {
          "phase": 0.1694947457771513,
          "cycle": 7,
          "smoothWave": 0.8747728887926588,
          "sampled": true
        },
        "param-3": {
          "phase": 0.8882787574724301,
          "cycle": 6,
          "smoothWave": -0.6457195632550672,
          "sampled": true
        },
        "param-4": {
          "phase": 0.9703688924720656,
          "cycle": 5,
          "smoothWave": -0.1851040484911481,
          "sampled": true
        },
        "param-5": {
          "phase": 0.573553762655394,
          "cycle": 3,
          "smoothWave": -0.44587531157948335,
          "sampled": true
        },
        "param-6": {
          "phase": 0.025076419204610765,
          "cycle": 5,
          "smoothWave": 0.15690869149521353,
          "sampled": true
        },
        "param-7": {
          "phase": 0.6622431357421924,
          "cycle": 7,
          "smoothWave": -0.851795780382721,
          "sampled": true
        },
        "param-8": {
          "phase": 0.41151172834169514,
          "cycle": 18,
          "smoothWave": 0.5277829214761205,
          "sampled": true
        },
        "param-9": {
          "phase": 0.06305320319536374,
          "cycle": 17,
          "smoothWave": 0.38589240687861054,
          "sampled": true
        },
        "param-10": {
          "phase": 0.6122017030578344,
          "cycle": 3,
          "smoothWave": -0.6480217138082658,
          "sampled": true
        },
        "param-11": {
          "phase": 0.11977974140742666,
          "cycle": 5,
          "smoothWave": 0.6835376124008635,
          "sampled": true
        },
        "param-12": {
          "phase": 0.3638297017753881,
          "cycle": 2,
          "smoothWave": 0.7549535056247326,
          "sampled": true
        },
        "param-13": {
          "phase": 0.2325068917172217,
          "cycle": 1,
          "smoothWave": 0.9939657062314696,
          "sampled": true
        },
        "param-14": {
          "phase": 0.5015288290166934,
          "cycle": 0,
          "smoothWave": -0.009605768286781266,
          "sampled": true
        },
        "speed": {
          "phase": 0,
          "cycle": 0,
          "smoothWave": 0,
          "sampled": false
        },
        "motion": {
          "phase": 0,
          "cycle": 0,
          "smoothWave": 0,
          "sampled": false
        },
        "period": {
          "phase": 0,
          "cycle": 0,
          "smoothWave": 0,
          "sampled": false
        },
        "trail": {
          "phase": 0,
          "cycle": 0,
          "smoothWave": 0,
          "sampled": false
        },
        "lifetime": {
          "phase": 0,
          "cycle": 0,
          "smoothWave": 0,
          "sampled": false
        },
        "exposure": {
          "phase": 0,
          "cycle": 0,
          "smoothWave": 0,
          "sampled": false
        },
        "pointSize": {
          "phase": 0,
          "cycle": 0,
          "smoothWave": 0,
          "sampled": false
        },
        "rotation": {
          "phase": 0,
          "cycle": 0,
          "smoothWave": 0,
          "sampled": false
        },
        "view-span": {
          "phase": 0,
          "cycle": 0,
          "smoothWave": 0,
          "sampled": false
        }
      }
    }
  },
  "savedAt": "2026-11-17T18:14:22.061Z"
}