← Commit history

Publish 1.0.3

John Lauer ·a58fc5ade4 · ·parent c6ffcd7
3 files changed +22−5
package.json+1−1
@@ -2,7 +2,7 @@   "slug": "orbital-lab",   "title": "Orbital Lab",   "type": "app",-  "version": "1.0.2",+  "version": "1.0.3",   "description": "The Adom logomark is a hydrogen 2p orbital: psi = (2p_x + 2p_y)/sqrt(2). A live Babylon.js lab that proves it (all 16 real spherical harmonics, the alignment cheat, and the directed loop), plus loader.html: the same animation as one dependency-free WebGL file for webview load screens.",   "tags": ["brand", "physics", "babylon", "webgl", "animation", "loader"],   "dependencies": {},
page.json+1−1
@@ -2,7 +2,7 @@   "slug": "orbital-lab",   "title": "Orbital Lab",   "type": "app",-  "version": "1.0.2",+  "version": "1.0.3",   "description": "The Adom logomark is a hydrogen 2p orbital: psi = (2p_x + 2p_y)/sqrt(2). A live Babylon.js lab that proves it (all 16 real spherical harmonics, the alignment cheat, and the directed loop), plus loader.html: the same animation as one dependency-free WebGL file for webview load screens.",   "tags": [     "brand",
readme.html+20−3
@@ -2538,9 +2538,11 @@ window.__lab = { push, zeros, HARMONICS, setAnim:v=>{animate=v;} }; <style>   /* readme variant: the lab fills the first viewport, the docs flow below */   html,body{height:auto!important;overflow:auto!important}-  body{flex-wrap:wrap}-  #panel{height:100vh}-  #stageWrap{height:100vh;min-width:0}+  body{flex-wrap:wrap;min-height:0!important}+  /* Fixed, not viewport-relative: the wiki parent grows this iframe to fit+     our reported height, and any vh unit would chase that growth forever. */+  #panel{height:780px}+  #stageWrap{height:780px;min-width:0}   .edocs{flex-basis:100%;background:var(--bg);border-top:1px solid var(--border);          padding:26px 30px 44px;max-width:100%}   .edocs h2{font-family:'Familjen Grotesk',sans-serif;font-weight:600;font-size:17px;margin:0 0 6px;color:var(--text)}@@ -2913,5 +2915,20 @@ requestAnimationFrame(frame); "></iframe>   <p>This preview IS loader.html, inlined. What you embed is exactly what you see.</p> </div>+<script>+/* The wiki parent listens for {type:'readme-height'} and resizes this iframe+   to fit, so the lab and the loader docs render with no inner scrollbars. */+(function(){+  var last = 0;+  function report(){+    var h = Math.ceil(document.documentElement.scrollHeight) + 2;+    if (Math.abs(h - last) > 2) { last = h; parent.postMessage({ type: 'readme-height', height: h }, '*'); }+  }+  window.addEventListener('load', report);+  if (window.ResizeObserver) new ResizeObserver(report).observe(document.documentElement);+  setInterval(report, 1200);+  report();+})();+</script> </body> </html>