Analytical Modal Synthesis of Vibrating Circular Plates and Membranes
Decompose circular membrane or plate vibration into analytical Bessel-function eigenmodes driven by independent damped harmonic oscillators, enabling exact real-time surface displacement, Chladni sand-grain migration, and synchronized audio.
Also known as Chladni eigenmode synthesis, Bessel modal vibration, analytical modal surface and sound synthesis
In the family Simulation & animation, modal dynamics
Where it runs
Built inOfficial add-onPluginNone foundNot researched
| Engine | Support | How |
|---|---|---|
| three.js r187 | None found | No built-in analytical modal Bessel/Chladni plate vibration shader or mesh generator. |
| Babylon.js 9.38.0 | None found | |
| Godot 4.7 | None found | No built-in analytical modal Bessel/Chladni plate vibration renderer. |
| Unity | None found | No built-in analytical modal Bessel/Chladni plate vibration shader or solver. |
| Unreal 5.7 | None found | No built-in analytical modal Bessel/Chladni vibrating plate synthesizer. |
| Blender 5.2 | None found | |
| WebGPU W3C | None found | |
| Metal | None found |
How it works
Solving the 2D wave or biharmonic plate PDE on a fine grid at audio rates (several kilohertz) is expensive and prone to numerical dispersion. For canonical geometries like a clamped circular membrane or free circular Chladni plate, the linear vibration modes have closed-form analytical basis functions Φm,n(r, θ) = Jm(αm,n r / R) \cos(mθ + φ) built from Bessel functions Jm and their zeros αm,n.
Instead of integrating a dense mesh, the solver advances a compact bank of K (typically 20–40) decoupled modal oscillators, each tracking scalar displacement qk and velocity \dot{q}k with its natural frequency ωk, modal damping, and external exciter forcing. At any point (r, θ) on the surface, instantaneous height and vertical velocity are simply linear sums \sumk qk Φk(r,θ) and \sumk \dot{q}k Φk(r,θ).
Because each mode evolves stably at fixed high-frequency substeps (e.g., 4,800 Hz), the same modal state simultaneously drives vertex displacement, audio synthesis at a virtual contact pickup, and GPU particle contacts where bouncing sand grains migrate off energetic antinodes and settle cleanly along quiet nodal rings and spokes.
When to choose it
Reach for it when
- simulate sand or particles collecting along acoustic cymatics nodal lines
- compute standing wave vibration modes on circular drums or metal plates
- drive real-time shader patterns and forces from audio resonance frequencies
- morph smoothly between resonant chladni harmonic figures interactively
- need analytic bessel eigenmode displacements without full fem simulation
Choose it when simulating resonant acoustic plates, drumheads, Chladni sand figures, bells, or rigid-body impact audio where clean eigenmodes and exact frequency response matter.
Prefer Position Based Dynamics or Extended Position-Based Dynamics when simulating large nonlinear deformations, folds, or tearing cloth where linear superposition breaks down. Prefer Fixed timestep game loop and integration with explicit finite differences on a grid when modeling arbitrary cut-out shapes without precomputed eigenmodes.
Field marks
- Linear modal superposition assumes small displacements and breaks down under large nonlinear stretching, buckling, or plastic deformation
- Truncating the modal bank to a finite number of modes omits high-frequency overtones and sharp localized impact transients
- Analytical Bessel basis functions apply only to idealized circular/annular geometries; irregular plates require an offline finite-element eigenproblem solve
- Uniformly tensioned membranes follow the wave equation while stiff metal Chladni plates follow the biharmonic equation with different overtone spacing and boundary conditions
Presets
Modal Bessel Chladni plate — analytical circular eigenmodes J_m(k r) cos(m θ) & sand nodal accumulation
{
"P_MODE_M": 3,
"P_MODE_N": 2,
"P_SAND_DENSITY": 1,
"P_MODE_MIX": 0.45
}Show GLSL (115 lines)
const float P_MODE_M = 3.0; // P Angular Mode m [1.0, 7.0, 1.0]
const float P_MODE_N = 2.0; // P Radial Mode n [1.0, 5.0, 1.0]
const float P_SAND_DENSITY = 1.0; // P Sand Grains [0.2, 2.0, 0.05]
const float P_MODE_MIX = 0.45; // P Dual-Mode Beat [0.0, 1.0, 0.02]
float hash21(vec2 p) {
p = fract(p * vec2(234.34, 435.345));
p += dot(p, p + 34.23);
return fract(p.x * p.y);
}
// Accurate cylindrical Bessel function J_m(x) via power series (small x) & Hankel asymptotic (large x)
float besselJ(int m, float x) {
float ax = max(abs(x), 1e-5);
float fm = float(m);
if (ax < 8.5) {
float term = 1.0;
for (int k = 1; k <= 7; k++) {
if (k > m) break;
term *= (0.5 * ax) / float(k);
}
float sum = term;
float x2 = -0.25 * ax * ax;
for (int k = 1; k <= 12; k++) {
float fk = float(k);
term *= x2 / (fk * (fk + fm));
sum += term;
}
return sum;
}
return sqrt(0.63661977 / ax) * cos(ax - fm * 1.5707963 - 0.78539816);
}
// Analytical circular Chladni eigenmode u(r, theta) = J_m(k_{m,n} * r) * cos(m * theta)
float evalPlateMode(vec2 p, float mFloat, float nFloat, float t, float modeMix) {
float r = length(p);
float theta = atan(p.y, p.x);
int m1 = int(clamp(floor(mFloat + 0.5), 1.0, 7.0));
int m2 = int(clamp(floor(mFloat + 2.5), 1.0, 7.0));
// Asymptotic McMahon root approximation for clamped/free circular plate radial wavenumber k_{m,n}
float k1 = (nFloat + 0.5 * float(m1) - 0.15) * 3.14159265;
float k2 = (max(nFloat - 0.5, 1.0) + 0.5 * float(m2) - 0.15) * 3.14159265;
float u1 = besselJ(m1, k1 * r) * cos(float(m1) * (theta + t * 0.18));
float u2 = besselJ(m2, k2 * r) * cos(float(m2) * (theta - t * 0.14) + 0.65);
float blend = modeMix * (0.5 + 0.5 * sin(t * 0.65));
return mix(u1, u2, blend) * 2.4;
}
vec3 aces(vec3 x) {
x = max(x, 0.0);
return (x * (2.51 * x + 0.03)) / (x * (2.43 * x + 0.59) + 0.14);
}
void mainImage(out vec4 fragColor, in vec2 fragCoord) {
vec2 uv = (fragCoord - 0.5 * iResolution.xy) / iResolution.y;
float px = 1.0 / max(iResolution.y, 1.0);
float mF = clamp(P_MODE_M, 1.0, 7.0);
float nF = clamp(P_MODE_N, 1.0, 5.0);
float sandGain = clamp(P_SAND_DENSITY, 0.1, 2.2);
float mMix = clamp(P_MODE_MIX, 0.0, 1.0);
// Dark acoustic bench backdrop with subtle harmonic pressure ripples outside the brass plate
float plateR = 0.43;
float r = length(uv);
vec3 col = mix(vec3(0.025, 0.032, 0.048), vec3(0.06, 0.075, 0.105), smoothstep(0.75, 0.25, r));
if (r > plateR) {
float waveOut = sin((r - plateR) * 46.0 - iTime * 4.5) * exp(-(r - plateR) * 6.5);
col += vec3(0.12, 0.34, 0.54) * max(waveOut, 0.0) * 0.45;
}
if (r < plateR) {
vec2 p = uv / plateR; // Normalized unit disk coordinate
float u = evalPlateMode(p, mF, nF, iTime, mMix);
// Compute analytical surface gradient of vibrating mode for subtle specular deflection
float eps = 0.008;
float ux = evalPlateMode(p + vec2(eps, 0.0), mF, nF, iTime, mMix) - u;
float uy = evalPlateMode(p + vec2(0.0, eps), mF, nF, iTime, mMix) - u;
vec3 n = normalize(vec3(-ux * 1.4, -uy * 1.4, 1.0));
// Brushed spun-brass circular plate finish
float radialGrain = 0.5 + 0.5 * sin(r * 420.0 + 2.0 * hash21(floor(fragCoord * 0.5)));
vec3 brassBase = mix(vec3(0.24, 0.19, 0.12), vec3(0.42, 0.33, 0.20), radialGrain * 0.35);
// Subtle modal phase tinting (positive antinodes warm gold, negative antinodes cool indigo)
vec3 modeTint = (u >= 0.0) ? vec3(0.85, 0.52, 0.18) : vec3(0.18, 0.52, 0.85);
vec3 plateAlb = mix(brassBase, modeTint, clamp(abs(u) * 0.36, 0.0, 0.45));
vec3 lDir = normalize(vec3(0.55, 0.72, 0.85));
float diff = max(dot(n, lDir), 0.0);
float spec = pow(max(dot(n, normalize(lDir + vec3(0.0, 0.0, 1.0))), 0.0), 36.0);
col = plateAlb * (0.34 + 0.78 * diff) + vec3(0.95, 0.84, 0.58) * spec * 0.45;
// Fine white quartz sand grains accumulating sharply on Chladni nodal lines (|u| -> 0)!
float nodalBand = exp(-abs(u) * 14.5);
float fineNoise = hash21(floor(fragCoord * 0.85));
float grainNoise = hash21(floor(fragCoord * 1.45) + 17.3);
float sandPile = smoothstep(0.18, 0.85, nodalBand * (0.65 + 0.85 * fineNoise) * sandGain);
float sparseDust = step(0.82, grainNoise) * smoothstep(0.08, 0.55, nodalBand) * 0.55 * sandGain;
vec3 sandCol = vec3(0.98, 0.96, 0.90) * (0.85 + 0.25 * grainNoise);
col = mix(col, sandCol, clamp(sandPile + sparseDust, 0.0, 0.96));
// Central mechanical exciter bolt
float dBolt = length(uv);
col = mix(col, vec3(0.68, 0.72, 0.78), smoothstep(0.022, 0.015, dBolt));
col = mix(col, vec3(0.18, 0.20, 0.24), smoothstep(0.010, 0.006, dBolt));
}
// Beveled metallic plate rim
col = mix(col, vec3(0.85, 0.72, 0.46), smoothstep(px * 4.0, px * 0.8, abs(r - plateR)) * 0.92);
fragColor = vec4(pow(clamp(aces(col), 0.0, 1.0), vec3(1.0 / 2.2)), 1.0);
}Attribution: Original interactive WebGL2 fragment shader written for Texel Atlas (MIT).
Measured GPU weight & timing
| Preset | GPU | Weight / p50 / p95 | Method |
|---|---|---|---|
| modal-bessel-chladni-plate-vibration-live | Tesla T4 1920x1080 | 5.03× baseline (light) · 0.158 ms / 0.162 ms | opengl-timer-query · 40 frames · GPU Weight Atlas · Colab T4 sweep |
| modal-bessel-chladni-plate-vibration-live | NVIDIA L4 1920x1080 | 4.04× baseline (light) · 0.064 ms / 0.065 ms · 2.5× faster on L4 | opengl-timer-query · Cross-architecture validation |
| modal-bessel-chladni-plate-vibration-live | NVIDIA A100-SXM4-40GB 1920x1080 | 3.14× baseline (light) · 0.090 ms / 0.091 ms · 1.7× faster on A100 | opengl-timer-query · Cross-architecture validation |
Crosses
- Chladni-vibrated iridescent soap film: Acoustic standing waves on a circular membrane stir a viscous soap film into swirling interference bands. Modal Bessel eigenmodes push fluid away from antinodes toward nodal rings, sculpting nanometre-scale film thickness that flashes across the spectrum under thin-film interference.
- GPU particle systems: Evaluated modal height and velocity impulses bounce tens of thousands of sand grains toward quiet Chladni nodal patterns.
- Thin-film iridescence: Cycle-averaged modal amplitude gradients stir a 2D optical-thickness fluid layer to visualize resonances as iridescent soap fringes.
Sources
- primaryKees van den Doel, Dinesh K. Pai (1998). The Sounds of Physical Shapes. Presence: Teleoperators and Virtual Environments.Verified via crossref · 2026-11-30doi:10.1162/105474698565794
- primaryJames F. O'Brien, Chen Shen, Christine M. Gatchalian (2002). Synthesizing sounds from rigid-body simulations. Proceedings of the 2002 ACM SIGGRAPH/Eurographics symposium on Computer animation.Verified via crossref · 2026-11-30doi:10.1145/545261.545290
- implementationmrdoob (2026). mrdoob/codevember-2026. Daily creative agentic coding experiments for November 2026.GitHub API · license MIT · 2026-11-30