Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

molstar

Package Overview
Dependencies
Maintainers
0
Versions
283
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

molstar - npm Package Versions

1
29

3.35.0

Diff

Changelog

Source

[v3.35.0] - 2023-05-14

  • Enable odd dash count (1,3,5)
  • Add principal axes spec and fix edge cases
  • Add a uniform color theme for NtC tube that still paints residue and segment dividers in a different color
  • Mesh exporter improvements
    • Support points & lines in glTF export
    • Set alphaMode and doubleSided in glTF export
    • Fix flipped cylinder caps
  • Fix bond assignments struct_conn records referencing waters
  • Add StructConn extension providing functions for inspecting struct_conns
  • Fix PluginState.setSnapshot triggering unnecessary state updates
  • Fix an edge case in the mol-state's State when trying to apply a transform to an existing Null object
  • Add SbNcbrPartialCharges extension for coloring and labeling atoms and residues by partial atomic charges
    • uses custom mmcif categories _sb_ncbr_partial_atomic_charges_meta and _sb_ncbr_partial_atomic_charges (more info in README.md)
  • Parse HEADER record when reading PDB file
  • Support ignoreHydrogens in interactions representation
  • Add hydroxyproline (HYP) commonly present in collagen molecules to the list of amino acids
  • Fix assemblies for Archive PDB files (do not generate unique label_asym_id if REMARK 350 is present)
  • Add additional functions to core.math in mol-script
    • cantorPairing, sortedCantorPairing, invertCantorPairing,
    • trunc, sign
arose
published 3.34.0 •

Changelog

Source

[v3.34.0] - 2023-04-16

  • Avoid renderMarkingDepth for fully transparent renderables
  • Remove camera.far doubling workaround
  • Add ModifiersKeys.areNone helper function
  • Do not render NtC tube segments unless all required atoms are present in the structure
  • Fix rendering issues caused by VAO reuse
  • Add "Zoom All", "Orient Axes", "Reset Axes" buttons to the "Reset Camera" button
  • Improve trackball move-state handling when key bindings use modifiers
  • Fix rendering with very small viewport and SSAO enabled
  • Fix .getAllLoci for structure representations with structure.child
  • Fix readAllLinesAsync refering to dom length property
  • Make mol-util/file-info node compatible
  • Add eachLocation to representation/visual interface
arose
published 3.33.0 •

Changelog

Source

[v3.33.0] - 2023-04-02

  • Handle resizes of viewer element even when window remains the same size
  • Throttle canvas resize events
  • Selection toggle buttons hidden if selection mode is off
  • Camera focus loci bindings allow reset on click-away to be overridden
  • Input/controls improvements
    • Move or fly around the scene using keys
    • Pointer lock to look around scene
    • Toggle spin/rock animation using keys
  • Apply bumpiness as lightness variation with ignoreLight
  • Remove JSX reference from loci-labels.ts
  • Fix overpaint/transparency/substance smoothing not updated when geometry changes
  • Fix camera project/unproject when using offset viewport
  • Add support for loading all blocks from a mmcif file as a trajectory
  • Add Frustum3D and Plane3D math primitives
  • Include occupancy and B_iso_or_equiv when creating Conformation from Model
  • Remove LazyImports (introduced in v3.31.1)
dsehnal
published 3.32.0 •

Changelog

Source

[v3.32.0] - 2023-03-20

  • Avoid rendering of fully transparent renderables
  • Add occlusion color parameter
  • Fix issue with outlines and orthographic camera
  • Reduce over-blurring occlusion at larger view distances
  • Fix occlusion artefact with non-canvas viewport and pixel-ratio > 1
  • Update nodejs-shims conditionals to handle polyfilled document object in NodeJS environment.
  • Ensure marking edges are at least one pixel wide
  • Add exposure parameter to renderer
  • Only trigger marking when mouse is directly over canvas
  • Fix blurry occlusion in screenshots
  • [Breaking] Add setFSModule to mol-util/data-source instead of trying to trick WebPack
dsehnal
published 3.31.4 •

Changelog

Source

[v3.31.4] - 2023-02-24

  • Allow link cylinder/line dashCount set to '0'
  • Stop animation loop when disposing PluginContext (thanks @gfrn for identifying the issue)
dsehnal
published 3.31.3 •

Changelog

Source

[v3.31.3] - 2023-02-22

  • Fix impostor bond visuals not correctly updating on sizeFactor changes
  • Fix degenerate case in PCA
  • Fix near clipping avoidance in impostor shaders
  • Update fs import in data-source.ts
arose
published 3.31.2 •

Changelog

Source

[v3.31.2] - 2023-02-12

  • Fix exit code of volume pack executable (pack.ts). Now exits with non-0 status when an error happens
  • Remove pca transform from components ui focus (too distracting)
  • Fix artefacts with opaque outlines behind transparent objects
  • Fix polymer trace visual not updating
  • Fix use of WEBGL_provoking_vertex
arose
published 3.31.1 •

Changelog

Source

[v3.31.1] - 2023-02-05

  • Improve Component camera focus based on the PCA of the structure and the following rules:
    • The first residue should be in first quadrant if there is only one chain
    • The average position of the residues of the first chain should be in the first quadrant if there is more than one chain
  • Add HeadlessPluginContext and HeadlessScreenshotHelper to be used in Node.js
  • Add example image-renderer
  • Fix wrong offset when rendering text with orthographic projection
  • Update camera/handle helper when devicePixelRatio changes
  • Add various options to customize the axes camera-helper
  • Fix issue with texture-mesh color smoothing when changing themes
  • Add fast boundary helper and corresponding unit trait
  • Add Observable for Canvas3D commits
arose
published 3.31.0 •

arose
published 3.30.0 •

Changelog

Source

[v3.30.0] - 2023-01-29

  • Improve Dnatco extension
    • Factor out common code in Dnatco extension
    • Add NtC tube visual. Applicable for structures with NtC annotation
    • [Breaking] Rename DnatcoConfalPyramids to DnatcoNtCs
  • Improve boundary calculation performance
  • Add option to create & include images in state snapshots
  • Fix SSAO artefacts with high bias values
  • Fix SSAO resolution scale parameter handling
  • Improve outlines, visually more stable at different view distances
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc