Procedural Motion

December 8, 2025 ยท View on GitHub

gif

The Procedural Motion package is a collection of small Unity scripts for creating motion without pre-authored animation data.

It currently includes:

  • Brownian Motion: Generates smooth random motion using a fractal Brownian motion function.
  • Cyclic Motion: Moves or rotates an object with a sine wave.
  • Linear Motion: Moves or rotates an object along a straight path.
  • Random Jump: Moves or rotates an object randomly in a single-shot fashion.
  • Smooth Follow: Follows a target object using frame-rate independent interpolators.

How to Install

You can install the Procedural Motion package (jp.keijiro.klak.motion) via the "Keijiro" scoped registry using the Unity Package Manager. To add the registry to your project, follow these instructions.