Home Programs About Resources

Harmonic Motion_02

In this second example of harmonic motion, we show how the same function can be used in a variety of simple ways to modify position and size. Complex movement can be achieved in combining sin functions.

Properties

  • Position & size
  • Interactions

  • '+' & '-' changes mode [6 modes]
  • MouseX changes frequency
  • MouseY changes amplitude
  • 'b' activates blur mode
  • 'l' & 'm' changes grid interval
  • Source Code

    DPMOsc_002_p5js
    DPMOsc_002_processing
    DPM-osc-002_openrndr

    Examples

    img2

    img2

    img2