18×18 capture-spot array
drag to pan · scroll to zoom · click a spot

RMSE vs. deconv. iteration

Composition (grid average)

Spot Diffusion & Deconvolution (2D)

Spatial transcriptomics platforms such as Visium read gene expression through an array of capture spots laid over a tissue section, but before capture, RNA molecules diffuse a short distance and bleed into neighboring spots — smearing the sharp boundaries between cell-type niches. This 2D map simulator renders an 18×18 spot array as a pannable, zoomable grid, seeds it with two overlapping cell-type niches across four marker channels, applies the discrete 2-D diffusion equation to model realistic RNA bleed, and then runs an iterative Richardson–Lucy-style deconvolution against the known blur operator to recover each spot's true cell-type composition. Toggle between the ground truth, the diffused (observed) signal, and the deconvolved reconstruction, tune the diffusion rate and exposure time, click any spot to inspect its channel breakdown, and watch the reconstruction RMSE chart fall as more deconvolution iterations run.