Giter Site home page Giter Site logo

Labels about glmol HOT 6 CLOSED

benbro avatar benbro commented on September 25, 2024
Labels

from glmol.

Comments (6)

biochem-fan avatar biochem-fan commented on September 25, 2024

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.

benbro avatar benbro commented on September 25, 2024

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.

biochem-fan avatar biochem-fan commented on September 25, 2024

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.

benbro avatar benbro commented on September 25, 2024

Thank you.

from glmol.

benbro avatar benbro commented on September 25, 2024

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.

biochem-fan avatar biochem-fan commented on September 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.