This is an old revision of the document!
Destressing Images
Made by: Zoey
You can play that with your mouse
zoom out
zoom in
Code
s0.initScreen() src(s0) .add(src(o0),0.1) .scale(() =>mouse.x/500) .out(o0) src(o0) .add(noise([1000,500]).scrollX(() => Math.sin(time*0.1),0.05),0.1) .modulateScrollY(osc(10),0.1,0) .add(noise(),[0.1, 0.05]) // .scale(() =>mouse.x/500) .out(o1) render(o1)
svg.js final version 02
In every fish the speed, color, and size are different, also the seaweed can move with the wave.