rom1504 posted onGitHub
follow up of https://github.com/PrismarineJS/prismarine-viewer/pull/165
maybe using https://github.com/gamestdio/three-text2d
Resizing the canvas based on the text width I think could also work, using .measureText
.measureText
https://github.com/PrismarineJS/prismarine-viewer/blob/master/viewer/lib/entities.js#L11 code is there
Fund this Issue
Pull requests
© 2019 BoostIO, Inc.