Prism
GuideCookbookExamplesErrorsPlayground

Guide

01Lessons & Slides02Exercises03Scene & State04Objects05Three dimensions06Controls07Timeline08Loops & Logic09Expressions & Math

Guide · 07 of 09

Timeline

A timeline is a sequence of steps the learner plays through in order. Each step can narrate, set state instantly, or animate to new values. Great for walkthroughs and guided reveals.

step#

One beat in the timeline. The learner presses play to advance. Narrate text appears as a caption. Steps accumulate — state set in step 1 stays in step 2. hint adds an optional nudge behind a "Hint" button, for a step that isn't obvious on its own.

step ["narrate text"] { [set: {k: v}], [animate: {k: v}], [dur: <ms>], [ease: <curve>], [hint: "..."] }
proptypedescription
hintstringnudge shown behind a Hint button on this step

Example

-6-4-2246-6-4-2246

here's f(x) = x²

1/3
← PreviousControlsNext →Loops & Logic

On this page

step