Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
zoey-lin-hydra-practice [2022/12/28 06:53] – zoey.lin | zoey-lin-hydra-practice [2023/01/22 00:58] (current) – zoey.lin | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | =====Hydra Practice===== | + | ======Hydra Practice====== |
Made by: [[zoey-lin|Zoey]] | Made by: [[zoey-lin|Zoey]] | ||
Line 5: | Line 5: | ||
====hydra sketch 1==== | ====hydra sketch 1==== | ||
**Try to move your mouse** | **Try to move your mouse** | ||
+ | |||
+ | < | ||
+ | voronoi(1000, | ||
+ | .mult(osc(50, | ||
+ | .modulate(o0, | ||
+ | .out(o0) | ||
+ | </ | ||
+ | |||
< | < | ||
<iframe | <iframe | ||
Line 12: | Line 20: | ||
====hydra sketch 2==== | ====hydra sketch 2==== | ||
+ | |||
+ | < | ||
+ | osc(50, -0.1, 10) | ||
+ | .kaleid(100) | ||
+ | .repeat(8, 5) | ||
+ | .out() | ||
+ | </ | ||
+ | |||
< | < | ||
<iframe | <iframe | ||
Line 19: | Line 35: | ||
====hydra sketch 3==== | ====hydra sketch 3==== | ||
+ | |||
+ | < | ||
+ | noise(10, 1) | ||
+ | .modulateScrollY(osc(50), | ||
+ | .rotate( () => time%10 ) | ||
+ | .out(o0) | ||
+ | </ | ||
+ | |||
< | < | ||
<iframe | <iframe | ||
Line 27: | Line 51: | ||
====hydra sketch 4==== | ====hydra sketch 4==== | ||
**just move your mouse** | **just move your mouse** | ||
+ | |||
+ | < | ||
+ | osc(5, | ||
+ | .scroll( | ||
+ | () => -mouse.x / width, | ||
+ | () => -mouse.y / height) | ||
+ | .out(o0) | ||
+ | </ | ||
+ | |||
< | < | ||
<iframe | <iframe | ||
Line 35: | Line 68: | ||
====hydra sketch 5==== | ====hydra sketch 5==== | ||
**just move your mouse** | **just move your mouse** | ||
+ | |||
+ | < | ||
+ | noise([400, | ||
+ | .color(2, | ||
+ | .invert([0, | ||
+ | .out(o0) | ||
+ | </ | ||
+ | |||
< | < | ||
<iframe | <iframe |