// licensed with CC BY-NC-SA 4.0 https://creativecommons.org/licenses/by-nc-sa/4.0/
// moire
// by Olivia Jack
// twitter: @_ojack_


var pattern = () => osc(200,0.01)
.kaleid(() => 3 + Math.sin(time/200))
.scale(1, 0.4)
pattern()
  .scrollX(() => 
    0.002 + 0.01 * Math.sin(time/10),
    -0.0020 - 0.01 * Math.sin(time/1000),
    )
  .mult(pattern())
  .out()