s0.initScreen()
src(s0).modulateScale(s0,[0.6,1,2,3,5].smooth()).mask(shape(200,0.4,19)).blend(s0,[2,3].smooth()).blend(s0,3).hue([2,3,7,9,11].smooth())
.saturate(()=>Math.sin(time)*3).blend(s0,[0.1,1].smooth()).contrast().out()
solid(0,0,1)
.add(voronoi(123,5,50))
.mult(osc(1111,0))
.rotate(0.3)
.add(shape(0.55).color(0,0,1))
.mult(shape(0.2).scale(0.99,0.5))
.mult(shape(0.5).color(0,0,1))
.add(shape(200,[-0.1,0.5]
.smooth()
.fast(0.4),1.5)
// hay fuego en el agua
.color(3,0.5,0)
.scale(0.7))
.repeat(1,1)
.modulate(noise(0.9),
() => 1 * Math.sin(0.11 * time))
.shift(0.3,0,0.6,[0.4,0.8].smooth())
.out()
speed=0.3
p1 = new P5()
textArray=['¿somos','compatibles?','compartibles?','convertibles?','comestibles?','combustibles?','somos?','¿somos?']
p1.draw=()=>{
if(p1.mouseIsPressed)(
p1.fill('blue'))
else(
p1.fill('yellow')
)
p1.textSize(160)
p1.stroke('black')
p1.strokeWeight(3.3)
index = Math.floor(5*time%textArray.length)
p1.clear()
p1.text(textArray[index], p1.mouseX, p1.mouseY);
}
s0.init({src:p1.canvas})
s1.initCam()
src(s1).saturate(0).thresh().layer(src(s0))
.modulateScale(voronoi(3,0.1,0.1),[-0.8,0.08].smooth()).hue([1,3].smooth())
.modulateScale(src(s1),-0.8).scrollY(-0.09)
//.blend(src(s0),0.5).scrollY(-0.1).scrollX(0.01,-0.01).hue([1,3].smooth())
.blend(src(s0),0.3).scrollY(-0.11).hue([1,3].smooth()).scale(0.7)
.out()
speed=0.3