arXiv:2610.37954cs.GROct 2026

Manuscript Offprint

arXiv:2610.37954

MesoCraft: a web-based tool for interactive procedural modeling of mesoscale biological structures

Donggang Jia, Alexandre Kouyoumdjian, Ondrej Strnad, Uros Smajdek, Ciril Bohak, Dilara Bayraktar, Alejandra Esparza, Peter Mindek, Tobias Klein, Stefan T. Arold, Ivan Viola

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Biological models bring the molecular world of cells into view, enabling experts and the public to explore and understand biological discoveries. Building mesoscale models requires organizing many molecular components into spatial arrangements that can be revised as evidence and interpretations develop. We present MesoCraft, a browser-based tool for structural biologists centered on interactive procedural modeling. User-defined rules generate collections of molecular instances, while a geometry-node editor and visual feedback support authoring and revision of their spatial relationships. Beyond model construction, MesoCraft integrates exploration and communication, enabling researchers to inspect molecular organization and create guided animations that highlight key spatial relationships. By connecting modeling, exploration, and explanation in a unified workflow, MesoCraft allows insights gained during exploration and communication to inform iterative model refinement, supporting the development of mesoscale models into visual narratives of cellular organization. A demonstrative deployment of the tool is available at https://mesocraft.kaust.edu.sa/.

Keywords mesoscale modeling, procedural modeling, structural biology

Graphical abstract

Figure

Introduction

Biological discoveries often begin with an image that reveals an unexpected structure or a new view of cellular organization. Connecting these observations to the molecules that make

up a biological system requires integrating evidence across scales. Microscopy reveals cellular architecture, whereas structural biology provides detailed molecular structures. Cryo-electron tomography (cryo-ET) brings these perspectives closer by visualizing macromolecular assemblies within cells; combined with subtomogram

Preprint

averaging, it can resolve selected complexes at high resolution, as demonstrated for eukaryotic ribosomes in situ (1). Yet images and reconstructions do not generally identify and locate every molecular component in a heterogeneous cellular region. Building a molecular account of that region therefore requires combining imaging observations with known structures, composition estimates and spatial information (2, 3).

Mesoscale models turn this combined evidence into spatial representations of molecules in their spatial context, for example as macromolecular assemblies, or within membranes and other cellular compartments. Constructing mesoscale models requires decisions about which components to include and how to arrange them where evidence is incomplete. Dedicated modeling tools make these decisions explicit and editable, helping researchers explore alternative interpretations and communicate them to experts and the public (2, 3).

Several biological modeling tools address this integration. CellPACK (2) uses composition recipes and packing algorithms to construct three-dimensional molecular environments. Mesoscope provides a web-based environment for integrating and curating molecular ingredients, their representations and portable recipes for mesoscale modeling (4). CellPAINT (5, 6) provides a complementary, direct authoring approach in which molecular brushes support the interactive illustration of cellular environments. Klein et al. (7) combined construction and visualization to enable interactive population of crowded biological environments.

At larger scales, authoring must also accommodate the number of molecular copies and the cost of revising their arrangements. Procedural modeling expresses spatial relationships as reusable rules: a component can be placed relative to a reference surface, distributed within a volume or repeated relative to another component. A single rule generates a collection of instances, so revisions can be made to the construction specification rather than to each copy separately. Interactive construction has already been demonstrated in prior work (7, 3); a continuing challenge is to make expressive rule authoring accessible alongside visual inspection and presentation of the resulting organization.

Generating large collections of instances also increases the atomic detail that visualization must handle. Mol* Viewer (8) demonstrates the importance of high-performance graphics and data management for viewing large biomolecular structures in the browser, while MolViewSpec (9) uses declarative descriptions to make molecular views, annotations and visual narratives reproducible and reusable. These capabilities complement spatial model construction. During procedural authoring, responsive rendering is needed to inspect the effects of modeling decisions; subsequently, selected views and visual sequences help explain the organization to others. Connecting these tasks requires continuity between the editable construction and the scene being explored or presented.

In this work we present MesoCraft, a browser-based environment for authoring mesoscale organization through explicit procedural rules. By retaining the construction alongside its visual result, the system connects model revision to the exploration and communication of molecular arrangements. We describe this workflow through the modeling tools, representative scenes and their use in visual explanations.