# Physics Sim Diagram

> A deterministic physics diagram film: pick pendulum, projectile, travelling wave or field — each is a closed-form model evaluated at t, painted on Canvas2D with title, readouts and a qualitative disclaimer. Silent 1080p.

- Type: Lab Skill (downloadable Agent Skill)
- Category: [Education](https://www.sandbase.ai/skills/education)
- Version: 1.0.0
- Runs online: yes
- Page: https://www.sandbase.ai/skills/education/physics-sim-diagram

## Install

Download the Skill package from https://www.sandbase.ai/skills/education/physics-sim-diagram (sign-in required), unzip it into your agent's skills folder, then ask your agent to use it:

```text
/physics-sim-diagram create an editable animation from my brief. Preserve the signature timing and motion, use original content and verify the rendered result
```

## How it works

1. **Write the sheet** Write sheet.json with a title of up to 48 characters and one diagram: pendulum with length, angle and g; projectile with launch speed, angle and g; wave with amplitude, wavelength, frequency and cycles; or field with charge, density and arrow length. Set the language, the number of loops from 1 to 6 and optional colours. The film's length is computed from the period.
2. **Build and check stills** node scripts/build.mjs sheet.json --out build assembles the page, and node scripts/stills.mjs --build build --at 0.5,2.0,4.0 writes stills to check. Each diagram is a closed-form formula evaluated at time t, with no integrator, wall clock or randomness, painted on Canvas 2D with live readouts and a ribbon saying it is illustrative, not a numerical simulation.
3. **Render the film** node scripts/render.mjs --build build --out out/film.mp4 renders a silent 1920×1080 H.264 film at 30 fps plus a report with a render_verified flag, a SHA-256 hash and probe data; --sheet builds first. The same sheet renders the same bitstream every time. The bundled films are a 6.2-second pendulum and a 9.2-second projectile in Chinese.

## FAQ

### What does Physics Sim Diagram make?

Physics Sim Diagram makes a silent 16:9 physics diagram film and poster from one sheet: a pendulum, a projectile, a travelling wave or an electric field, with a title, live readouts of the parameters and current values, and a ribbon stating that the animation is illustrative, not a numerical simulation.

### Is Physics Sim Diagram a real physics simulation?

No. Physics Sim Diagram draws schematic diagrams, such as pendulum arcs, parabolas, wave fronts and field arrows, from closed-form formulas evaluated at each moment. The field view is qualitative, with arrows following 1/r². If you need numeric results, this is not the tool; the on-screen ribbon says so.

### Does Physics Sim Diagram need an API key?

No. Physics Sim Diagram computes every frame from a formula on Canvas 2D in your own browser renderer, so it calls no model, needs no key and gives the same film every time. The render report records a SHA-256 hash, so you can confirm that an unchanged sheet produced an identical file.

### Which diagrams can Physics Sim Diagram draw?

Physics Sim Diagram draws four diagrams. Pendulum shows the pivot, rod and swinging bob with angle and period readouts. Projectile shows the parabola trail and a live velocity arrow. Wave shows a travelling sine with a phase marker, and field shows a charge disc with a grid of arrows.

### Does Physics Sim Diagram support Chinese?

Yes. In Physics Sim Diagram the lang field picks en or zh-CN, which sets the note font and translates the ribbon into Chinese. The bundled projectile example is in Chinese, and the size and frame rate default to 1920×1080 at 30 fps.

## Examples

- Pendulum period (video)
- Projectile motion (Chinese) (video)
