Añadir 'floor.js'

This commit is contained in:
Florencia Alonso 2022-02-04 13:03:30 +00:00
parent 36ffb9746d
commit dc35ab534f

12
floor.js Normal file
View file

@ -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()