Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
zoey-lin-hydra-practice [2022/12/28 06:53] zoey.linzoey-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**
 +
 +<code>
 +voronoi(1000,1,1)
 +  .mult(osc(50,-0.1,8).kaleid(4))
 +  .modulate(o0, () => mouse.x * 0.0003)
 +  .out(o0)
 +</code>
 +
 <HTML> <HTML>
 <iframe <iframe
Line 12: Line 20:
  
 ====hydra sketch 2==== ====hydra sketch 2====
 +
 +<code>
 +osc(50, -0.1, 10)
 + .kaleid(100)
 + .repeat(8, 5)
 + .out()
 +</code>
 +
 <HTML> <HTML>
 <iframe <iframe
Line 19: Line 35:
  
 ====hydra sketch 3==== ====hydra sketch 3====
 +
 +<code>
 +noise(10, 1) 
 +  .modulateScrollY(osc(50),0.1,0)
 +  .rotate( () => time%10 )
 +  .out(o0)
 +</code>
 +
 <HTML> <HTML>
 <iframe <iframe
Line 27: Line 51:
 ====hydra sketch 4==== ====hydra sketch 4====
 **just move your mouse** **just move your mouse**
 +
 +<code>
 +osc(5,1,25).color(1,0.5,1).rotate(0, 0.9).kaleid().repeat()
 +  .scroll(
 +  () => -mouse.x / width,
 +  () => -mouse.y / height)
 +  .out(o0)
 +</code>
 +
 <HTML> <HTML>
 <iframe <iframe
Line 35: Line 68:
 ====hydra sketch 5==== ====hydra sketch 5====
 **just move your mouse** **just move your mouse**
 +
 +<code>
 +noise([400,200,100,50,25,10].fast(10))
 +  .color(2,0.7,2)
 +  .invert([0,1])
 +  .out(o0)
 +</code>
 +
 <HTML> <HTML>
 <iframe <iframe
  • zoey-lin-hydra-practice.1672239185.txt.gz
  • Last modified: 2022/12/28 06:53
  • by zoey.lin