LESSON 21.21 · 5 STAGES · 2 CONTROLS · 2 CHECKSPRO · PREVIEW
Differentiable simulators
Push a puck, then send the gradient back through every simulator step.
Pro lesson. Stage 1 is free to watch. Pro opens all 5 stages, 2 controls and 2 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 21.21 · PUCK SIMU 3.50 M/S · B ENDS AT 3.42 M
01
Stage 1 of 5 · Roll out
The simulator moves A and B in 30 steps of 0.1 s. A hits B in step 4, then B slides on.
Explain it simply
Think of two pucks on ice. Each step of the simulator moves both pucks a tenth of a second forward. Drag slows them a little in each step. When A hits B, the two pucks swap speeds, so A stops and B slides on.
Positions over 30 steps. A starts at 0 m with 3.5 m/s. B starts at 1.5 m and ends at 3.42 m.
puck positionsstart speed uloss, gradientgoalzero-gradient cellshard-simulator check
Toy: 2 pucks on ice, 30 steps of 0.1 s
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
Each step maps the state of both pucks to the next state.
PRO LESSON · YOU WATCHED STAGE 1 OF 5
Unlock the full explainer
- 4 more stages and 2 live controls
- 2 mix-up cards and 2 predict-then-reveal checks
- Watch it as a narrated video, in three voices
- Every Pro lesson and capstone · 656 in total
$99 a year, or $15 a month. Cancel any time.