Open a folder of diffraction patterns (a temperature ramp, an in-situ run at a synchrotron, a series from a laboratory diffractometer) and see them at once: overlaid, stacked, projected, as a colour map of intensity against 2θ and temperature or time, as differences from a reference, as growth curves of chosen peaks. The diff-ref-struct core computes every number, compiled to WebAssembly and run in your browser. Your files never leave your machine.
Try the example in the app·The manual·PDF·Quick reference·Recipes·How it works
x_interval in the set file.

Open the folder (or drop it on the page): the core describes every file, its format and what it holds. Choose a set among those the core proposes (one scan per temperature, each hold at constant temperature against time, the whole run against time), or pick the files yourself. Read the map: clip the colour range on its bar to bring up weak peaks, zoom, pin the cursors on a peak to see its intensity through the series, name the regions worth coming back to. The view is kept in the page's address: a reload or a link brings it back.
A plot set is many patterns, each with its value of a variable: a temperature, a time, a value you type with its source. Every view takes the same set.

Every pattern on the same axes, coloured along the series. Linked zoom adds a zoomed plot and a difference strip between two patterns.

Each pattern raised by a step the core proposes, labelled with its temperature; steps in proportion to the variable if you like.

Each pattern behind the one before, with an oblique axis for the variable, as WinPLOTR draws it.

Intensity as colour, 2θ across, the variable up. The clip on the colour bar, cursors, zoom by axis, named regions.

Every pattern less a reference pattern: what appears, what goes, what moves, in signed colour.

The map, or the difference map, as a surface to turn and read; the colour clip limits its height.

Windows of 2θ followed through the set: integral above the background, centroid, the strongest peak's position, height and width, with σ.
The page runs the diff-ref-struct core, the same Rust code as the Mac app and the command line drs, compiled to WebAssembly. There is no second implementation to drift from the first.
Reading the files, finding temperatures and times, the map's grid and colour range, the steps, the differences, the integrals: all the core's. The page turns its answers into pixels and text.
A test runs the browser's core on the Tb2Pd2Sn files given as a browser reads them, and requires its map to equal the command line's, number for number.
The browser reads the folder you choose, file by file, when the core needs one. Nothing is uploaded: the page has no server to send to, and asks only to read.
The page loads its own files from its own address and nothing from elsewhere: no fonts, scripts or counters from other sites, no account, no tracking.
The browser keeps the page (36 files, 4.4 MB, never a data file), so it opens at a beamline without network. Install it as an app if you like.
When does a phase appear, a peak split, a reflection go? One row per temperature, the onset found on the map and checked on the patterns.
Growth curves: the integral of a peak's window against time, with σ, for every scan of the hold.
Live mode reads the folder again every few seconds; the map grows with every new scan.
The address keeps the set, view, zoom, colour range and region; a .drv keeps a whole set for the Mac app and the command line.