To the Editor — We present the Simularium Viewer, a user-friendly, open-source application that makes it easy to share and interrogate interactive three-dimensional (3D) visualizations of biological simulation trajectories directly in a web browser at https://simularium.allencell.org. The primary goal of the Simularium project is to facilitate collaborations among experimental and computational biologists by removing challenges to sharing, accessing and comparing simulation results. As a new arrow in the modeling community’s quiver, the Simularium Viewer provides a platform to share simulation outputs in an easy-to-use interface that requires no computational expertise from end users. With a relatively small effort, any modeling researcher can use our conversion package to save their data as a Simularium file and generate a link that anyone can use to interactively investigate their simulation trajectories and related plots immediately in a browser, instead of spending time downloading, installing and learning to use tools specific to any given model.

Spatial simulations are a powerful tool for investigating biological phenomena at different scales;1,2 however, by surveying researchers, educators and students in the field of cell biology, we have identified several pain points that restrict their utility and adoption. In general, simulation tools are often difficult for non-computational biologists to use, provide limited options for the easy sharing of interactive visualizations, and must be downloaded and run as independent desktop software—often with challenging installation processes. Many require users to write code or to run software from a terminal window and offer only a limited user interface or no graphical user interface. Most visualization tools for spatial modeling are either specialized to support atomic coordinates and/or image data or built to support visualization for one particular modeling engine (Supplementary Table 1), making it challenging to compare models that were created using different engines. The common practice of developing new visualization software from scratch often results in redundant efforts to solve common challenges that take developer time and expertise away from addressing unsolved problems in the field.

To make simulated models more accessible and easier for broader audiences to examine, we have developed the Simularium Viewer as an online 3D viewport with a graphical user interface that enables interactive exploration of dynamic spatial data, alongside plots of calculated metrics, directly in a web browser (Fig. 1). It uses advanced rendering techniques3 to enable meaningful interpretations of spatial relationships4,5 among thousands of moving components in 3D. The viewer allows a user to interact with precalculated simulation results, including their own results converted into the Simularium file format (JSON or binary). Files can be loaded from local disk storage or shared publicly by generating URLs formatted as https://simularium.allencell.org/viewer?trajUrl=[link to file]. These links enable one-click access to an interactive simulation window. We currently support public links to Dropbox, Google Drive and Amazon S3 files and will continue to add support for other cloud storage providers. URL access allows any user to share their own library of simulations publicly, and these links can be included in publications to provide easy access for readers to explore interactive supplementary figures, as demonstrated in a recent article that includes links to models produced using the SpringSaLaD engine6. The Simularium Viewer website also provides a library of example models that were generated by different simulation platforms and selected to represent a broad variety of simulation types, visual complexity and spatiotemporal scales. Examples include a Cytosim model of clathrin-mediated endocytosis7, a PhysiCell model of SARS-CoV-2 dynamics in human lung epithelium8, a Smoldyn model of the Escherichia coli Min1 system9, and a published model of a membrane wrapping a nanoparticle10 (Supplementary Table 2).

Fig. 1: Simularium enables one-click access to the interactive visual analysis of spatiotemporal simulations.
figure 1

a, A screenshot of the Simularium Viewer loaded with an example model7 has a 3D viewport with an interactive timeline in the center and two collapsible panels on the sides holding entity selection on the left and trajectory related plots on the right. b, Data from simulation engines must be converted to the Simularium file format, using either direct output from an engine or postprocessing with Python converters. Since the viewer is web-based, a link can be shared with collaborators, paper reviewers and readers, or even broader audiences of students and the general public. c, Rendering options for agents in the trajectory viewport currently include single spheres; collections of spheres with internal structure specified by, for example, Protein Data Bank structure files; mesh surfaces; and 3D lines. We plan to add volume rendering for PDE or RDME-based data.

The Simularium Viewer is the first component released from a larger Simularium platform in development. It is freely available at https://simularium.allencell.org. We welcome community involvement in the development process, and Simularium code repositories are available at https://github.com/simularium with documentation and an open-source license. The Help menu on the Simularium Viewer website includes tutorials, sample Python code and Jupyter Notebooks to guide the conversion of custom data into the format consumed by the viewer, as well as instructions for sharing your own Simularium files online. We provide Python Jupyter notebooks for converting the outputs of several community-developed spatial simulation engines (Supplementary Table 3) and plan to continue working with engine developers to write directly to the Simularium file format and support more engines. We are also working to transcode native files output from supported engines automatically upon loading, similarly to other streaming services. We have forums and issue boards to collect feedback and will continue to work with Simularium users to add visualization features that will make the Simularium Viewer an even more powerful open-source tool for exploring dynamic 3D biological data.

Reporting Summary

Further information on research design is available in the Nature Research Reporting Summary linked to this article.