s0.initImage("/images/hydra/hollow-sun-brano-tLFHQIqALz0-unsplash.jpg")
src(s0)
.scale(1,1.1)
.scroll(-0.02,0)
.out()
src(o0)
.scale(() => 1 + 0.1 * Math.sin(time/13))
.mult(src(s0)
.rotate(() => (time/20) % 360)
.scale(() => 1.3 + 0.2 * Math.sin(time/13))
.scroll(() => 0.1 * Math.sin(time/9))
) // SOLAR FLARES
.out(o1)
src(o1)
// Tache d'etoiles
.add(noise(300,0.051)
.mult(noise(0.5,0.01)
)
.brightness(0.3)
.contrast(1.3)
.thresh(0.93)
).out(o2)
src(o2).scale(1.12)
// .scroll(0.1,0)
.add(noise(100).thresh(0.9).mask(src(o1).invert()))
.out(o3)
render(o3)