See the demo here.
The tree generation code is written in C++ and compiled to Web Assembly. The rendering is done in WebGL, with some glue JavaScript code. The generation algorithm is loosely based off this paper and works by simulating competition for light.