I’m a beginner and wanting to learn more about GLSL, And I was not able to open the link swampmonster posted maybe due to the amount of time passing but I’m experiencing an error message and only seeing a small portion effecting; the error currently is

`Traceback (most recent call last):

File “</project1/glsl1_pixel>”, line “op(‘/project1/glsl1_pixel’).run()”

td.tdError: File “/project1/glsl1_pixel”, line 1

uniform float uTime;

^^^^^

SyntaxError: invalid syntax

Results of run operation resulted in exception.

python >>>’

and the code is

```
uniform float uTime;
uniform sampler2D sTD2DInputs[1];
uniform vec4 uTD2DInfos[1];
out vec4 fragColor;
float noise3(vec3 x) {
vec3 p = floor(x), f = fract(x);
f = f * f * (3.0 - 2.0 * f); // smoothstep to make derivative continuous at borders
#define hash3(p) fract(sin(1e3 * dot(p, vec3(1, 57, -13.7))) * 4375.5453) // rand
return mix(
mix(
mix(hash3(p + vec3(0, 0, 0)), hash3(p + vec3(1, 0, 0)), f.x), // trilinear interp
mix(hash3(p + vec3(0, 1, 0)), hash3(p + vec3(1, 1, 0)), f.x), f.y),
mix(
mix(hash3(p + vec3(0, 0, 1)), hash3(p + vec3(1, 0, 1)), f.x),
mix(hash3(p + vec3(0, 1, 1)), hash3(p + vec3(1, 1, 1)), f.x), f.y), f.z);
}
#define noise(x) (noise3(x) + noise3(x + 11.5)) / 2.0 // pseudoperlin improvement
void mainImage(out vec4 O, vec2 U) { // draw isovalues
vec2 R = uTD2DInfos[0].zw;
float n = noise(vec3(U * 8.0 / R.y, 0.1 * uTime));
float v = sin(6.28 * 10.0 * n);
float t = uTime;
v = smoothstep(1.0, 0.0, 0.5 * abs(v) / fwidth(v));
O = mix(
exp(-33.0 / R.y) * texture(sTD2DInputs[0], (U + vec2(1.0, sin(t))) / R),
0.5 + 0.5 * sin(12.0 * n + vec4(0.0, 2.1, -2.1, 0.0)),
v);
}
void main() {
vec2 uv = gl_FragCoord.xy;
mainImage(fragColor, uv);
}
```

thank you for you’re help!