<canvas id="gfx"></canvas>
const API_BASE = '/api/quantum-jellyfish/status';
let jelly = { topologicalSignature: 0, fluxDynamics: 0, morphologicalVariance: 0 };
const overlay = document.getElementById('overlay');
async function fetchStatus () {
const res = await fetch(API_BASE, { cache: 'no-store' });
function buildSphere (latBands = 48, lonBands = 64) {
const positions = [], indices = [];