I did something clever a while back that I wanted to share. I wanted to use the three.js
module in JavaScript server-side in Node which is problematic since there’s no Window and therefore no Canvas object to render to.
Working around those limitations, I then created a CLI app to accept text to render into a 3D context then convert into a mesh file, suitable for importing into a CAD app or slicing directly in Cura, for example, then ready-to-print on a 3D printer. The JavaScript translates the incoming text into character representations within the scene (to the accepted braille standards).