Skip to content

realaxl/pellet_pattern

Repository files navigation

Pellet Rendering

An approach to render bitmap graphics into the limited color space of airgun pellets. Airsoft Pellets are available in various colors. The set initially used had pellets in black, blue, green,red, yellow, grey and white.

The pellet diameter is 6 mm.

The idea for the rendering is to transform arbitrary bitmap data into a good representation using the pellet colors and the typically canvas with a reduced resolution. A 14 inch canvas, for example, in 4:3 ratio fills up with 48 x 37 = 2600 pellets.

Variables for rendering are

  • Choose an area of the source image bitmap
  • Adjust brightness and contrast
  • Pick the pellet colors for the target image
  • Calculate a color for each position of the target canvas.

Visit the Project build blog page for more details.

Examples

Mona Lisa Spock

Environment

  • Processing Version 2.1
  • Arduino 1.00 IDE
  • Windows 7 (64 bit)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages