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

troika-core

Package Overview
Dependencies
Maintainers
0
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

troika-core - npm Package Versions

1345

0.43.0

Diff

Changelog

Source

0.43.0 (2021-09-20)

Bug Fixes

  • InstancedUniformsMesh: reuse same derived material instance when uniform names change (bd7cea6), closes #154
  • remove warnings about many open worker module requests (164fb8f), closes #156

Features

  • troika-three-text: allow line wrapping after some common non-whitespace chars like hyphens (1b20e34), closes #136
  • troika-worker-utils: add a terminateWorker function (33b8455)
  • don't transpile UMD build files, fixing usage with Three.js r128 (e380b0d), closes #130

Performance Improvements

  • troika-three-text: parallelize SDF generation with multiple worker threads (c2bf886)
lojjic
published 0.42.0 •

Changelog

Source

0.42.0 (2021-05-17)

Bug Fixes

  • add three to peerDependencies in all leaf packages (0a11ab6)

Features

  • open up 'three' peer dependency to include future versions (d4a5b23)
lojjic
published 0.41.0 •

Changelog

Source

0.41.0 (2021-04-19)

Bug Fixes

  • troika-core: set animation/transition first when using .update() (8ebf59d)
  • troika-three-text: fix Arabic word position letter forms (480ee97)
  • troika-three-text: formatting characters no longer produce visible glyphs (c0d28e8)
  • troika-three-text: more correct impl for character joining types (2ce519a)
  • troika-three-text: prevent mutation of input to worldPositionToTextCoords method (d487b8a)

Features

  • update support up to threejs r127 (5b512f0)
  • troika-three-text: add full bidi text support (3fde850)
  • troika-three-text: simple bidi layout support, using explicit LRO/RLO/PDF chars only (d511655)
  • troika-three-text: very basic support for right-to-left text layout (ce887be)

Performance Improvements

  • prune some unused functions out of the Typr build (26e669f)
lojjic
published 0.40.0 •

Changelog

Source

0.40.0 (2021-02-28)

Bug Fixes

  • troika-three-text: fix boundingBox, boundingSphere, and raycasting with curveRadius (7cc7c82), closes #103

Features

  • troika-3d: add initThreeObject lifecycle method to Object3DFacade (230a87d)
  • troika-3d: remove need for manually defining material.instanceUniforms (a234f8c)
lojjic
published 0.39.0 •

Changelog

Source

0.39.0 (2021-02-15)

Bug Fixes

  • restore compatibility with three versions <0.113.0 by copying MathUtils.generateUUID (35856b5)

Features

  • troika-core: add requestRender method as nicer shortcut (c79254c)
  • troika-three-text: add curveRadius for applying cylindrical curvature (6fdfbbf)
  • troika-three-text: export a function for debugging SDF textures (3fb0c23)
  • troika-three-text: pack SDFs using all 4 color channels, to increase max glyphs in a texture (d236caf)
  • troika-xr: add basic TeleportControls (319ed29)
lojjic
published 0.38.0 •

Changelog

Source

0.38.0 (2021-01-24)

Bug Fixes

  • troika-three-text: allow negative percentages for outlineOffsetX/Y (3a274f0), closes #100

Features

  • move InstancedUniformsMesh to its own three-instanced-uniforms-mesh package (f623b1f)
lojjic
published 0.37.0 •

Changelog

Source

0.37.0 (2021-01-18)

Features

  • troika-three-text: added inner stroke and outline blur capabilities (e004b9d)
  • add InstancedUniformsMesh class for setting shader uniforms per instance (5fd4d79)

Performance Improvements

  • troika-three-text: swap tiny-inflate to fflate for minor speed boost on woff fonts (2ae29fa)
lojjic
published 0.36.0 •

Changelog

Source

0.36.0 (2020-12-04)

Bug Fixes

  • fix font parser build scripts (e2d88fa)
  • prevent error in WristMountedUI when gripPose is null (755d560)
  • use combined frustum for XR camera, using setProjectionFromUnion from three.js (ff1b9ae)
  • troika-three-text: fix wrong caret position for collapsed ligature characters (f220035)

Features

  • troika-three-text: fix kerning by updating from Typr.js to Typr.ts (43144cf), closes #70
lojjic
published 0.35.0 •

Changelog

Source

0.35.0 (2020-11-16)

Features

  • troika-xr: allow configuring framebufferScaleFactor, incl. ratios based on native (f63c160)
  • initial support for spring physics-based transitions (5e05bc8)
lojjic
published 0.34.0 •

Changelog

Source

0.34.0 (2020-10-19)

Bug Fixes

  • troika-three-text: clipRect is no longer clamped to the text block's bounds (15edbd9)
  • troika-three-text: fix text baseline being positioned too low (596d8ca)
  • troika-worker-utils: pre-transpile the .esm build - issue #84 (98248b6)

Features

  • troika-three-text: expose blockBounds and visibleBounds in textRenderInfo (f3340ec)
  • troika-three-text: text outline and better antialiasing at small sizes (3836809)

Performance Improvements

  • micro-optimization of sdf texture insertion loop (995c2a6)
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