Comments (2)
Codesandbox does have some strange quirks. One of them I've found is that it doesn't like the .esm.js file, but if you import from textmesh-standalone.umd.js it works fine. No idea why. 🤷 That and bumping up the font size seems to fix your example.
from troika.
Awesome that did the trick! It's so much better than my previous solution, it looks great on windows and it's so much easier not having to generate the textures yourself. Thanks for this!
from troika.
Related Issues (20)
- Text: allow for multiple SDF atlas textures
- troika-three-text issues in Chrome 114? HOT 6
- R3F example: Instanced Uniforms Mesh error on later versions of Three HOT 1
- ReferenceError `_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_12__ is not defined` HOT 2
- troika-three-text: Add an option to change defaultFontURL in the TextBuilder default config for offline devs HOT 1
- [Feature Request] troika-three-text sizeRanges similar to colorRanges HOT 1
- dependency problems when creating a new react app
- Examples not using react functional HOT 1
- Text shaping: support glyph decomposition
- Render math equations from latex syntax? HOT 1
- R3F: Ade font style is not working on some glyphs HOT 5
- Example for troika-three-text has errors under typescript and at runtime HOT 3
- troika-three-text: Kerning is off HOT 9
- Discussion about a new feature---How can I control the width and height ratio (aspect ratio)? HOT 4
- Text.sync can't update the mesh smoothly when I excute sync method quickly HOT 3
- About fonts CDN HOT 3
- Can I call sync with async/await syntax? HOT 2
- Util function getCaretAtPoint can't get the uniform text caret vertical position for number/character and Chinese text. HOT 5
- Runtime error: 'webgl-sdf-generator' does not contain a default export (imported as 'createSDFGenerator'). HOT 1
- Emoji and Unicode support HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from troika.