Simple tree generation

A 2D recursive algorithm
A slightly tweaked version on a 3D canvas and rotating on the Y axis. Some random() calls are involved.
Adding in some opacity for a simulated depth.

iPhone X Depth Sensor to

This was a fun challenge (and a total hack). In the end it wasn’t that sophisticated, but it was a good exercise in UDP as well as data compression.