Skip to content

Styles

aseview ships the rendering styles below; pick one with style="..." in Python, --style on the command line, or the Style menu in the viewer. Each card is a live viewer (drag to rotate) built with the JavaScript module.

The molecule is acetamide, matching ase.build.molecule("CH3CONH2").

Partial-occupancy atoms follow the same style families shown here. Mesh styles retain their lighting and outlines, while 2D, Neon, Bubble, and Grey use style-matched billboard sectors. Every unoccupied fraction is opaque white. Styles marked (v3) are alternative variants.

Large systems

For large molecular structures and trajectories, start with high_performance=True, style="minimal" in Python or --high-performance --style minimal on the CLI. Minimal uses rounded, element-colored atoms and thin neutral-gray bonds without gloss or outlines. The option is off by default; supported styles use analytical primitives and trajectory playback prepares up to eight future frames on Web Workers. See trajectory playback for input-memory limits.

Partially opaque instanced mesh atoms and bonds use multisample coverage with depth testing instead of unsorted alpha blending. This keeps atom colors and atom/bond visibility stable across frames. Coverage is an approximation of transparency, so very small opacity changes may share the same sample coverage.