R/MRatCalcpowered by RiX

RiX walkthrough 18 n

Prepare an animated GIF

Turn a deterministic mathematical timeline into host-rasterized GIF frames.

Build the portable timeline

Animation state remains ordinary RiX data. This two-frame derivation changes the highlighted side of the equation without storing browser or encoder state.

Runnable RiX

Use .gif.Render(timeline) in a capable host or .Out("derivation.gif", timeline) with the CLI. The browser can inspect and preview the timeline but cannot spawn the PNG rasterizer or GIF encoder.

  • Inputs: Slides, Timeline, or Snapshots with Graphic frames.
  • Options: duration, delays, loop, width, height, scale, and

background.

  • CLI tools: rsvg-convert or ImageMagick for PNG, then ImageMagick for GIF.

Keep useful output without an encoder

The same timeline can become a portable HTML contact sheet. Its assets include one SVG per retained frame plus exact state, caption/semantic tracks, timing, and coordinate/Scene3D evidence in JSON and text sidecars. Exact per-frame frameDurations are supported; GIF timing is recorded separately in integer centiseconds.

Runnable RiX

Write this with .Out("frames.html",sheet). A successful GIF export writes the same retained SVG/JSON/text assets and a contact sheet next to the animation. Encoder-generated transitions remain display interpolation rather than extra certified states.