Skip to content

feat: add WebAssembly molecular viewer - #9

Merged
dirdr merged 5 commits into
mainfrom
feat/webassembly-viewer
Oct 21, 2026
Merged

dirdr merged 5 commits into
mainfrom
feat/webassembly-viewer

Conversation

@dirdr

@dirdr dirdr commented Oct 21, 2026 •

Copy link
Copy Markdown
Owner

MolViz can now run in a browser through WebAssembly while sharing its Rust PDB parsing, molecule preparation, camera, arcball controls, instance geometry, and GLSL shaders with the desktop application. The default Glium desktop build remains available; the browser backend uses WebGL 2 and an embeddable canvas API with resizing, input handling, resource cleanup, and context restoration. Desktop and shared-core builds pass, the Wasm build passes Clippy with warnings denied, and all 10 Playwright integration tests pass across the seven supplied molecules, including rendering, rotation, zoom, invalid input, and context restoration.

@dirdr
dirdr merged commit 45ba379 into main Oct 21, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant