This is a repository providing a binary and html/javascript code for WebAssembly port of PyMOL.
I've checked latest google chrome and firefox can run this project.
- This project is based on pymol-open-source. pymol-open-source
- The source code was slightly modified to make it compatible with emscripten and WebGL.
- The modified source code will be available soon in different repository.
- The pymol part follows original PyMOL's license: See this
- The frontend part (Javascript and html) follows MIT license.
- Visit here: Quite a simple demo page
- Selection by clicking behave slightly different from original PyMOL. Try moving the pointer after clicking.
- Too large structures cannot be loaded.
- The resizing window after launching PyMOL makes the click-position recogntion wrong.
- The dot representation is very weak to see and very heavy to load.
- Trying to show the cell (unit cell) crashes the session.
- PyMOL source code was built into whl by emscripten with help of exodide.
- The whl is loaded by Pyodide.
- Pyodide executes pymol commands called by Javascript.
- Javascript controls which pymol commands should be executed.
- We appreciate your feedbacks to improve this project.
- Refinement/refactoring of index.html should be done. It's now quite primitive html/javascript.
- See issues for other ideas.