tr3.js is my attempt at generating random tree-like structures using javascript. The script provides an API in order to customize the output according to a few pre-defined style. It’s also possible to extend the engine with your own style definitions the way you see fit.

Check out the following screenshots of various rendering styles:









The source code for tr3.js can be found on github. It is currently still in development so expect the unexpected 🙂