triode

First Patch: Hydra Signal and JSX

Open the Playground and run this full cue with Ctrl+Shift+Enter.

osc(8, 0.1, 0.8).out(o1);
renderScene(
  <mesh>
    <boxGeometry />
    <TriodeMaterial signal={src(o1)} />
  </mesh>,
  o2,
  { controls: true },
);
src(o1).layer(src(o2)).out(o0);
render(o0);

Change the oscillator frequency and run its line with Ctrl+Enter. Both the background and the material update. Drag the canvas to orbit the box.

Continue with the scene graph guide or the creative recipes.

Source docs/getting-started/first-patch.md