Field Lines: Charge Bench
- Skill del Lab
- v0.1.0
- Education
Drag point charges and watch Coulomb field lines, voltage contours and a test charge's force recompute live.
Esempio
Field Lines interactive electric field bench
L'esempio funziona in un frame isolato, senza accesso a questa pagina.
Esegui online
Eseguilo in un sandbox di SandBase e visualizza i risultati in Lab.
Apri in Lab ↗Cosa ottieni
Bring charge layouts, the lesson or challenges and an optional palette. The Skill returns a downloadable Skill, an interactive demo and an example video.
Come funziona
- 01
Fill the charge bench
Field Lines fills its prompt with node scripts/fill-prompt.mjs --slots assets/prompts/examples/charge-bench.json --out prompt.md, then sets up a project with node scripts/new-project.mjs --out my-field and npm ci. Charges, layouts, voltage levels, palette, challenge text and the cover sequence live in src/lab.json. The physics sits in src/field.mjs, shared by the page and its tests.
- 02
Drag charges and test
Drag a charge with mouse or touch, or focus it and use the arrow keys, + and - to resize and Delete to remove. Coulomb field lines run from positive to negative at 8 lines per unit of charge and never cross; dashed equipotentials meet them at right angles. A test charge shows its force and, once released, the path it takes. Five layouts and three challenges ship.
- 03
Build and check the physics
npm run build:single writes one offline HTML file with English and Simplified Chinese, and npm run shoot -- --file dist-single/index.html runs the checks in references/verification.md. The release verified line counts, zero crossings, orthogonal contours, symmetry, determinism and a 345 by 345 embed. Node 22.4 builds it and Chrome verifies it. Invalid lab data fails with a stable lab_ error code.
FAQ
Is Field Lines an animation?
No. Field Lines computes lines, contours, forces and paths in the browser from the charges you place. Moving a charge redraws the whole field. Because the same module drives the page and its tests, the checks on line count, crossings and right-angle contours test the code the page actually runs.
Why does the Field Lines test charge leave the field line?
Field Lines moves a released test charge by its actual motion, and a particle keeps its momentum. Where the lines curve, the path drifts outside them instead of tracing a line exactly.
Is Field Lines accessible?
Field Lines is designed toward WCAG 2.2 AA, with labelled controls, visible focus, keyboard movement and a live text description of the field. Full conformance still needs testing with assistive technologies and expert review, so treat it as a design goal rather than a certified result.
Does Field Lines need a key or model?
No. Field Lines needs no key, model call, external asset or storage, so building, embedding or playing it is not billed. The maintainer publisher builds first-party source in an isolated copy with no credentials.
What are the Field Lines challenges?
Field Lines ships three guided challenges in the Charge Bench example, each with predict, try and explain steps and a live checklist. The four field-line rules are drawn on the field itself.
Altri Skills
Tutti gli Skills Education →
Science MV
Explain science through visible causes, transformations and results.

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

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.

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.

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.

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.

