Vortex Controls

1.00
1.00
1.00

Minimal Usage

<canvas id="my-canvas" style="width:100%;height:400px;"></canvas>
<script src="src/lib/corrupted-vortex.js"></script>
<script>
  const vortex = new CorruptedVortex(
    document.getElementById('my-canvas'),
    {
      speed:        1.0,   // 0.1–3.0
      intensity:    1.0,   // 0.1–3.0
      rotationRate: 1.0,   // 0.0–5.0
      hue:          null,  // null = quasar; 0.0–1.0 = fixed hue
    }
  );
  // vortex.stop();
  // vortex.start();
  // vortex.destroy();
</script>