Skip to content

Given a color palette, transfers the colors to an image using the nearest color method, creating a pixelated image. Javascript and HTML.

License

Notifications You must be signed in to change notification settings

turtledna/Color-Palette-To-Image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Color Palette To Image v1.0

Given a color palette, transfers the colors to an image using the nearest color method, creating a pixelated image. Javascript and HTML. See http://turtledna.neocities.org/colorpalettetoimage/index.html for a working demo.

I created this for use with Borer to reduce the colors in an image so that the colors themselves can map as indexes into a codex (a small library of functions). Borer is an example of sequenced programming using turtle functions and sequences to read and alter data including images.

Demonstration image

To run

Download and extract first, then run index.html on Apache server or http://localhost. Built using Chrome.

About

Given a color palette, transfers the colors to an image using the nearest color method, creating a pixelated image. Javascript and HTML.

Resources

License

Stars

Watchers

Forks

Packages

No packages published