"The Calculus of Change" Presentation
“The Calculus of Change” is a 10-slide presentation built entirely with raw JSON DSL. It demonstrates how to create a full educational deck — complete with animated titles, function plots, vector fields, matrix displays, and LaTeX equations — without writing any React code.
Preview: Title Slide
Section titled “Preview: Title Slide”Slides
Section titled “Slides”- The Calculus of Change — Title slide with animated text and decorative elements
- Functions: The Building Blocks — Plotting
sin(x)on labeled axes - The Derivative: Instantaneous Rate of Change — Function with tangent line visualization
- Trigonometric Functions — Sine and cosine curves
- Vectors: Direction and Magnitude — 2D vector arrows with labels
- Vector Fields: Flow and Force — Grid of computed vector arrows
- Matrices: Linear Transformations — Bracketed matrix display
- Graph Theory: Networks — Node-and-edge graph with colored connections
- Euler’s Identity: The Most Beautiful Equation — LaTeX rendering of
e^{iπ} + 1 = 0 - Thank You — Closing slide with palette-colored dots
Structure
Section titled “Structure”Each slide wraps its animated content inside a player node with autoPlay: true and loop: false, so animations play once when you navigate to the slide. The presentation uses fade transitions with a frame-based duration.
First Slide JSON
Section titled “First Slide JSON”Here’s the structure of the title slide — a representative example of how DSL slides are composed:
{ "type": "slide", "title": "The Calculus of Change", "notes": "Title slide -- set the stage for a journey through calculus concepts.", "background": "#0a0a1e", "children": [ { "type": "player", "width": 900, "height": 650, "fps": 30, "durationInFrames": 150, "background": "#0a0a1e", "controls": false, "autoPlay": true, "loop": false, "children": [ { "type": "fadeIn", "duration": 40, "easing": "easeOutCubic", "children": [ { "type": "text", "x": 450, "y": 220, "content": "The Calculus of Change", "fill": "#e0e7ff", "fontSize": 46, "fontWeight": 700, "textAnchor": "middle" } ] } ] } ]}Each subsequent child in the player adds more animated elements — sequences offset by from frames, LaTeX expressions, decorative shapes, and more.
Source
Section titled “Source”The full JSON file is available at packages/dsl/examples/calculus-explained.json.