Nintendo Colour Converter

03Feb11

Hacked together a processing sketch this afternoon that converts an image or a live video stream from a webcam into the lovely Nintendo Entertainment System colour palette.

The code horizontally and vertically samples every n number of pixels of the video stream or image, and picks the closest available colour from the NES palette. The sample resolution can be set by the user. I’ll post up the source code later this evening when it’s tidied up and commented.

Many thanks to the NES Hacker Wiki for publishing the RGB values of the NES colour palette on their site.

Advertisements


No Responses Yet to “Nintendo Colour Converter”

  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s


%d bloggers like this: