Commit eecd6aaf by PLN (Algolia)

StarryNights: Raph24

parent a121b804
s0.initImage("file:///home/pln/Work/Hydra/StarryNights/img/september-28-land.jpg") s0.initImage("file:///home/pln/Work/Hydra/StarryNights/img/september-28-2019-galaxy-ngc-300.jpg")
src(s0).out(o0) s1.initImage("file:///home/pln/Work/Hydra/StarryNights/img/cosmos.jpg")
src(s0)
// .scale(2, 1)
.out(o0)
src(o0) src(o0)
.blend(noise(100,0.6),0.06) .blend(noise(100,0.6),0.06)
.out(o1) .out(o1)
// Phase 2
src(o1) src(o1)
.blend( .mult(
noise(200).thresh(0.84) src(o1)
, 0.45 .scale(() => 0.8 + 0.4 * Math.abs(Math.sin(time *2) % 30 / 30))
.luma(0.7)
.thresh(() => 0.84 + 0.1 * Math.sin(time / 20))
// , 0.7
) )
.out(o2) .out(o2)
// Phase 3: Que les vents célestes te portent
render(o2) src(o2)
.blend(src(o1).scale(0.9).mask(shape(4).scale(3.3))
.luma(() => 0.5 + 0.15 * Math.sin(time*0.65))
, () => 0.4 + 0.3 * Math.sin(time))
.add(src(s1)
.scale(0.1)
.contrast(0.5)
// .mask(shape(4).scale(0.85))
.modulate(
// osc(1, () => 0.35 + 0.35 * Math.sin(time/2))
// osc(() => ((time / 10) % 150),0.002)
// src(o1)
noise(() => 11 - 5 * ((time/2000) % 5), 0.01)
)
.invert()
.luma(0.5)
.scale(3.7)
.mask(shape(4).scale(() => 1,4 + 1.2 * Math.abs(Math.sin(time / 13)))),
() => 0.2 * ((time / 1989) % 10)
)
.out(o3)
render(o3)
// render()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment