Gallery
Interactive scenes you can rotate, slice, toggle layer by layer, and export. Each scene is a standalone HTML file made with mofography’s Three.js backend (it loads Three.js from a CDN, so you need an internet connection). Click a picture to open the interactive version in a new tab.
Every image below is a canvas-only capture of the same scene with different viewer settings: projection, exploded view, visible layers, framework style, and background. Open “Show code” next to a figure for the exact settings. Each one has the viewer steps (click through them in the interactive scene) and the one-line command that produced the image with scripts/dev/gallery_screenshot.py (--zoom is the camera distance multiplier; the sidebar is hidden in all images).
Interactive scenes
Cu-BTC (HKUST-1): everything in one scene
Open the interactive scene. Toggle in the side panel: unit cell, framework atoms with bonds and aromatic rings, the Pore surface (distance grid, isovalue 1.0 Å) (the blue translucent layer: an isosurface of the distance grid, not a segmentation), Regions (no PBC) and Regions (PBC-merged) (the segmented, region-labelled surfaces), pocket types (env_cluster), local maxima, windows, the pore graph with internal and periodic nodes, and a percolated cluster. Companion Plotly charts: surface area vs probe radius and void volume vs probe radius.





NU-1000
Pockets and windows (hexagonal mesopore, triangular micropores) and percolation history: the percolating cluster for probe radii of 1 to 4 Å, one toggle per probe. The hero shows pocket types, framework and internal windows (red dots), seen down the c axis.




More materials
LTA
Interactive LTA scene: sodalite and supercage pockets. Shown: Regions (PBC-merged), framework sticks, orthographic along (1 1 1), dark slate default background.
ZIF-8
Interactive ZIF-8 scene: two pockets per cell. Light gradient default background.

IRMOF-1
Interactive IRMOF-1 scene: two cage populations from linker orientation. White default background.


Make your own
Every scene above is produced by one script. The core of the Cu-BTC scene is:
import numpy as np
import mofography as mgr
from mofography.cif_io import read_cif_to_ase
atoms = read_cif_to_ase("P1-Cu-BTC.cif")
dgrid = mgr.dgrid_from_atoms_rust(atoms, spacing=0.5).astype(np.float32)
seg = mgr.do_periodic_segmentation_rust(
dgrid, atoms, spacing=0.5, mask_thickness=0.05, compute_connections=True,
watershed_backend="rust_det",
)
# Layers, colours and the exact calls for every scene:
# scripts/dev/gen_gallery_assets.py (python scripts/dev/gen_gallery_assets.py --material cubtc)See Three.js plotting for the full set of layers and the notebook display, and Adding to the gallery for how to contribute a scene.
Images from the publication
Figures from the mofography paper (abridged captions). Each panel is reproduced from the manuscript.
Workflow and example materials

Pipeline. (a) input crystal and central cell, (b) signed distance field and local maxima, (c, d) PBC-unaware and PBC-aware watershed segmentation on the padded structure, (e, f) central-cell regions and regions_pbc, (g) the annotated pore graph (region adjacency graph). In (e) and (f) the isosurface is colored by pocket; partial pockets on cell boundaries that belong to the same pocket share a color.

Core workflow on representative materials. Rows (a) and (b) give the workflow overview on IRMOF-1. Rows (c) to (f) apply it to MFI zeolite, ZIF-8, MIL-101, and MarksId-018. Columns show the framework, segmented regions without PBC, segmented regions with PBC, and the pore graph with windows.
Global textural properties

Benchmark against Zeo++ and PoreBlazer on 1,999 CoRE (2019) MOFs: (a) LCD, (b) PLD, (c) LIS along percolating pathways, (d) surface area, (e) void volume, and (f) to (h) global pore size distributions for LTA, Cu-BTC, and IRMOF-1.
Pocket-wise properties

Pocket-wise textural properties. (a) Pocket-diameter distribution for the IZA all-silica zeolite database. (b) Pore-level surface areas from the Monte Carlo shell estimator at a 1.2 Å probe radius. (c) to (h) Global and pocket-wise PSDs for UMCM-1 and DUT-75, where the global PSD hides distinct pocket families.
Pocket types

Pore type detection for Cu-BTC. (a) Segmentation colored by pocket type. (b) Pocket PSDs for the three detected types. (c) Framework and connectivity spherical-harmonic power. (d) Pairwise fingerprint cosine matrix. Cu-BTC is a straightforward case where size alone separates the three types.

Regions, PBC-aware regions, and pocket types for (a) IRMOF-1, (b) LTA, (c) NU-1000, (d) UiO-66, and (e) ZIF-20, with framework atoms and pore graphs overlaid. Connections with window diameter below 1 Å are not shown.
Windows

Window detection. (a) A tortuous pore structure where centroid-ray methods may fail. (b) to (d) The mofography algorithm and representative window cases.

Percolation and windows. Top row: NU-1000 percolation snapshots at probe diameters of 0, 6, and 28.81 Å (the PLD). Middle row: pore graphs and windows for ZIF-8, HKUST-1, and LTF. Bottom: window-size distributions for the IZA zeolites.
Pocket spacing

Nearest-neighbor spacing (d_1) on the winding-percolation pore graph. (a) to (c) Pore graphs for ZIF-8, Cu-BTC, and NU-1000, one node per unit-cell pocket. Node color is (d_1), marker area the pocket diameter, marker shape the pocket type, and grey edges join pockets that share a window. (d) to (f) Histograms of pairwise minimum-image pocket distances. ZIF-8 has a single spacing; Cu-BTC and NU-1000 show multiple pocket families.
Pocket shape matching

Shape-matching workflow for xylene isomers on CoRE MOFs. (a) Pocket segmentation and pore types. (b) Xylene models. (c) to (e) Tricubic van der Waals energy surfaces for CH(_3), C, and H probes. (f) and (g) Winding-percolation accessible domains at half the isomer’s kinetic diameter. (h) to (j) Best-fit poses for oX, mX, and pX. (k) Confirmation against ternary-mixture GCMC.

Xylene shape-matching results. Integral bar charts, best-pocket views, and all-isomer GCMC snapshots for pX, mX, and oX target pockets. Isomers that cannot percolate to a pocket at their KD/2 threshold are hatched and faded.
Want your visualization featured here? See Adding to the gallery, or reach out to us on GitHub.




