Use the downloaded HTML file directly. It includes the canvas, styles, and animation script.
<!-- magnetic-field.html -->
Paste into your page to runFine dipole field lines gently breathe between two poles while particles flow along their curves. Featuring Two-pole fine-line composition and Arc-length particle flow, this effect supports live adjustments, instant previews, and reusable exports in Limot.
backgroundColor#111111lineColor#f4f3efdotColor#f4f3eflineWidth0.7pxscale94%lineCount18poleDistance100%poleSize4pxspeed1drift2%particleCount2particleSize1.9pxUse the downloaded HTML file directly. It includes the canvas, styles, and animation script.
<!-- magnetic-field.html -->
Paste into your page to runAdd the JSX file to your project and import it as a component. Override settings with props.
import MagneticField from "./MagneticField.jsx";
<MagneticField />Add the Vue single-file component to your project, import it, and use it in your template.
import MagneticField from "./MagneticField.vue";
<MagneticField />Exports include your current settings. React and Vue components also accept the configuration keys below as props.
Customize in real time, copy standalone code, or export MP4, GIF, and PNG with optional transparency.