I could not add the Binary Tree function yet.
I am working on making a Bokeh light lamp with an app to add an image or video source. It is a very first sketch to sorting the colors and translate the photo to bokeh light image.
<Bokeh Light prototype>
P5 sketch for translating the photo(Right) to Bokeh style image(Left).
I tried to use Binary tree to sorting the color to make the order by hue or saturation.
I only got this ‘Red’ value using Binary tree functions.