3Dmol.js

WebGL accelerated JavaScript molecular graphics library

OTHER License

Downloads
138.5K
Stars
792
Committers
61

Bot releases are hidden (Show)

3Dmol.js - 2.4.0 Latest Release

Published by dkoes about 1 month ago

Update rendering engine to use a single, shared OffscreenCanvasRenderer (if available). This should eliminate lost WebGL context errors for most cases. Improved antialiasing. Support colorscheme updates on surfaces. Add show/hide methods to labels. Add maxpixels option for outline mode to limit the screen space width of the outline. Improved VASP file parsing.

3Dmol.js - 2.3.0

Published by dkoes 3 months ago

Ambient occlusion view style (enable with setViewStyle or as part of viewer configuration). Better antialiasing. More robust viewer regeneration. A few other tweaks.

This release has fairly significant changes in the rendering pipeline that may cause problems with older devices (but not on any I have access to). Please report any device/browser issues.

3Dmol.js - 2.2.1

Published by dkoes 3 months ago

Better handling of lost contexts. Dependency clean-up.

3Dmol.js - 2.2.0

Published by dkoes 3 months ago

Implement support for binary CIF and switch to using it as a the default source for fetching from PDB. Various other small improvements.

3Dmol.js - 2.1.0

Published by dkoes 7 months ago

Dashed bond drawing contributions from @dxdc, code improvements from @prajwalkulkarni, assorted improvements to visualizing CIF files in the unit cell (include ability to wrap individual atoms to cell), more robust handling of lost contexts, assorted other bug fixes.

3Dmol.js - 2.0.6

Published by dkoes 12 months ago

Add support for user configurable bond radius scaling of double/triple bonds.

Fix issues #724, #726, #727. Contribution from @randyn (#728).

3Dmol.js - 2.0.5

Published by dkoes about 1 year ago

Bug fixes: Issues #722, #723, #709 , #721.

3Dmol.js - 2.0.4

Published by dkoes about 1 year ago

Improved typing from @adithyaakrishna. Surface workers should function more robustly in name mangling workflows.

3Dmol.js - 2.0.3

Published by dkoes over 1 year ago

Minor tweaks, mostly developer focused.

3Dmol.js - 2.0.2

Published by dkoes over 1 year ago

Minor bug fixes and tweaks. Code improvements from @donbyron02 and @Luthaf

3Dmol.js - 2.0.1

Published by dkoes over 1 year ago

Various fixes for 2.0.

showNonBonded option for sticks (show nonbonded atoms as spheres)

assignBonds method for GLModel and option for replicateUnitCell

3Dmol.js - 2.0.0

Published by dkoes almost 2 years ago

This is a massive refactoring of the code base that may (unintentionally) break things.

  • Now written in TypeScript
  • jquery no longer used or included
  • new build system (webpack) with better tools (code coverage and testing)
  • custom linear gradients now supported
  • improved cartoon quality
  • hbondCufoff parser option
  • can now pause animation

Many thanks to @RyanGuild , @angel4576 and @tjakubiec218 for their contributions.

3Dmol.js - 2.0.0-rc.1

Published by dkoes almost 2 years ago

This is a massive refactoring of the codebase into typescript. This release candidate is to enable broader testings. Use at your own risk (and report issues!).

3Dmol.js - 1.8.0

Published by dkoes over 2 years ago

Possibly breaking changes: reordered arguments in py3Dmol.view so you can do py3Dmol.view('1ycr') to easily display your desired molecule. Changed how javascript is assembled to temporarily disable amd for better functionality in amd situations.

Allow style to be set with style strings (e.g., can do 'sphere:colorscheme~greenCarbon' instead of creating a dictionary).

Fix for memory usage from @dumplings

Resolved display issues reported in Issue #548 .

Added support for creating an animated PNG from an animation (apng in py3Dmol).

Assorted fixes.

3Dmol.js - 1.7.1

Published by dkoes almost 3 years ago

Bug fixes: RWB gradient midpoint issue, more robust handling of lost canvases, orthographic stick fix, documentation tweaks.

3Dmol.js - 1.7.0

Published by dkoes about 3 years ago

GSoC @jaxmatrix contributed a built-in viewer/style editor that can be enabled in the embedded viewer by specifying data-ui='true'.

Preliminary support for non-ortho boxes with volumetric data. Support for pruning volumetric data by a selection. Added ability to have gradient backgrounds in labels to make colorbars. Add ability to provide coordinates as an array in setCoordinates (makes for nice interface with python generated coordinates in py3Dmol).

Possible fix for memory leak in notebooks, assignBonds parser option, py3Dmol improvements, spectrum option in viewer, fix cartoon quality bug.
Contributed bug fixes from @camilacanhete (eye separation), @mindon (vasp parsing), @Luthaf (wheel).

Issues #530 #520 #440 #439 #366

3Dmol.js - 1.6.4

Published by dkoes over 3 years ago

Better cube parsing. Memory fix from @lidaof. Anti-aliasing fix for linux hi-def screens. Support for rgb color format. Additional tests and documentation tweaks.

3Dmol.js - 1.6.3

Published by dkoes over 3 years ago

Better support for reapplication of vibrate. Lattice parsing for xyz (thanks to @pvstishenko). Speed option for spin (thanks to @BradyAJohnston). backgroundalpha embed option. screenToModelDistance viewer function. Minor code and documentation tweaks.

3Dmol.js - 1.6.2

Published by dkoes over 3 years ago

Implement coloring an isosurface by a different volume data (e.g. isosurface drawn from electron density, colored by electrostatic potential).
setCameraParameters from @Luthaf. Several bug fixes, documentation tweaks, and added tests.

3Dmol.js - 1.6.1

Published by dkoes almost 4 years ago

Various bug fixes and documentation improvements.

Package Rankings
Top 25.7% on Repo1.maven.org
Top 1.56% on Pypi.org
Top 2.1% on Npmjs.org
Top 12.76% on Conda-forge.org
Badges
Extracted from project README's
CDNJS codecov Github CI