aboutsummaryrefslogtreecommitdiff
path: root/src/shader
diff options
context:
space:
mode:
Diffstat (limited to 'src/shader')
-rw-r--r--src/shader/compute.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader/compute.glsl b/src/shader/compute.glsl
index 8b1deab..58bf08b 100644
--- a/src/shader/compute.glsl
+++ b/src/shader/compute.glsl
@@ -22,7 +22,7 @@ void main() {
vec2 v = vec2(data[idx+0], data[idx+1]);
if ( data[idx+2] < 5. && insideWorld(v) ) {
- data[idx+0] += 0.01 * cos(v.x*cos(v.y));
+ data[idx+0] += 0.01 * cos(v.x*sin(v.y));
data[idx+1] += 0.01 * sin(v.x-v.y);
data[idx+2] += 0.01;
} else {