../ modulation

The function visualiser can be helpful when playing with modulation.

envelope

  • set: Use an envelope to reach a target value
  • osc: Cross-modulate an envelope and oscillator
  • starter: Empty sketch to get you going
  • Playground: envelope-decay: Using an envelope to gradually reduce a value

easing

  • tick: Easing over ticks
  • timer: Easing over time
  • set: Use an easing function to reach a target value

oscillators

forces

  • basic: Gravity, drag, wind, friction
    Canvas, particles
  • pendulum: Swinging thing
    Canvas
  • attractor: Attraction/orbiting
    Canvas, shapes, particles
  • target: Use forces to move to a target position
    DOM, velocity, acceleration, pointer
  • acceleration: Pointer movement applied as acceleration
    DOM, velocity, acceleration, pointer
  • acceleration (particles): Extension of acceleration sketch but supporting many particles.
    DOM, velocity, acceleration, particles, pointer

etc

  • per-second: Modulating things based on clock-time