{
 "id": "modal-bessel-chladni-plate-vibration",
 "title": "Analytical Modal Synthesis of Vibrating Circular Plates and Membranes",
 "aliases": [
  "Chladni eigenmode synthesis",
  "Bessel modal vibration",
  "analytical modal surface and sound synthesis"
 ],
 "domain": "simulation",
 "subdomain": "modal dynamics",
 "stage": "simulation",
 "realtime": "realtime",
 "platforms": [
  "webgpu",
  "webgl2",
  "desktop-gpu",
  "cpu"
 ],
 "year_introduced": 1998,
 "inputs": [
  "mesh",
  "particles"
 ],
 "outputs": [
  "animation",
  "heightfield",
  "particles"
 ],
 "style": "both",
 "dynamic": "dynamic",
 "summary": "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.",
 "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 $\\Phi_{m,n}(r, \\theta) = J_m(\\alpha_{m,n} r / R)\\,\\cos(m\\theta + \\phi)$ built from Bessel functions $J_m$ and their zeros $\\alpha_{m,n}$.\n\nInstead of integrating a dense mesh, the solver advances a compact bank of $K$ (typically 20–40) decoupled modal oscillators, each tracking scalar displacement $q_k$ and velocity $\\dot{q}_k$ with its natural frequency $\\omega_k$, modal damping, and external exciter forcing. At any point $(r, \\theta)$ on the surface, instantaneous height and vertical velocity are simply linear sums $\\sum_k q_k \\Phi_k(r,\\theta)$ and $\\sum_k \\dot{q}_k \\Phi_k(r,\\theta)$.\n\nBecause 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_use": "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.\n\nPrefer [position-based-dynamics](position-based-dynamics) or [xpbd](xpbd) when simulating large nonlinear deformations, folds, or tearing cloth where linear superposition breaks down. Prefer [fixed-timestep-integration](fixed-timestep-integration) with explicit finite differences on a grid when modeling arbitrary cut-out shapes without precomputed eigenmodes.",
 "cost": {
  "class": "cheap",
  "notes": "Advancing 30–40 scalar modal oscillators is negligible even at kilohertz substeps; GPU cost is dominated by evaluating the mode sum per particle or per display-field texel."
 },
 "failure_modes": [
  "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"
 ],
 "sources": [
  {
   "role": "primary",
   "key": "doi:10.1162/105474698565794",
   "type": "paper",
   "title": "The Sounds of Physical Shapes",
   "authors": [
    "Kees van den Doel",
    "Dinesh K. Pai"
   ],
   "year": 1998,
   "venue": "Presence: Teleoperators and Virtual Environments",
   "url": "https://doi.org/10.1162/105474698565794",
   "ids": {
    "doi": "10.1162/105474698565794"
   },
   "license": null,
   "extra": {
    "csl_type": "journal-article"
   },
   "provenance": {
    "title": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1162/105474698565794",
     "checked_at": "2026-11-30T17:59:51.239Z"
    },
    "authors": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1162/105474698565794",
     "checked_at": "2026-11-30T17:59:51.239Z"
    },
    "year": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1162/105474698565794",
     "checked_at": "2026-11-30T17:59:51.239Z"
    },
    "venue": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1162/105474698565794",
     "checked_at": "2026-11-30T17:59:51.239Z"
    },
    "url": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1162/105474698565794",
     "checked_at": "2026-11-30T17:59:51.239Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-30T17:59:51.239Z",
   "title_sim": 1,
   "__bib": "doel1998sounds"
  },
  {
   "role": "primary",
   "key": "doi:10.1145/545261.545290",
   "type": "paper",
   "title": "Synthesizing sounds from rigid-body simulations",
   "authors": [
    "James F. O'Brien",
    "Chen Shen",
    "Christine M. Gatchalian"
   ],
   "year": 2002,
   "venue": "Proceedings of the 2002 ACM SIGGRAPH/Eurographics symposium on Computer animation",
   "url": "https://doi.org/10.1145/545261.545290",
   "ids": {
    "doi": "10.1145/545261.545290"
   },
   "license": null,
   "extra": {
    "csl_type": "proceedings-article"
   },
   "provenance": {
    "title": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1145/545261.545290",
     "checked_at": "2026-11-30T17:59:51.239Z"
    },
    "authors": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1145/545261.545290",
     "checked_at": "2026-11-30T17:59:51.239Z"
    },
    "year": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1145/545261.545290",
     "checked_at": "2026-11-30T17:59:51.239Z"
    },
    "venue": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1145/545261.545290",
     "checked_at": "2026-11-30T17:59:51.239Z"
    },
    "url": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1145/545261.545290",
     "checked_at": "2026-11-30T17:59:51.239Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-30T17:59:51.239Z",
   "title_sim": 1,
   "__bib": "obrien2002synthesizing"
  },
  {
   "role": "implementation",
   "key": "gh:mrdoob/codevember-2026",
   "type": "code",
   "title": "mrdoob/codevember-2026",
   "description": "Daily creative agentic coding experiments for November 2026.",
   "authors": [
    "mrdoob"
   ],
   "year": 2026,
   "venue": "GitHub",
   "url": "https://github.com/mrdoob/codevember-2026",
   "ids": {
    "repo": "mrdoob/codevember-2026"
   },
   "license": "MIT",
   "extra": {
    "stars": 102,
    "stars_checked": "2026-11-30",
    "archived": false,
    "fork": false,
    "pushed_at": "2026-11-27T06:32:02Z",
    "language": "JavaScript",
    "homepage": "https://mrdoob.github.io/codevember-2026/",
    "license_name": "MIT License"
   },
   "provenance": {
    "title": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/mrdoob/codevember-2026",
     "checked_at": "2026-11-30T17:59:51.239Z"
    },
    "authors": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/mrdoob/codevember-2026",
     "checked_at": "2026-11-30T17:59:51.239Z"
    },
    "year": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/mrdoob/codevember-2026",
     "checked_at": "2026-11-30T17:59:51.239Z"
    },
    "venue": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/mrdoob/codevember-2026",
     "checked_at": "2026-11-30T17:59:51.239Z"
    },
    "url": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/mrdoob/codevember-2026",
     "checked_at": "2026-11-30T17:59:51.239Z"
    },
    "license": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/mrdoob/codevember-2026",
     "checked_at": "2026-11-30T17:59:51.239Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-30T17:59:51.239Z",
   "title_sim": null,
   "__bib": "mrdoob2026mrdoob"
  }
 ],
 "presets": [
  {
   "id": "modal-bessel-chladni-plate-vibration-live",
   "title": "Modal Bessel Chladni plate — analytical circular eigenmodes J_m(k r) cos(m θ) & sand nodal accumulation",
   "runtime": "glsl-fragment",
   "params": {
    "P_MODE_M": 3,
    "P_MODE_N": 2,
    "P_SAND_DENSITY": 1,
    "P_MODE_MIX": 0.45
   },
   "basis": "original",
   "license_note": "Original interactive WebGL2 fragment shader written for Texel Atlas (MIT).",
   "code": "const float P_MODE_M = 3.0; // P Angular Mode m [1.0, 7.0, 1.0]\nconst float P_MODE_N = 2.0; // P Radial Mode n [1.0, 5.0, 1.0]\nconst float P_SAND_DENSITY = 1.0; // P Sand Grains [0.2, 2.0, 0.05]\nconst float P_MODE_MIX = 0.45; // P Dual-Mode Beat [0.0, 1.0, 0.02]\n\nfloat hash21(vec2 p) {\n  p = fract(p * vec2(234.34, 435.345));\n  p += dot(p, p + 34.23);\n  return fract(p.x * p.y);\n}\n\n// Accurate cylindrical Bessel function J_m(x) via power series (small x) & Hankel asymptotic (large x)\nfloat besselJ(int m, float x) {\n  float ax = max(abs(x), 1e-5);\n  float fm = float(m);\n  if (ax < 8.5) {\n    float term = 1.0;\n    for (int k = 1; k <= 7; k++) {\n      if (k > m) break;\n      term *= (0.5 * ax) / float(k);\n    }\n    float sum = term;\n    float x2 = -0.25 * ax * ax;\n    for (int k = 1; k <= 12; k++) {\n      float fk = float(k);\n      term *= x2 / (fk * (fk + fm));\n      sum += term;\n    }\n    return sum;\n  }\n  return sqrt(0.63661977 / ax) * cos(ax - fm * 1.5707963 - 0.78539816);\n}\n\n// Analytical circular Chladni eigenmode u(r, theta) = J_m(k_{m,n} * r) * cos(m * theta)\nfloat evalPlateMode(vec2 p, float mFloat, float nFloat, float t, float modeMix) {\n  float r = length(p);\n  float theta = atan(p.y, p.x);\n  int m1 = int(clamp(floor(mFloat + 0.5), 1.0, 7.0));\n  int m2 = int(clamp(floor(mFloat + 2.5), 1.0, 7.0));\n  // Asymptotic McMahon root approximation for clamped/free circular plate radial wavenumber k_{m,n}\n  float k1 = (nFloat + 0.5 * float(m1) - 0.15) * 3.14159265;\n  float k2 = (max(nFloat - 0.5, 1.0) + 0.5 * float(m2) - 0.15) * 3.14159265;\n\n  float u1 = besselJ(m1, k1 * r) * cos(float(m1) * (theta + t * 0.18));\n  float u2 = besselJ(m2, k2 * r) * cos(float(m2) * (theta - t * 0.14) + 0.65);\n\n  float blend = modeMix * (0.5 + 0.5 * sin(t * 0.65));\n  return mix(u1, u2, blend) * 2.4;\n}\n\nvec3 aces(vec3 x) {\n  x = max(x, 0.0);\n  return (x * (2.51 * x + 0.03)) / (x * (2.43 * x + 0.59) + 0.14);\n}\n\nvoid mainImage(out vec4 fragColor, in vec2 fragCoord) {\n  vec2 uv = (fragCoord - 0.5 * iResolution.xy) / iResolution.y;\n  float px = 1.0 / max(iResolution.y, 1.0);\n  float mF = clamp(P_MODE_M, 1.0, 7.0);\n  float nF = clamp(P_MODE_N, 1.0, 5.0);\n  float sandGain = clamp(P_SAND_DENSITY, 0.1, 2.2);\n  float mMix = clamp(P_MODE_MIX, 0.0, 1.0);\n\n  // Dark acoustic bench backdrop with subtle harmonic pressure ripples outside the brass plate\n  float plateR = 0.43;\n  float r = length(uv);\n  vec3 col = mix(vec3(0.025, 0.032, 0.048), vec3(0.06, 0.075, 0.105), smoothstep(0.75, 0.25, r));\n  if (r > plateR) {\n    float waveOut = sin((r - plateR) * 46.0 - iTime * 4.5) * exp(-(r - plateR) * 6.5);\n    col += vec3(0.12, 0.34, 0.54) * max(waveOut, 0.0) * 0.45;\n  }\n\n  if (r < plateR) {\n    vec2 p = uv / plateR; // Normalized unit disk coordinate\n    float u = evalPlateMode(p, mF, nF, iTime, mMix);\n\n    // Compute analytical surface gradient of vibrating mode for subtle specular deflection\n    float eps = 0.008;\n    float ux = evalPlateMode(p + vec2(eps, 0.0), mF, nF, iTime, mMix) - u;\n    float uy = evalPlateMode(p + vec2(0.0, eps), mF, nF, iTime, mMix) - u;\n    vec3 n = normalize(vec3(-ux * 1.4, -uy * 1.4, 1.0));\n\n    // Brushed spun-brass circular plate finish\n    float radialGrain = 0.5 + 0.5 * sin(r * 420.0 + 2.0 * hash21(floor(fragCoord * 0.5)));\n    vec3 brassBase = mix(vec3(0.24, 0.19, 0.12), vec3(0.42, 0.33, 0.20), radialGrain * 0.35);\n\n    // Subtle modal phase tinting (positive antinodes warm gold, negative antinodes cool indigo)\n    vec3 modeTint = (u >= 0.0) ? vec3(0.85, 0.52, 0.18) : vec3(0.18, 0.52, 0.85);\n    vec3 plateAlb = mix(brassBase, modeTint, clamp(abs(u) * 0.36, 0.0, 0.45));\n\n    vec3 lDir = normalize(vec3(0.55, 0.72, 0.85));\n    float diff = max(dot(n, lDir), 0.0);\n    float spec = pow(max(dot(n, normalize(lDir + vec3(0.0, 0.0, 1.0))), 0.0), 36.0);\n    col = plateAlb * (0.34 + 0.78 * diff) + vec3(0.95, 0.84, 0.58) * spec * 0.45;\n\n    // Fine white quartz sand grains accumulating sharply on Chladni nodal lines (|u| -> 0)!\n    float nodalBand = exp(-abs(u) * 14.5);\n    float fineNoise = hash21(floor(fragCoord * 0.85));\n    float grainNoise = hash21(floor(fragCoord * 1.45) + 17.3);\n    float sandPile = smoothstep(0.18, 0.85, nodalBand * (0.65 + 0.85 * fineNoise) * sandGain);\n    float sparseDust = step(0.82, grainNoise) * smoothstep(0.08, 0.55, nodalBand) * 0.55 * sandGain;\n    vec3 sandCol = vec3(0.98, 0.96, 0.90) * (0.85 + 0.25 * grainNoise);\n    col = mix(col, sandCol, clamp(sandPile + sparseDust, 0.0, 0.96));\n\n    // Central mechanical exciter bolt\n    float dBolt = length(uv);\n    col = mix(col, vec3(0.68, 0.72, 0.78), smoothstep(0.022, 0.015, dBolt));\n    col = mix(col, vec3(0.18, 0.20, 0.24), smoothstep(0.010, 0.006, dBolt));\n  }\n\n  // Beveled metallic plate rim\n  col = mix(col, vec3(0.85, 0.72, 0.46), smoothstep(px * 4.0, px * 0.8, abs(r - plateR)) * 0.92);\n\n  fragColor = vec4(pow(clamp(aces(col), 0.0, 1.0), vec3(1.0 / 2.2)), 1.0);\n}",
   "execution_fidelity": "conceptual-diagram",
   "proof": {
    "kind": "rendered",
    "label": "rendered 2026-11-30",
    "ok": true,
    "proof": {
     "ok": true,
     "technique": "modal-bessel-chladni-plate-vibration",
     "runtime": "glsl-fragment",
     "checked_at": "2026-11-30T19:04:35.000Z",
     "renderer": "Headless EGL Tesla T4/PCIe/SSE2, OpenGL 3.30 Core, 512×512, iTime=1.5",
     "stats": {
      "mean": 0.5413,
      "std": 0.1934,
      "min": 0.178,
      "max": 0.9064
     },
     "image": "/specimens/modal-bessel-chladni-plate-vibration-live.webp",
     "reason": null
    }
   }
  }
 ],
 "related": [
  "fixed-timestep-integration",
  "gpu-particle-systems",
  "thin-film-iridescence",
  "stable-fluids"
 ],
 "extends": [],
 "supersedes": [],
 "combines_with": [
  {
   "id": "gpu-particle-systems",
   "why": "Evaluated modal height and velocity impulses bounce tens of thousands of sand grains toward quiet Chladni nodal patterns."
  },
  {
   "id": "thin-film-iridescence",
   "why": "Cycle-averaged modal amplitude gradients stir a 2D optical-thickness fluid layer to visualize resonances as iridescent soap fringes."
  }
 ],
 "provenance": {
  "prose": "original text written for this index (research draft, editorially reviewed)",
  "sources_verified_at": "2026-11-30T17:59:51.239Z",
  "draft": "data/drafts/simulation/modal-bessel-chladni-plate-vibration.json"
 },
 "solves": [
  "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"
 ],
 "authority": "Doel & Pai, 1998",
 "url": "https://texelatlas.vercel.app/t/modal-bessel-chladni-plate-vibration/",
 "execution_fidelity": "conceptual-diagram",
 "fidelity_label": "Visual Diagram",
 "benchmark_eligible": false,
 "gpu_weight": {
  "weight_x": 5.03,
  "tier": "light",
  "p50_ms": 0.1579,
  "p95_ms": 0.1623,
  "baseline_p50_ms": 0.0329,
  "gpu": "Tesla T4/PCIe/SSE2",
  "resolution": "1920x1080",
  "method": "opengl-timer-query",
  "frames": 40,
  "preset_id": "modal-bessel-chladni-plate-vibration-live",
  "execution_fidelity": "conceptual-diagram",
  "fidelity_label": "Visual Diagram",
  "benchmark_eligible": false,
  "generated_at": "2026-11-30T21:07:47Z",
  "l4": {
   "weight_x": 4.04,
   "tier": "light",
   "p50_ms": 0.0639,
   "p95_ms": 0.0645,
   "speedup_x": 2.47,
   "gpu": "NVIDIA L4/PCIe/SSE2",
   "resolution": "1920x1080",
   "baseline_p50_ms": 0.0159
  },
  "a100": {
   "weight_x": 3.14,
   "tier": "light",
   "p50_ms": 0.0905,
   "p95_ms": 0.0908,
   "speedup_x": 1.74,
   "gpu": "NVIDIA A100-SXM4-40GB/PCIe/SSE2",
   "resolution": "1920x1080",
   "baseline_p50_ms": 0.0288
  }
 }
}