Skip to content

Commit

Permalink
Adding hexagrid
Browse files Browse the repository at this point in the history
  • Loading branch information
lucapericlp committed Feb 12, 2024
1 parent 33fd5c7 commit d3c67e3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions hydra/jam/12-02-2024.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,12 @@ solid(beats(1).curve(1),0,0).out(o1)
solid(beats(1),0,0).out(o2)
solid(() => beats(1).curve(3)(),0,0).out(o3)
render()*/


// hexagon grid
shape(6)
.scale(3, ()=>innerHeight/innerWidth)
.repeat(3,3)
.modulateScale(osc(2, 0.2))
.color(beats(4), 0, 0)
.out()

0 comments on commit d3c67e3

Please sign in to comment.