9.3

IV Complete Example Programs🔗ℹ

Start with a result you would like to make. Each chapter shows selected frames, the complete source files, a short explanation of their structure, and a command that renders the example. The programs are read from the repository, not copied into the manual.

The Guide teaches each idea in order. The Cookbook answers short questions. This part shows how those ideas fit together in a whole program.

Choose a program

Example

  

Study it for

A moving circle

  

The smallest complete Scene and a final hold.

Draw and move a function graph

  

A sampled curve, a reveal, and a shared group.

A complete slide lesson

  

Three slides, named beats, and a render project.

Algebra across layouts

  

One derivation carried across two layouts.

A geometry construction lesson

  

A construction, narration timing, and playback.

Semantic matching of named parts

  

Named children that rearrange across a transition.

A 3D lesson in three files

  

A 3D lesson split into three related files.

A source-block program

  

A longer Scene divided into editable blocks.

Running the examples

Run the shell commands from the Animate checkout root, with Animate installed in the Racket installation you use. The commands use racket and raco from your PATH; a full path to either executable works too. MP4 commands need FFmpeg. Each chapter names any additional requirements.

Most source files only export a description. Running such a file by itself does not show a window or write a movie. Use the command printed in its chapter. Choose a fresh output location rather than mixing a new render with old files.

The illustrations are stored samples of Scenes and storyboards. Captions retain their original times. Gallery-supplied captures are identified as such; they illustrate the same example without claiming to be newly encoded MP4 frames. Changing a source file does not automatically regenerate its stored pictures.

    43 A moving circle

      43.1 Complete source

      43.2 How the program is organized

      43.3 Render the movie

      43.4 Try one change

    44 Draw and move a function graph

      44.1 Complete source

      44.2 How the program is organized

      44.3 Render either animation

      44.4 Try one change

    45 A complete slide lesson

      45.1 Complete lesson source

      45.2 How the program is organized

      45.3 Render the lesson

      45.4 Keep render settings in a project file

      45.5 Try one change

    46 Algebra across layouts

      46.1 Complete source

      46.2 How the program is organized

      46.3 Render the movie

      46.4 Try one change

    47 A geometry construction lesson

      47.1 Complete source

      47.2 How the program is organized

      47.3 Render the movie

      47.4 Try one change

    48 Semantic matching of named parts

      48.1 Complete source

      48.2 How the program is organized

      48.3 Render the movie

      48.4 Try one change

    49 A 3D lesson in three files

      49.1 First file: the object and view

      49.2 Second file: motion and timing

      49.3 Third file: labels and the slide version

      49.4 Render a version

      49.5 Try one change

    50 A source-block program

      50.1 Complete source

      50.2 How the program is organized

      50.3 Render the compiled Scene

      50.4 Open the maintained interactive variant

      50.5 Try one change

    51 More example programs

      51.1 Animation and composition

      51.2 Plots, relations, and trajectories

      51.3 Formula animation

      51.4 Authoring, text, and media

      51.5 3D examples