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

troika-animation

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

troika-animation - npm Package Versions

2345

0.52.0

Diff

Changelog

Source

0.52.0 (2024-11-11)

Features

  • BatchedText: Support remaining visual properties (60c5e93)
lojjic
published 0.51.0 •

Changelog

Source

0.51.0 (2024-11-10)

Bug Fixes

  • BatchedText: Fix texel read for taller data texture (57f3b0b)
  • troika-three-text: Fix error when first character is whitespace #313 (f71679e)

Features

  • BatchedText: support fillOpacity, and color now sets the diffuse uniform (8f83424)
  • troika-three-text: Add config to disable web worker (86023ec), closes #337
  • troika-worker-utils: Add a handle to force running worker modules on main thread (4f8bc13)
lojjic
published 0.50.0 •

Changelog

Source

0.50.0 (2024-10-11)

Bug Fixes

  • troika-three-utils: add colorspace_fragment (introduced in Three r154) to the list of fragment shaders to process in upgradeShaders() (#325) (9169ebf)
  • change JSDoc for createDerivedMaterial params to be optional (#307) (6969e85)

Features

  • troika-three-text: allow overriding text material derivation (9a48e0c)
  • troika-three-text: ALPHA: BatchedText for batching many Text instances in a single draw call (79c9c50)
  • troika-three-utils: add isDerivedFrom method to derived materials (a4a2fcd)
lojjic
published 0.49.0 •

Changelog

Source

0.49.0 (2023-10-08)

Bug Fixes

  • support opentype ccmp substitutions (glyph compositions) (1e358b2)

Features

  • add support for positioning of diacritic marks (e.g. Thai) (301c34c)
lojjic
published 0.48.0 •

Changelog

Source

0.48.0 (2023-09-09)

Features

  • troika-three-text: add fallback font loading for full Unicode support (#279) (6fb8061), closes #13 #65
lojjic
published 0.47.2 •

Changelog

Source

0.47.2 (2023-05-15)

Bug Fixes

  • troika-three-utils: pass renderer argument to base material's onBeforeCompile (3a23a8e)
  • troika-three-utils: vertexTransform now handles MAP_UV token introduced in Three r152 (d8c32ed)
lojjic
published 0.47.0 •

Changelog

Source

0.47.0 (2022-12-15)

Bug Fixes

  • add compatibility up to ThreeJS r127 (03640a0)
  • troika-three-text: remove IIFEs for tree-shaking (#224) (2e688f0)
  • Remove incomplete ShaderFloatArray utility to fix build (ddf712a)
  • troika-three-text: include lineGap value from the font in 'normal' line-height calculation (c278118)
  • troika-three-text: update Typr to fix doubled kerning in some fonts (#196) (1fab9a2)
  • troika-three-text: use sTypoAscender/Descender from OS/2 font table if available (f5c244c)
  • troika-three-text: work around Safari<15 bug using SDF canvas as a texture (#199) (fca9aae)

Features

  • raise three min version to r125 and fix BufferGeometry references (#225) (f2ef803)
  • three-instanced-uniforms-mesh: add typescript definition file (#217) (cef3564)
  • troika-three-text: add 'top-cap' and 'top-ex' as keywords for anchorY (#193) (c6a10ae)
  • troika-three-text: include capHeight and xHeight font metrics in textRenderInfo (3459fd5)
  • troika-three-text: remove deprecated totalBounds/totalBlockSize properties from textRenderInfo (2b87308)
  • remove custom Thenable polyfill in favor of native promises (7af402e)
  • troika-three-text: remove long-deprecated anchor array property (752e302)
lojjic
published 0.46.0 •

Changelog

Source

0.46.0 (2022-03-05)

Features

  • troika-three-text: add a gpuAccelerateSDF property for opting out of webgl sdf generation (d436ffd)
  • troika-three-text: integrate webgl-sdf-generator for GPU-accelerated SDF generation (b5c9138)
lojjic
published 0.45.0 •

Changelog

Source

0.45.0 (2022-01-02)

Bug Fixes

  • createDerivedMaterial: propagate the base material's customProgramCacheKey (9c8c6b1)

Features

  • troika-three-text: SDFs for all fonts are now stored in the same texture (7e871f7)

Performance Improvements

  • troika-three-text: avoid extra draw call on double sided materials as of Three r130 (6222ef3)
  • troika-three-text: make the glyphColors buffer transferable (c8c92fa)
lojjic
published 0.44.0 •

Changelog

Source

0.44.0 (2021-11-14)

Bug Fixes

  • troika-three-text: fill in missing caret positions when the final glyph is a ligature - #165 (ad2eda6)
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