I created this interactive display that allows the user to assign a color to a vertex using GLSL and JavaScript.
This piece explores interactivity, color, and restrictions by allowing the user to assign a color to each vertex of a digital object. This interaction reflects the way the coding language WebGL processes the code and input that comprise the shader. Thus, through experience the user will intuitively discover the logic underpinning the program. When they view their shader, an algorithm will color the cube so that every point and color is visible with a generated gradient connecting these points. The object will live update as it is repositioned, creating a unique color field and form as the user adjusts their object.