Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

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.

示例 · 2

在线运行

免费

在 SandBase sandbox 中运行 Physics Sim Diagram 的示例,并在这里查看结果。

工作原理

  1. 01

    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. 02

    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. 03

    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.

常见问题

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.

Lab Skill · Video

Science MV

Explain science through visible causes, transformations and results.

Lab Skill · Video

Loop Story

Explain a cycle: build each stage, close the loop, then reveal the takeaway.

Lab Skill · Interactive scenes

Flux Rotor: Cobalt Drive

Inspect an original motor with real winding groups, alternating magnet sectors and a keyed shaft. Balanced phase currents drive prescribed synchronous rotation, material colors and spatial harmonic markers. Open the actual cutaway and separate six components offline. This display does not solve torque, efficiency or magnetic finite elements.

Lab Skill · Interactive scenes

Voxel Paddock: Mint Apex

Inspect an original open-wheel vehicle built from procedural cubes. Spin actual wheels on a stationary display, turn nominal geometric steering and separate twelve component groups. Edit bounded dimensions, voxel density and three palettes offline. This is not a driving or aerodynamics simulation.

Lab Skill · Interactive scenes

River Era: Valley Years

Scrub an authored river settlement timeline from camp and farms to town, workshops and speculative towers. Actual seeded geometry changes reversibly; boats and vehicles follow the same river and bank equations. This is an illustrative sequence rather than predictive history.

Lab Skill · Interactive scenes

3D Mechanical Watch Explorer

Inspect a kinematic mechanical watch with actual meshed tooth ratios, 54 components, axial explosion, material cutaway and bilingual mouse/touch controls. One offline HTML with optional synthesized tones.