Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| zoey-lin-destressing-image [2022/12/28 02:02] – created zoey.lin | zoey-lin-destressing-image [2023/01/22 04:04] (current) – zoey.lin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | =====Destressing Images===== | + | ======Destressing Images====== |
| Made by: [[zoey-lin|Zoey]] | Made by: [[zoey-lin|Zoey]] | ||
| + | **You can zoom in and zoom out with a mouse** | ||
| + | < | ||
| + | ===zoom out=== | ||
| + | {{: | ||
| + | |||
| + | ===zoom in=== | ||
| + | {{: | ||
| + | |||
| + | ===Code=== | ||
| + | < | ||
| + | s0.initScreen() | ||
| + | src(s0) | ||
| + | .add(src(o0), | ||
| + | .scale(() => | ||
| + | .out(o0) | ||
| + | |||
| + | src(o0) | ||
| + | .add(noise([1000, | ||
| + | .modulateScrollY(osc(10), | ||
| + | .add(noise(), | ||
| + | // .scale(() => | ||
| + | .out(o1) | ||
| + | |||
| + | render(o1) | ||
| + | </ | ||
| + | |||
| + | ==== Svg.js ==== | ||
| + | |||
| + | **In every fish the speed, color, and size are different, also the seaweed can move with the wave.** | ||
| + | |||
| + | < | ||