theShader = loadShader('vert.glsl', 'frag.glsl');
"https://cdnjs.cloudflare.com/ajax/libs/topcoat/0.8.0/font/SourceCodePro-Bold.otf"
img = loadImage("texture.jpg");
canvas = createCanvas(1000,1000, WEBGL);
textGraphic = createGraphics(1000, 1000, WEBGL);
textGraphic.pixelDensity(2);
textGraphic.background(0);
textGraphic.textSize(40);
textGraphic.textAlign(CENTER, CENTER);
textGraphic.fill("#ffffff");
textGraphic.text(" AND", 40, -160);
textGraphic.text(" AS", 40, -120);
textGraphic.text(" THE", 40, -80);
textGraphic.text(" SUN", 40, -40);
textGraphic.text("GOSE", 40, -0);
textGraphic.text("DOWN", 40, 40);
theShader.setUniform("u_resolution", [width*2, height*2]);
theShader.setUniform("u_time", millis() / 1000.0);
theShader.setUniform("u_mouse", [mouseX, map(mouseY, 0, height, height, 0)]);
theShader.setUniform("u_img", img);
theShader.setUniform("u_text", textGraphic);
rect(width * -0.5, height * -0.5, width, height);