Optional intensityOptional speedHow fast the shake evolves per second. Default 8.
Optional mode"random" = jump between random offsets (mechanical jitter) "sine" = smooth wobble on both axes (loose panel / handheld feel) "perlin" = smooth organic non-repeating drift (gentle handheld camera) "circular" = offset traces a circle, the whole frame orbits "horizontal" = shake locked to the X axis only "vertical" = shake locked to the Y axis only "decay" = one-shot impact: strong at the trigger, settles to still. Re-fire it with triggerShake(). Default "random".
Optional decayFor "decay" mode only: how long (seconds) one impact takes to settle. Default 0.6.
Max pixel displacement in either axis. Default 4.