s0.initImage("https://git.plnech.fr/pln/Hydra/raw/04b44f643507d58827580c475d774fee5783f70e/420/img/cat.png")

src(s0)
  .rotate(9.6)
  .blend(src(o2)
  // .scale(0.9)
  ,0.97)
  .out(o0)

src(s0)
  .blend(src(s0)
    .mask(shape(4)
          .scale(3.24))
    .scale(0.3).scrollX(0.35).scrollY(-0.3), () => Math.sin(time/32) * 2)
  .add(src(o2)
    .scale(() => 0.4 + 0.08 * Math.sin(time / 100))
    .thresh(() => 0.85 + 0.125 * Math.sin(time/100))
    .rotate(() => -0.5 + Math.sin(time) / 150 % 360)
    .scrollX(-0.0001),0.79)
  .out(o2)

gradient(0.09).hue().out(o1)
shape(30).scale(4).mask(
  src(o1)
  .layer(src(o0).thresh(0.9))
)
.brightness(-0.2).contrast(0.7)
.out(o3)
render(o3)