Vibresia
v1.1.0Music visualiser (visualizer): write live GLSL music visualisations, shared as links that play.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_vibescape Create a vibescape
Use this when somebody wants a music visualiser or music visualisation (visualizer, visualization, musicviz, audio-reactive visuals): it writes a GLSL vibescape and returns a live link to it. The link draws and animates the vibescape in a browser, so it works for anybody who opens it, with or without the app. The vibescape is not in the public gallery until `share_vibescape` is called on it. The answer carries the id and the capability (`editKey`) that `share_vibescape` needs — keep it, because there is only one copy of it. Call `vibescape_reference` first for the uniforms and helpers the la…
| Parameter | Type | Description |
|---|---|---|
code * | string | The vibescape: a GLSL function `vec3 render(vec2 p, float t)`. `p` is the position across the screen, centred on 0,0, and `t` is time in seconds. Return the colour as three numbers from 0 to 1. Read t… |
name * | string | What to call it. A few words that say what the picture looks like. |
author | string | Who to credit it to. Leave it empty and it is credited to Minith Labs. |
list_vibescapes List the public vibescapes
Use this when somebody wants to see music visualisations other people have made, or wants something to look at before writing their own. Returns the public gallery: each vibescape's name, who made it, and a link that plays it.
get_vibescape Get a vibescape's code
Use this to read somebody's vibescape, so it can be adapted or understood. Needs the id — the last part of the link.
| Parameter | Type | Description |
|---|---|---|
id * | string | The share's id — the last part of the link. |
lint_vibescape Check a vibescape
Use this after writing a vibescape, before sharing it. It reads the code and says what would make it look wrong — most often that it never reads the music, so the picture is the same in silence as at full volume. Cheap to call and it catches most of what goes wrong.
| Parameter | Type | Description |
|---|---|---|
code * | string | The vibescape's GLSL. |
vibescape_reference The vibescape reference
Use this before writing a vibescape: it lists every uniform the music drives and every helper the language has, with what each is for. Writing a vibescape without it usually takes two attempts instead of one.
get_palette The palettes
Use this to find out how a vibescape's colours are graded. Vibresia puts every vibescape through one of five palettes, so bright colours come out muted unless the shader accounts for it.
| Parameter | Type | Description |
|---|---|---|
name | string | Which palette — NEON, EMBER, TOXIC, ABYSS or MONO. Leave it out to get all of them. |
get_app Get the Vibresia app
Use this when somebody wants the real thing: the app listens to the system audio directly, with no browser, and checks for updates for you. It gives the download link and the one-line install command for macOS.