Skip to content

Releases: 3dmol/3Dmol.js

2.0.1

06 Feb 23:05
Compare
Choose a tag to compare

Various fixes for 2.0.

showNonBonded option for sticks (show nonbonded atoms as spheres)

assignBonds method for GLModel and option for replicateUnitCell

2.0.0

03 Jan 18:53
Compare
Choose a tag to compare

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.

2.0.0-rc.1

24 Dec 05:07
Compare
Choose a tag to compare
2.0.0-rc.1 Pre-release
Pre-release

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!).

1.8.0

22 Jan 16:47
Compare
Choose a tag to compare

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.

1.7.1

30 Oct 16:33
Compare
Choose a tag to compare

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

1.7.0

09 Sep 12:47
Compare
Choose a tag to compare

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

1.6.4

12 May 20:02
Compare
Choose a tag to compare

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.

1.6.3

14 Mar 02:40
Compare
Choose a tag to compare

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.

1.6.2

28 Jan 14:10
Compare
Choose a tag to compare

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.

1.6.1

16 Nov 15:17
Compare
Choose a tag to compare

Various bug fixes and documentation improvements.