Nature of Code / Exercise #1 / Binary Tree

full screen

EXERCISE #1Visual Binary Trees: I wanted to concentrate on something visual and understand binary trees in code. The samples above (heavily relying on Dan Shiffman’s video tutorial and source code on binary trees viz) are really basic playing with colors and shapes in p5 taking inspiration from Giorgia Lupi and Stefanie Posavec’s Dear Data graphs to help myself understand the mechanism of the code. I definitely need to work on this more to come up with something more original. Eventually, I’d like to model it after these neural illustrations done below by neuroscientist, Santiago Ramon y Cajal.


Leave a Reply