Single-line 3D text Posted November 10th, 2018 by Wouter & filed under Javascript, WebGL. I wrote some JavaScript to create single-line 3D text using the three.js library to render 3D on a canvas using WebGL. Three.js can already render text with its TextGeometry class, but I wanted something simpler: single-line fonts.