Closed dansakamoto closed 10 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()
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()
Another option: test compatibility with hydra-ts
From the hydra-synth readme: