= min(1.0, 0.0005 * uTime);
        float d = triangle_distance(uv, scale * a, scale * b, scale * c);
        gl_FragColor.rgb = (1.0 - smoothstep(0.0, 0.01, d)) * color.rgb;
        gl_FragColor.a = 1.0;
      }
    `;

    const imgURL = 'https://p0.ssl.qhimg.com/t010ef34cd7b52b559f.jpg';
    
    const canvas = document.querySelector('canvas');
    const renderer = new GlRenderer(canvas);
    const program = renderer.compileSync(fragment, vertex);
    renderer.useProgram(program);

    (async function ()