{
  "capsules": [
    {
      "blake3_hex": "2c007ddc5d74bf46750ef7b837e8acf801b958816c96b42ed7b9f42775aff790",
      "builtin": true,
      "created_at": 1796040000,
      "creator_name": "openie-steam",
      "ecosystem": "art",
      "ed25519_pubkey_hex": "fcfa833e7541ffbda4235fa7b41340c52fb1fe76ee7cad14fe0244361d838367",
      "ed25519_sig_hex": "9f43d03a52aa54a6e0a8570dfd3a04b5116fdda889a8368ca9f96daeb19c5cd6ee724f6d8023f4a91656a024fcf4d6811455dba98e7f1419fb7f23b5f6d9370e",
      "handle": "openie-steam",
      "html_source": "<!doctype html><html><head><meta charset=\"utf-8\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1\"><style>\n*{box-sizing:border-box}\nbody{margin:0;padding:16px;background:#0a0c10;color:#eceef3;font:14px/1.5 system-ui,sans-serif;overflow-x:hidden}\n.row{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px 14px;align-items:end;margin-bottom:12px}\nlabel{display:flex;flex-direction:column;font-size:12.5px;color:#8e97a8;gap:4px;min-width:0}\ninput[type=range]{width:100%;min-height:38px;cursor:pointer;accent-color:#46e0c0}\ncanvas{display:block;width:100%;height:clamp(190px,42vh,290px);background:#131720;border:1px solid #252c3a;border-radius:10px}\nbutton{background:#d4af61;color:#181200;border:0;border-radius:8px;padding:10px 14px;min-height:42px;font-size:14px;font-weight:600;cursor:pointer}\n</style></head><body>\n<div class=\"row\">\n  <label>H1 Fundamental <input id=\"h1\" type=\"range\" min=\"0\" max=\"100\" value=\"100\"></label>\n  <label>H2 (Octave) <input id=\"h2\" type=\"range\" min=\"0\" max=\"100\" value=\"45\"></label>\n  <label>H3 (Fifth) <input id=\"h3\" type=\"range\" min=\"0\" max=\"100\" value=\"30\"></label>\n  <label>H4 (2nd Oct) <input id=\"h4\" type=\"range\" min=\"0\" max=\"100\" value=\"15\"></label>\n  <label>H5 (Major 3rd) <input id=\"h5\" type=\"range\" min=\"0\" max=\"100\" value=\"20\"></label>\n  <button type=\"button\" id=\"tone\">▶ Pluck Chord (220 Hz)</button>\n</div>\n<canvas id=\"cv\" width=\"760\" height=\"220\"></canvas>\n<div id=\"readout\" style=\"margin-top:8px;font-family:monospace;font-size:12.5px;color:#46e0c0;overflow-wrap:anywhere\"></div>\n<script>\nconst ids=['h1','h2','h3','h4','h5'];\nconst cv=document.getElementById('cv'),ctx=cv.getContext('2d');\nlet phase=0;\nfunction amps(){return ids.map(i=>Number(document.getElementById(i).value)/100);}\nfunction draw(){\n  const a=amps(); ctx.clearRect(0,0,cv.width,cv.height);\n  ctx.strokeStyle='#252c3a'; ctx.beginPath(); ctx.moveTo(0,110); ctx.lineTo(cv.width,110); ctx.stroke();\n  ctx.strokeStyle='#46e0c0'; ctx.lineWidth=2.3; ctx.beginPath();\n  let norm=Math.max(0.2,a.reduce((s,v)=>s+v,0));\n  for(let x=0;x<cv.width;x++){\n    const t=(x/cv.width)*Math.PI*4+phase;\n    let y=0; for(let k=0;k<a.length;k++) y+=a[k]*Math.sin((k+1)*t);\n    const py=110-(y/norm)*86;\n    if(x===0) ctx.moveTo(x,py); else ctx.lineTo(x,py);\n  }\n  ctx.stroke();\n  const rms=Math.sqrt(a.reduce((s,v)=>s+0.5*v*v,0)).toFixed(3);\n  document.getElementById('readout').textContent=`Parseval RMS = ${rms} · Harmonics = [${a.map(v=>v.toFixed(2)).join(', ')}]`;\n  phase+=0.025; requestAnimationFrame(draw);\n}\ndraw();\ndocument.getElementById('tone').onclick=()=>{\n  const ac=new (window.AudioContext||window.webkitAudioContext)();\n  const a=amps(),now=ac.currentTime;\n  a.forEach((amp,k)=>{\n    if(amp<=0.01)return;\n    const o=ac.createOscillator(),g=ac.createGain();\n    o.frequency.value=220*(k+1); g.gain.setValueAtTime(amp*0.18,now);\n    g.gain.exponentialRampToValueAtTime(0.0001,now+1.4);\n    o.connect(g).connect(ac.destination); o.start(now); o.stop(now+1.45);\n  });\n};\n</script></body></html>",
      "slug": "fourier-acoustic-harmonics",
      "spdx_license": "CC-BY-4.0",
      "summary": "Adjust fundamental frequency and overtone amplitudes (n=1..5) to inspect waveform superposition, consonance ratios, and WebAudio synthesis.",
      "title": "Fourier Harmonic Series & Acoustic Wave Interference Studio",
      "verified_passkey": true
    }
  ],
  "capsules_count": 1,
  "channel_url": "/u/openie-steam",
  "disclosures": [],
  "feeds": [],
  "handle": "openie-steam",
  "identity": null,
  "schema": "commons-scholar.creator-channel.v1"
}