teaching machines

Lissajous

Twoville serves two purposes:

  • to create SVG images that can be used as input to laser and vinyl cutters
  • to create animations

To support the second of these, I have been using time blocks to define geometric properties at particular keyframes, and then letting the animation system interpolate between the keyframes. Like this:

Here we pin the center of the circle at two keyframes: as we leave time 0 and as we approach time 200.

Keyframe animation is only one approach to animation, however. Sometimes we want more control than interpolation can give us. For this reason, I have added support for raw time expressions. One can reference t directly in expressions to produce a time-sensitive property:

The circle follows a Lissajous curve, whose constant changing curvature evades description by keyframes.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *