From dc35ab534f3db2ea00ace98ae1188179204c8345 Mon Sep 17 00:00:00 2001 From: Florencia Alonso Date: Fri, 4 Feb 2022 13:03:30 +0000 Subject: [PATCH] =?UTF-8?q?A=C3=B1adir=20'floor.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- floor.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 floor.js diff --git a/floor.js b/floor.js new file mode 100644 index 0000000..4b40e62 --- /dev/null +++ b/floor.js @@ -0,0 +1,12 @@ +osc(300, 0) +.thresh(0.3, 0.9) +.modulateScale(osc(100, 0), 0.05) +.modulate(noise(3, 0), 0.01) +.modulateRotate(osc(2, 0), 3) +.modulateScale(noise(2,0),0.1) +.color(0.8, 0.3, 0) +.saturate(0.9) +.modulate(gradient().repeat(4,4).sub(gradient()).add(osc(6,0,1.5).brightness(-0.5).modulate(noise(9,0.0).sub(gradient()),1).pixelate(4,4),0.3),1) +.modulate(osc(Math.PI*4,0).thresh(0.5,0).invert().rotate(Math.PI/2).color(1,0),0.125) +.mask(shape(4,0.99,0).repeat(4,4,0.5)) +.out() \ No newline at end of file