# Hydra

Browser\-based live\-coding video synthesizer with chained transformations, feedback and external image sources\.

ID: Q1084 · Revision: 1132

Type: software · License: GNU Affero General Public License version 3 for editor and synth engine[^license][^engine] · Status: active

Website: https://hydra.ojack.xyz/



Hydra is a browser\-based video synthesizer whose JavaScript\-style function chains compile into WebGL rendering\. It combines generated patterns, transformations and image sources in a model inspired by modular synthesis\. The web editor is one interface to the system; its synth engine can also be embedded in another JavaScript project\.[^home][^embed]

## A chain\-based visual instrument

Hydra expressions connect image generation, transformation and compositing into a rendered result\. This makes it suited to improvising procedural visuals and feedback effects by changing code during a performance\. The workflow is more specialized than a general drawing library: it organizes a visual signal chain rather than requiring each mark in an image to be placed individually\.[^home]

## Virtual outputs and feedback

The default system has four virtual outputs, named o0 through o3\. A rendered buffer can become another chain's source, and the display can show one buffer or a four\-way view\. These buffers are rendering resources within the application, not evidence of four independently connected physical displays\. Retaining buffer routing matters when reproducing a feedback patch in another tool\.[^outputs]

## External images and streaming limits

Sources can include cameras, video files, screen sharing and other HTML canvases\. A video source requires a direct media URL; a YouTube or Vimeo viewing page is not a video file, and cross\-origin restrictions can also prevent loading\. The same documentation explicitly marks initStream as currently broken in the editor because of server issues\. The general description of networked visuals should not override that specific limitation\.[^sources]

## Audio reactivity

Hydra analyzes the default microphone into FFT bins\. A parameter that reads those values through a per\-frame function can respond continuously, while cutoff, scaling and smoothing adjust responsiveness\. This describes audio\-driven visual control, not music synthesis or automatic beat\-perfect synchronization\. The author must choose which frequency information changes which visual parameter\.[^audio]

## Capturing output

The recording guide documents saving a canvas screenshot together with its generating code\. Its built\-in video recorder produces VP9 WebM files, with an explicit warning that quality can be low; external recording is described as another route\. A captured image or video preserves output, whereas the code and any media dependencies are needed to continue editing the underlying patch\.[^record]

## Embedding and licensing

The synth engine can be used as a JavaScript module in a separate page, with options for its canvas and automatic or application\-controlled render loop\. Both the editor and engine repositories identify AGPL\-3\.0 licensing, and the engine README describes it as experimental/in progress\. Embedding therefore requires attention to integration and licensing rather than assuming the hosted editor is the only deployment model\.[^embed][^license][^engine]

## Substitution considerations

Hydra can substitute for the procedural video\-synthesis portion of a [p5\.js](/p5js) project, especially when chained effects and feedback are the central interaction\. The two can also be combined, so substitution is not always the useful design choice\. Hydra's documented scope does not establish replacement of every p5\.js drawing or application feature\. No patch execution, microphone access, streaming connection or recording test was performed for this assessment\.[^home][^outputs][^p5]

## Capabilities and substitutions

### Feedback and output routing — supported

Four default virtual buffers can be rendered separately or combined as sources\.[^outputs]

Use case: Live coding generative and audio\-reactive browser visuals · Platforms: Web browser · Region: Version, build and integration requirements apply

### Audio\-reactive parameters — supported

FFT analysis of microphone input can control per\-frame visual parameters\.[^audio]

Use case: Live coding generative and audio\-reactive browser visuals · Platforms: Web browser · Region: Version, build and integration requirements apply

### Editor\-to\-editor streaming — limited

The external\-source documentation currently marks initStream as broken because of server issues\.[^sources]

Use case: Live coding generative and audio\-reactive browser visuals · Platforms: Web browser · Region: Version, build and integration requirements apply

### [Substitute for p5\.js](/p5js) — limited

Can replace procedural visual synthesis and feedback portions of browser creative work; it does not establish parity with p5\.js's broader drawing and interaction APIs\.[^home][^outputs][^p5]

Use case: Live coding generative and audio\-reactive browser visuals · Platforms: Web browser · Region: Version, build and integration requirements apply

## References

[^home]: [Hydra documentation overview](<https://hydra.ojack.xyz/docs/>) — Live\-coded video synthesis and WebGL implementation (vendor; retrieved 2026-10-07T19:16:52Z)

[^outputs]: [Hydra outputs](<https://hydra.ojack.xyz/docs/docs/learning/video-synth-basics/outputs/>) — Four virtual output buffers, routing and visible output selection (vendor; retrieved 2026-10-07T19:17:37Z)

[^sources]: [Hydra external sources](<https://hydra.ojack.xyz/docs/docs/learning/external-sources/>) — Camera/video/canvas input, direct media URLs and broken initStream notice (vendor; retrieved 2026-10-07T19:17:37Z)

[^audio]: [Hydra audio interaction](<https://hydra.ojack.xyz/docs/docs/learning/interactivity/audio/>) — Microphone FFT bins, per\-frame evaluation and smoothing (vendor; retrieved 2026-10-07T19:19:18Z)

[^record]: [Recording Hydra output](<https://hydra.ojack.xyz/docs/docs/learning/guides/how-to/record-hydra-output/>) — Screenshot/code capture, VP9 WebM recorder quality and external recording (vendor; retrieved 2026-10-07T19:17:37Z)

[^embed]: [Embedding Hydra](<https://hydra.ojack.xyz/docs/docs/learning/guides/how-to/hydra-in-a-webpage/>) — Synth module, canvas and render\-loop configuration (vendor; retrieved 2026-10-07T19:17:49Z)

[^license]: [Hydra editor license](<https://github.com/hydra-synth/hydra/blob/main/LICENSE>) — AGPL\-3\.0 license text (vendor; retrieved 2026-10-07T19:17:49Z)

[^engine]: [Hydra synth engine repository](<https://github.com/hydra-synth/hydra-synth>) — AGPL\-3\.0 engine and experimental/in\-progress status (vendor; retrieved 2026-10-07T19:19:32Z)

[^p5]: [p5\.js overview](<https://p5js.org/>) — JavaScript creative coding and interactive graphics (vendor; retrieved 2026-10-07T19:08:40Z)

Source revision: https://substitutefor.net/entities/Q1084?revision=1132
