dansakamoto / flommo

https://flommo.dansakamoto.com
0 stars 0 forks source link

Use Hydra with standard (non-instance mode) syntax #66

Closed dansakamoto closed 10 months ago

dansakamoto commented 11 months ago

From the hydra-synth readme:

If you would like to keep the same syntax as hydra in non-global mode, consider destructuring the object further:

const { src, osc, gradient, shape, voronoi, noise, s0, s1, s2, s3, o0, o1, o2, o3, render } = hydra
shape(4).diff(osc(2, 0.1, 1.2)).out()
dansakamoto commented 11 months ago

Another option: test compatibility with hydra-ts