Asymptote http://asymptote.sourceforge.net is a powerful descriptive vector graphics language for technical drawing, inspired by MetaPost but with an improved C++-like syntax. Asymptote provides for figures the same high-quality level of typesetting that LaTeX does for scientific text.
The asygl library was updated to support embedding of WebGL and WebGL2 scenes on the same page.