premiere_neige.js 703 Bytes
s0.initImage("file:///home/pln/Work/Hydra/Neige/img/mer.jpg")
s1.initImage("file:///home/pln/Work/Hydra/Neige/img/fonds.jpg")
src(s0)
  .rotate(() => 0.05 + 0.015 * Math.sin(time/40))
  // .scale(() => 1.05 + 0.05 * Math.sin(time/5))
  .out(o0)
//
src(o0)
  .blend(src(s1)
    .rotate(() => 180 + 0.01 * Math.cos(time))
    .scale(() => 0.1 + 0.001 * + Math.sin(time))
    ,0.5)
  .out(o1)
//
src(o1)
  .blend(src(o1)
    .scale(() => 0.95 + 0.05 * Math.sin(time/100))
   , 0.25)
  .brightness(() => -0.05 * Math.sin(time/100)).contrast(1.35)
  .out(o2)

src(o2)
  .scroll(-0.05,0.0)
  .scale(1.5,0.7)
  .saturate(() => 028 * Math.cos(Math.pow(time, 0.733)))
  .brightness(-0.15)
  .out(o3)

render(o3)