troika
troika copied to clipboard
A JavaScript framework for interactive 3D and 2D visualizations
Similar to how Three.js [textGeometry](https://threejs.org/docs/#api/en/geometries/TextGeometry) supports extrusion and specifying a height, it would be great if this lib supported that as well.
Working branch for issue #102
Issue demonstrated at: https://codesandbox.io/s/selective-bloom-forked-chd9ff?file=/src/App.js When using the postprocessing library with the material override workaround in place, it tries to set `.material` to the value of `.material`. Since Text has a...
Hello, I'm using the `@react-three/drei` library, which includes `troika-three-text` to power its Text component. The problem is, even when not using the Text component, `troika-three-text` currently ends up taking 71.6KB...
When overflowing the maxWidth and wrapping is disabled, we should support truncation of the text with or without ellipsis. Ideally we'd support everything in the CSS [text-overflow](https://developer.mozilla.org/en-US/docs/Web/CSS/text-overflow) property. We may...
Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.4.0 to 16.7.0. Release notes Sourced from jsdom's releases. Version 16.7.0 Added AbortSignal.abort(). (ninevra) Added dummy x and y properties to the return value of getBoundingClientRect(). (eiko)...
Hi, It seem's that there are a few bugs in examples when in XR mode (I'm using an Oculus Quest 2). I think theses bugs are known but i didn't...
Hello! This PR updates troika-three-text so that users can use the "Non-breaking space" character (https://en.wikipedia.org/wiki/Non-breaking_space) without causing a linebreak. This is done by updating the use of `\s` (whitespace selector)...
Netlify build is broken on main. [Introduction of the `gl` package](https://github.com/protectwise/troika/commit/f5ba32eba2665402ca7ef2fe66847b99597dcf36#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R20) for unit tests is the culprit, Netlify's images apparently don't have the correct headers to compile it.
See corresponding CSS feature: https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/unicode-range The `font` property should accept an array of unicode-range-to-font-file mappings.