Skip to main content

← All pieces / Data viz / 250

Data viz250 / 375

Lines of Force: Magnetic Field Explorer

Model: Claude Opus 5.5. Original publisher page, source, prompt and licence are below.

Demo date 2026-11-20

The piece runs on the original author’s page. If it appears blank, embedding is likely blocked; use “Open original”.

About this piece

A magnetic-field lab on a sheet of paper: place and drag bar magnets (red N / blue S); the field is computed from dipoles or pole charges and rendered three ways — iron filings, arrowed streamlines and a field-magnitude heat map. A small compass follows the pointer and points along the local field; rotate magnets with the wheel, R key or a handle, double-click to flip polarity, and add or remove magnets. The craft is one field dataset expressed as three genuinely different views. Boundary: a 2D magnetostatic approximation, not a full Maxwell solve; filing density is a visual sampling.

Source & prompt

The repository declares no licence; the work runs on the publisher’s page and is not copied here.