Convert image pixels to small darts, pixel luminance is mapped to convexness of the dart.
Inspired by the book Opt Art by Robert Bosch.
Converting images to "DartArt" consists of two steps. First, an image is converted from color (RGB) to gray (liminance). Next, every gray pixel is converted to a small dart.
The figure below shows darts with increasing "convexness" (and thus increasing darkness).
The whole application is implemented in javascript. Just download and click dartart.html.
Instead of downloading, you can also run it via github.io.
The demo comes with two examples
(end)