Nodes: Neon rings
glint · Examples · Tutorials · Gallery
Visual node mode: rings and angle into a palette, pushed by the music and flashing on the beat.
Audio-reactive: it moves with music from a microphone, line-in or a file.

An example in glint, a free live shader editor in the browser: the GLSL code floats over the running picture and recompiles as you type.
The code
One pass, in GLSL.
fragment shader (generated from a node graph)
#version 300 es
precision highp float;
// Generated from nodes: edit the graph, or use "Convert to code" to take it from here by hand.
uniform vec2 resolution;
uniform float time;
uniform vec3 spectrum;
uniform float beat;
uniform vec3 spectrumIntegrated;
in vec2 v_texcoord;
out vec4 fragColor;
vec3 n_palette(float t, vec3 a, vec3 b, vec3 c, vec3 d) { return a + b * cos(6.2831853 * (c * t + d)); }
void main() {
// UV
vec2 nn5dn86fi2c_uv = (v_texcoord * 2.0 - 1.0) * vec2(resolution.x / resolution.y, 1.0);
vec2 nn5dn86fi2c_st = v_texcoord;
// Time
float nn5dn86g6oa_t = time * 1.0;
// Audio
float nn5dn86hlx2_bass = spectrum.x;
float nn5dn86hlx2_mid = spectrum.y;
float nn5dn86hlx2_treble = spectrum.z;
float nn5dn86hlx2_beat = beat;
float nn5dn86hlx2_flow = spectrumIntegrated.x;
// Add
float nn5dn86in4l_out = (nn5dn86g6oa_t + nn5dn86hlx2_flow);
// Rings
float nn5dn86jsqx_out = (0.5 + 0.5 * sin(length(nn5dn86fi2c_uv) * 10.0 * 3.14159 - nn5dn86in4l_out));
// Polar
float nn5dn86kk6k_angle = (atan(nn5dn86fi2c_uv.y, nn5dn86fi2c_uv.x) / 6.2831853 + 0.5);
float nn5dn86kk6k_radius = length(nn5dn86fi2c_uv);
vec2 nn5dn86kk6k_uv = vec2(atan(nn5dn86fi2c_uv.y, nn5dn86fi2c_uv.x) / 6.2831853 + 0.5, length(nn5dn86fi2c_uv));
// Multiply
float nn5dn86l10v_out = (nn5dn86kk6k_angle * 0.3);
// Add
float nn5dn86mo69_out = (nn5dn86jsqx_out + nn5dn86l10v_out);
// Palette
vec3 nn5dn86njmg_rgb = n_palette(nn5dn86mo69_out, vec3(0.5), vec3(0.5), vec3(2.0, 1.0, 0.0), vec3(0.5, 0.2, 0.25));
// Mix
float nn5dn86o3wj_out = mix(0.6, 1.4, nn5dn86hlx2_beat);
// Multiply
vec3 nn5dn86pqvs_out = (nn5dn86njmg_rgb * vec3(nn5dn86o3wj_out));
fragColor = vec4(nn5dn86pqvs_out, 1.0);
}More Nodes & glitch examples
Nodes: Kaleidoscope · Nodes: Liquid cells · Nodes: Paint trails · Nodes: Beat tiles