Repository navigation
Crystal Visualizer 1.0.0
First release of Crystal Visualizer, a crystal-structure viewer and editor that runs entirely in the browser.
Try it: https://dicksonkam.github.io/crystal-visualizer/
What it does
- Opens VASP POSCAR/CONTCAR, plain and extended XYZ (lattice and
pbcaware) and XDATCAR trajectories with a playback timeline. Files are parsed locally; nothing is uploaded. - Draws cells the way textbooks do: corner and face atoms as translucent periodic copies, bonds ending at the cell boundary, periodic images and supercells on demand.
- Measures distances, fractional offsets and angles between up to three atoms, including specific periodic copies.
- Edits structures: drag atoms and cell edges, type exact coordinates, add, delete, shift and fix atoms, with undo and redo, then exports back to the original format.
- Makes figures: VESTA element colours, recolouring, light or dark backgrounds, PNG export up to 4× with a transparent option, and MP4 movies of trajectories.
Formats: POSCAR, XYZ, extended XYZ, XDATCAR (read and write).
Runs from any static web server; three.js r128 is bundled, so a downloaded copy works offline. See the README and docs. MIT licensed; citation metadata in CITATION.cff.