Skip to content

Unlock custom brushes, natural fill effects and intuitive hatching in p5.js

149 B
Raw Blame
#version 300 es

out vec2 p;

void main() {
    vec3 v = vec3(-1);
    v[gl_VertexID] = 3.;
    p = v.xy;
    gl_Position = vec4(v.x, -v.y, 0, 1);
}