Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 418 Bytes

File metadata and controls

5 lines (3 loc) · 418 Bytes

Tree Generator with Web Assembly & WebGL

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.