s1.initVideo("https://enredaderas.github.io/mundo.mp4")
s0.initVideo("https://enredaderas.github.io/cielo.mp4")
s3.initVideo("https://enredaderas.github.io/madera.mp4")
s2.initVideo("https://enredaderas.github.io/rumbo.mp4")
src(s1).scale(0.5, 1.75, ()=>window.innerWidth/window.innerHeight)
.scrollY(({time}) => Math.cos(time) * -0.008 )
.modulate(s1, () => Math(time) * 0.063)
.scale(0.68)
.out(o1)
render(o1)
s1.initVideo("https://enredaderas.github.io/mundo.mp4")
src(s1).scale(0.5,[1.01],()=>window.innerWidth/window.innerHeight)
.modulate(s1, () => 0.51)
.scale(0.7)
.out(o1)
render(o1)
s0.initVideo("https://enredaderas.github.io/cielo.mp4")
src(s0) .scrollY(({time}) => Math.cos(time) * -0.008 )
.scale(0.5, 1.75, ()=>window.innerWidth/window.innerHeight)
.modulate(s2, () => Math(time) * 0.063)
.scale(0.68).brightness(0.2)
.out(o0)
render(o0)
s0.initVideo("https://enredaderas.github.io/cielo.mp4")
src(o0)
.modulate(
osc(2,0,1.5).modulate(voronoi(16).sub(gradient()),0.9)
.brightness(-0.5)
,0.003)
.layer(
osc(3,0.5,1.5).mask(shape(4,-0.03,0))
).out(o0)
render(o0)
s3.initVideo("https://enredaderas.github.io/madera.mp4")
src(s3).scale(1, 2,()=>window.innerWidth/window.innerHeight)
.scrollX(({time}) => Math.sin(time) * 0.002 )
.modulate(s2, () => Math(time) * 0.063)
.modulateScrollY(s3, () => 0.9, -0.017)
.modulate(s3, () => 0.51)
.scale(0.88)
.out(o3)
render(o3)
s2.initVideo("https://enredaderas.github.io/rumbo.mp4")
src(s2).scale(1, 2,()=>window.innerWidth/window.innerHeight)
.scrollX(({time}) => Math.cos(time) * -0.008 )
.modulate(s2, () => Math(time) * 0.063)
.modulateScrollY(s2, () => 0.9, -0.037)
.modulate(s3, () => 0.51)
.scale(0.8)
.out(o2)
render(o2)
s0.initVideo("https://enredaderas.github.io/xalapa.mp4")
src(s0).scale(0.5, 1.75, ()=>window.innerWidth/window.innerHeight)
.scrollY(({time}) => Math.cos(time) * -0.08 )
.scale(0.98)
.out(o0)
render(o0)