Comments (7)
What else needs to be done to ChemDoodle JSON support? What do you mean by not dumping unnecessary stuff?
from 3dmol.js.
I think I was talking about producing json from a model - should only output the relevant information.
from 3dmol.js.
What would that JSON be used for? Would it just be fed back into 3Dmol.js, in which it could be whatever format is most convenient for us, or should it be known format (ChemDoodle?) that other people can use?
What information should it store?
- Atoms, Bonds?
- Rotations?
- Camera position?
- Other things?
from 3dmol.js.
Is it possible to make it compatible with chemdoodle while still storing any additional state information (e.g. styles, camera position) to fully restore the 3Dmol.js scene?
from 3dmol.js.
I think so. It's JSON, so I should be able to add extra data and other parsers will just ignore it. Where can I find style and camera position? So far I've worked almost exclusively with file formats and don't know much about the rest of the code.
from 3dmol.js.
Each atom has a style field. You can get the view from the viewer (getView).
from 3dmol.js.
Chemdoodle json is now supported.
from 3dmol.js.
Related Issues (20)
- Is it possible to have post-translational modifications (PTMs) features in 3Dmol? HOT 1
- Discrepancy in Atom Rendering Between 3Dmol.js and VESTA for Al1Cd2_H.cif File HOT 4
- .render() is not showing updated representation of models HOT 2
- [BUG] defaultcolors not applied when using addModelsAsFrames HOT 1
- py3Dmol is not working [BUG] HOT 4
- [BUG] Double bonds rendered out of plane (CID: 243, 2244) HOT 2
- Support wireframe and opacity for addIsoSurface in VRML Export HOT 2
- [BUG] Crystal supercell displays in a very weird way HOT 10
- Enable Model Translation on Right-Click and Mouse Movement. HOT 3
- Can't select properly, nor generate cartoon & multiple structures HOT 9
- Assign Property to selection, select and colour by property HOT 2
- View multiple models with absolute positions (i.e. no centering) HOT 8
- Stick representation for IONS HOT 2
- [BUG] WRONG BONDS BEING DRAWN HOT 8
- Opening MANY models efficiently HOT 3
- PRMTOP needs to parse residue names
- Highlighting specific residues HOT 7
- use less CPU for animations HOT 3
- Dinamic protein visualization HOT 1
- How to use native in React Js and Next Js 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 3dmol.js.