Parameters, animation, stages, and GIF export
Animation lives in Eidolang rather than a separate canvas state. 2D, 3D, staged playback, and GIF export share one timeline, keeping screen playback aligned with exported frames.
Parameter sliders
param r 1 range 0.5 4 step 0.1
circle c O radius rEvery param appears in Params. The figure reevaluates while dragging; release writes the value back to the command. Declare range for a useful complete slider interval.
Continuous animation
animate r duration 2s mode pingpongThe target must be a parameter or a bound object with writable freedom. Options include:
mode loop,pingpong, oronce;speedorduration;over t0 t1for a restricted interval.
Status-bar Play/Pause controls preview. Stop commits current animated values to literals as an undoable edit.
Staged presentations
stage givens duration 1.2s reveal fade
point A -3 0
point B 3 0
segment base A B
stage result duration 1.2s reveal draw
point M = midpoint(A, B)
hide base transition erase duration 0.6s- Objects before the first
stageare persistent background. reveal cut|fade|drawcontrols new objects.clearhides earlier stage objects without deleting dependency values.show/hidesupport cut, fade, draw/erase, and their own duration.
Staged scripts gain previous, play/pause, reset, next, and a full scrubber. Editing opens at the completed final state; Play from there restarts from stage one.
Export GIF
Open Export and select GIF:
- Choose Current view or Fit content; 2D also supports a custom rectangle.
- Decide whether to include the coordinate grid.
- Choose raster scale and frame rate. Defaults come from Settings › Export defaults.
- A staged script exports its stage timeline; ordinary
animateexports one complete motion. - 3D additionally offers camera orbit.
Duration comes from the script timeline. Eidograph caps the total frame count to protect memory and marks a capped export. Lower frame rate, stage/animation duration, or raster scale to reduce size.
Keep animation robust
- Animate a parameter rather than a derived result.
- Keep the construction valid across the full range; arc endpoints, for example, must not coincide.
- Use moderate
samplesfor numeric intersections and surfaces. - Play from start and check Diagnostics before export.
- To keep a final pose, Stop to write current values, then save the project.
