个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Crystal structure viewer in the browser: open POSCAR, XYZ and XDATCAR files, measure, edit and export, nothing to install. A quick alternative to VESTA and VMD.
翻译准备中
正在加载完整 README。
查看完整 README ↗View, measure and edit crystal structures in your browser: open a CIF, VASP POSCAR, XYZ or XDATCAR file and nothing needs installing.
▶ Try it in your browser — drop a file onto the page or pick a built-in example.
pbc), and XDATCAR trajectories with a playback timeline, all parsed in the browser; nothing is uploaded anywhere.Clone or download the repository, serve the folder over HTTP, and open the local URL:
python3 -m http.server 8000
There is no build step and no server-side code. three.js (r128) and its TrackballControls ship under vendor/three, so a copy works without an internet connection; only the optional web fonts come from Google Fonts, and the page falls back to system fonts without them. The built-in examples use fetch, so opening index.html as a raw file will not load them.
The app is a static site. app.js adapts the pure modules (geometry.js, document.js, formats.js, structure.js, history.js, camera.js, measurement.js, annotations.js) to three.js and the DOM; the modules run under Node without a browser. Run the unit tests with npm test, and the Playwright browser suite with npm run test:all after npm ci and npx playwright install chromium. Details, including the stress campaigns, are in docs/testing.md.
If Crystal Visualizer helped your work, please cite it. GitHub's "Cite this repository" button reads the metadata in CITATION.cff; in plain form:
Kam, D. (2026). Crystal Visualizer (Version 1.1.0) [Computer software]. https://github.com/DicksonKam/crystal-visualizer
A DOI for the archived release will be added here once it is published on Zenodo.
MIT © 2026 Dickson Kam. three.js is © its authors under the MIT license (see vendor/three/LICENSE).