flok icon indicating copy to clipboard operation
flok copied to clipboard

Hydra `time` global variable seems to be clashing with another `time` from other target (strudel?)

Open munshkr opened this issue 2 years ago • 1 comments

Workaround for hydra sketches that use time: use time argument from anonymous callback:

For example:

shape(20, .2, .3)
  .scale(({ time }) => Math.sin(time)+1*2)
  .out()

munshkr avatar Jan 13 '24 15:01 munshkr

Related to #182

munshkr avatar Jan 13 '24 15:01 munshkr