Issue
It is not currently possible to illustrate chemical files in wiki pages without cumbersome processes (e.g. create externally, change to image and upload).
Background
This seems to be a useful feature according to these:
Proposed solution
Evaluate existing libraries that extend three.js
- https://github.com/3dmol
- http://paulbacchus.com/mollyjs-a-webgl-molecule-viewer/
- https://github.com/grahamgilchrist/threejs-molecule-test
- https://github.com/biochem-fan/GLmol
Use existing loader
Evaluate existing implementation in existing extension (Extension:PDBHandler).
Demo:
https://threejs.org/examples/css3d_molecules.html
Extension:PDBhandler in action:
- http://bsd.neuroinf.jp/wiki/%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB:3h9v.pdb(http://web.archive.org/web/20170430144452/http://bsd.neuroinf.jp/wiki/%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB:3h9v.pdb)
Notes: currently pdbhandler seems to work in file pages and article pages, so it actually works better than extension:3d for now, probably because on average they are likely to be smaller than a normal 3d file.