3243 Commits

Author SHA1 Message Date
David Koes
9dd8e4d649 Fix bug with animation timers 2025-06-26 17:01:50 +02:00
David Koes
dfeb17b766 Fix Issue #836
Be careful of deepcopy of model objects inside lists.
2025-06-22 09:10:38 -04:00
David Koes
a3da5cd3fb switch to jsdelivr since cdnjs stopped updating months ago apparently 2025-06-03 15:25:17 -04:00
David Koes
91824de00b Merge branch 'master' of github.com:3dmol/3Dmol.js 2025-06-03 11:46:59 -04:00
David Koes
58f6a048fc move to self hosted runner for coverage 2025-06-03 11:46:45 -04:00
David Koes
52e690d0b5 Update Coverage.yml 2025-06-03 10:59:41 -04:00
David Koes
5ad8bbe9b3 Update Coverage.yml 2025-06-03 10:36:23 -04:00
dkoes
7078b87717 coverageyml 2025-06-03 10:07:02 -04:00
David Koes
f2de920e57 fix coverage workflow 2025-06-02 23:08:17 -04:00
David Koes
2deab5b399 serialize coverage 2025-06-02 22:45:22 -04:00
David Koes
d21aafcc24 stubborn 2025-06-02 22:30:59 -04:00
David Koes
da8494eea3 try and try again 2025-06-02 22:21:22 -04:00
David Koes
f0d25f2bb5 one more 2025-06-02 21:15:23 -04:00
David Koes
ce6e01bf7d giving up for now 2025-06-02 20:39:14 -04:00
David Koes
bfade7e98e ttt 2025-06-02 20:33:33 -04:00
David Koes
be22ab2f3f trytry 2025-06-02 20:29:46 -04:00
David Koes
2d43b8f267 try this 2025-06-02 20:19:31 -04:00
David Koes
6b34c2a4bb update workflows 2025-06-02 20:09:53 -04:00
David Koes
8da1a5e0e7 update workflows 2025-06-02 19:46:53 -04:00
David Koes
65fe4f2fcd fix publish 2025-06-02 19:34:43 -04:00
David Koes
250e524797 another attempt to stop coverage from timing out in CI 2025-06-02 19:32:55 -04:00
David Koes
e94d0f3018 another attempt to get coverage working in CI 2.5.0 2025-06-02 19:20:49 -04:00
David Koes
1789c232ed version bump 2025-06-02 19:07:30 -04:00
David Koes
130452961e Better prmtop parsing
Issue #779
2025-06-02 18:55:40 -04:00
David Koes
27ee077c76 Cartoon gap visualization.
Issue #811.  Straight dashed lines are drawn when the number of missing
residues is less than the gapcutoff cartoon style option.  The number of
dashes is equal to the number of missing residues.
2025-06-02 16:36:17 -04:00
David Koes
c378116f85 attempts to get CI Coverage working reliably 2025-06-02 12:36:25 -04:00
David Koes
d67a03ecdc Merge pull request #765 from prajwalkulkarni/learning-environments
Improvements to learning-environments.md
2025-06-02 11:48:37 -04:00
David Koes
f57361fdb8 Merge branch 'master' of github.com:3dmol/3Dmol.js 2025-06-02 11:04:37 -04:00
David Koes
36b91c56b2 getviewer method 2025-06-02 10:17:04 -04:00
David Koes
e3d18d16e5 ref image 2025-06-02 10:16:55 -04:00
David Koes
b6bb5dd16f multimodel selection regression fix
Issue #834
2025-06-02 10:04:31 -04:00
David Koes
32333ca369 Fix color regression and at matplotlib colors
Issue #833
2025-06-02 09:31:11 -04:00
David Koes
e9c51ee94c update cif snapshot 2025-06-01 22:40:08 -04:00
David Koes
d3be8c5077 ref image 2025-06-01 16:52:08 -04:00
David Koes
3f8b67ceea cif label chains
Issue #817
2025-06-01 16:47:48 -04:00
David Koes
b6a615a2d4 Better selection.
Issue #804.  Model selection was only being processed at the top level
when the selection was dispatched to the models in the viewer.  Now
process in the model as well to properly handle model selection in
nested statements like or/and.

This requires giving models access to their viewer and so I've put in
some minor api breakage where model methods no longer need to be passed
a viewer.
2025-05-31 23:16:32 -04:00
David Koes
d40937e932 big grid test 2025-05-31 21:51:59 -04:00
David Koes
cf9a33b799 Use drawingBuffer sizes for grid calcs
Issue #822

For large canvases, WebGL will lower the resolution which was throwing
off our grid calculations.
2025-05-31 21:48:55 -04:00
David Koes
5d6c5efa61 Not sure why the previous regenerated images were wrong.. hopefully
these are correct.
2025-05-31 16:39:47 -04:00
David Koes
a7d322ef1b Better fog.
Issue #823. Correctly implement fog for perspective views, sticks and
outlines.  Allow user
to adjust where fog linear scale happens in the slab.
2025-05-31 15:40:59 -04:00
David Koes
bb793896cf Better symmetry support
Issue #827 and #828.  Can now get/set symmetries on surface objects.
setSymmetries will trigger a regen.

Indentation.
2025-05-28 13:01:45 -04:00
David Koes
7030ef27c3 Antialiasing improvements.
This is in response to Issue #832.  The previous FXAA algorithm didn't
work particularly well unless applied to upsampled outputs.  This
implements a slighltly more complex algorithm (same as molstar) that
looks better without upscaling.

Add an upscale viewer config option so user can configure level of
refinement.
2025-05-27 17:26:00 -04:00
David Koes
a7e328065d Merge pull request #831 from AbCellera/master
Build as both UMD and ES6 modules.
2025-05-12 15:33:20 -04:00
Alex Ford
a6224bc549 Fixup index.html from es6 module. 2025-05-07 15:41:27 +00:00
Alex Ford
1b546cac34 Add fallback to sync surface generation in es6 module build. 2025-05-07 15:40:37 +00:00
Alex Ford
23fefcd37e Smoke-test index with es6 module, surfaceworker is broken. 2025-05-07 15:02:46 +00:00
Alex Ford
59215e2605 Add example with es6 module and umd imports 2025-05-07 15:02:19 +00:00
Alex Ford
138c533c70 Fix ref to window-level Dmol in colors 2025-05-07 15:02:00 +00:00
Alex Ford
042a9bd748 Expose 3Dmol as ES6 module 2025-05-07 15:01:35 +00:00
David Koes
5729c51b44 Merge branch 'master' of github.com:3dmol/3Dmol.js 2025-04-03 14:08:29 -04:00