Comments (6)
Hi,
Labeling is implemented in 'labelling' branch.
https://github.com/biochem-fan/GLmol/tree/labelling
Demo: http://webglmol.sourceforge.jp/labelling/viewer.html
(Click an atom to identify it)
from glmol.
Thank you for your quick response.
Nice demo.
There are several issues there:
When you click several times on the same atom, it adds the label several times.
No way to remove the label.
Now way to display all labels.
Sometimes the label is 'Undefined'.
Any chance the labeling branch can be merged with master?
And maybe update three.js and jquery to the latest version?
This is an attempt to update to r64 (three.js is at r68 now)
alexmasselot@7f2cc79
from glmol.
Actually, labeling itself is OK. The problem is in the 'click-to-identify' feature.
That is, if you know which labels are needed beforehand, it works perfectly.
Dynamic labeling (adding / removing labels interactively) is more difficult.
Why do you want to update THREE.js?
They are getting larger and larger, and I don't need new features.
In future, I would like to make GLmol independent from THREE.js.
I am also planning to refactor everything to allow dynamic update of the
scene (like labeling, re-coloring) without costly scene rebuilding. But
I don't have time to work on it right now.
from glmol.
Thank you.
from glmol.
Can I contribute somehow?
How large are the tasks of making GLmol independent from THREE.js
and allowing dynamic updates of the scene?
Does jsmol uses GLmol?
from glmol.
Thank you very much for your offer.
However, it is more of "architecture design" than simple implementation work.
JSmol uses very small fraction of GLmol's code.
from glmol.
Related Issues (9)
- Changing the color of a surface in the modelGroup? HOT 2
- problem with parseObjMol in pymol2glmol.py
- Problems towards the Three.js version updating. HOT 2
- And idea of ussage
- Visualization not changing from spheres to ball and stick HOT 1
- Add configuration object to the initializer HOT 1
- TypeError when loading a pdb HOT 1
- viewer.html need an update for new three.js
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 glmol.