Skip to content

Convert image pixels to small darts, pixel luminance is mapped to convexness of the dart

Notifications You must be signed in to change notification settings

maarten-pennings/DartArt

Repository files navigation

DartArt

Convert image pixels to small darts, pixel luminance is mapped to convexness of the dart.

Inspired by the book Opt Art by Robert Bosch.

Make your own.

Introduction

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).

Darts

The whole application is implemented in javascript. Just download and click dartart.html.

Instead of downloading, you can also run it via github.io.

Examples

The demo comes with two examples

Colosseum

colosseum.jpg

colosseum-dart.jpg

colosseum-dart-zoom.png

Tower bridge

towerbridge.jpg

towerbridge-dart.jpg

(end)

About

Convert image pixels to small darts, pixel luminance is mapped to convexness of the dart

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages