An interactive, graphics-first introduction to neutrons, muons, and the ISIS Neutron and Muon Source — written for people who work at ISIS but don't come from a physics background (software engineers, technicians, support staff, new starters).
No equations you can't skip. Lots of things to click, drag, and scrub.
▶ Live site: https://isisneutronmuon.github.io/isis-intro/
⚠️ Unofficial and simplified. Built as a learning aid; not an ISIS/STFC publication.
No build step, no dependencies. Either:
- Open
index.htmldirectly in a browser (works fromfile://), or - serve the folder:
python -m http.server 8000→ http://localhost:8000
The site is deployed with GitHub Pages (deploy from branch: main, root) at https://isisneutronmuon.github.io/isis-intro/ — every push to main redeploys automatically in about a minute.
| Page | What it covers | Headline interactive |
|---|---|---|
index.html |
The whole story: proton pulse → published paper, in 8 animated scenes plus an end-to-end recap | Looping time-of-flight race with logged arrival times |
probes.html |
Why neutrons & muons are the right probes — no physics assumed | Scale zoomer (coin → atoms), X-ray vs neutron view toggle |
facility.html |
How ISIS works: ion source, linac, synchrotron, targets, moderators | Clickable facility map, moderator spectrum picker |
ts1.html |
Facility › TS1 tab: inside Target Station 1 — the hall layout, every particle path, one pulse on the real clock | Live plan-view simulation: proton pulses, muon spray, spallation, moderated neutrons racing down 18 beamlines |
ts2.html |
Facility › TS2 tab: the cold-neutron station — why 1-in-5 pulses is a feature, and who uses the cold beams | Stat strip + instrument suite (live hall view planned) |
experiment.html |
Life of an experiment: proposal → beamtime → data → paper | 7-phase lifecycle timeline (with who/which-software per phase) |
data.html |
From detector events to publishable curves | Reduction Playground — a mini-Mantid pipeline you drive yourself |
techniques.html |
Nine techniques: diffraction (powder & single crystal), SANS, reflectometry, spectroscopy, µSR, imaging, irradiation, total scattering — each mapped to the ISIS science group that owns it | Rotate-a-crystal detector view, fringe/field/lattice sliders |
how.html |
Meta: how this site was made — Claude Code, the real prompts, the verify loop (footer-linked, served as /how) |
Animated prompt→build→verify→ship loop |
Each page ends with a short self-check quiz.
Vanilla HTML/CSS/JS — deliberately boring tech so it runs anywhere, forever:
├── index.html …how.html # nine pages, inline SVG diagrams
├── css/
│ ├── tokens.css # design tokens (dark "beamline control room" theme)
│ ├── base.css # reset, layout, nav, typography
│ ├── components.css # panels, hotspots, quizzes, sliders, step cards
│ └── story.css # landing-page scroll scenes
└── js/ # plain <script defer> IIFEs, one global each
├── plot.js # MEPlot — tiny canvas plotter (the only plotting code)
├── synth.js # MESynth — ALL synthetic physics in one file
├── quiz.js # MEQuiz — quiz engine
├── nav.js # header/footer + mobile menu
└── story.js, data.js, … # per-page wiring
Design constraints worth knowing before contributing:
- Must work from
file://→ nofetch(), no ES modules, no external data files. All data lives inline in JS; all diagrams are inline SVG. - Animations are plain time-based CSS keyframe loops (plus IntersectionObserver-driven reveals) — identical in every browser, no scroll-scrubbing.
prefers-reduced-motionalways leaves a fully readable static page. js/synth.jsis the single source of physics truth — constants and formulas live there and nowhere else, so an accuracy review touches one file.- Keyboard and screen-reader support is expected — skip link, static (no-JS) header/footer,
role="img"+ labels on every canvas/SVG,aria-liveon dynamic readouts, keyboard paths for canvas interactions. New interactives should keep that bar. - Only external dependency: Google Fonts (degrades to system fonts offline).
Numbers and claims trace to:
- A Practical Guide to the ISIS Neutron and Muon Source (PDF) — accelerator chain, targets, moderator suite, pulse rates
- isis.stfc.ac.uk — facility overview, neutrons & muons, techniques, applying for beamtime
- Mantid documentation — workspaces, algorithms, event vs histogram data, reduction workflows
The interactive models (moderator spectra, powder patterns, reflectivity, muon asymmetry) are schematic — qualitatively right, simplified on purpose, and labeled as such in the UI.
Open every page via file:// and a local server in Chrome — zero console errors expected. Check Firefox for the scroll-animation fallback path, and an OS reduced-motion setting for the static path. Layouts are tested down to 375 px wide (the nav collapses behind a MENU button below ~704 px).