Code & Results

Code & Results #

In this sections, we’ll present the main and more interesting results of the different snippets we’ve done on the topic of Shaders. Each one of these codes is discussed in detail in the corresponding section of the website.

Snippets #

Each snippet has a unique funcionality, here we’ll present a brief description of each one of them.

Color Blender #

This implementation mixes or blends two colors to create a third color. The user can select the two colors and the blending effect to be applied.

Color Blender

Glitch Board #

On this one the user is allowed to paint over the canvas and their strokes will be applied a cool glitch effect.

Glitch Board

Mosaic #

This program creates a mosaic, or a recreation of an image using smaller images. The user can select the size of the mosaic and toggle to the UV visualization.

Mosaic Showcase

Smart Mosaic #

Similar to the previous one, but here the mosaic work with only three images and looks for the best match in every pixel between the three images to recreate the original image.

Smart Mosaic