This is an old revision of the document!


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)

In every fish the speed, color, and size are different, also the seaweed can move with the wave.

  • zoey-lin-destressing-image.1672222107.txt.gz
  • Last modified: 2022/12/28 02:08
  • by zoey.lin