fading-echoes-of-light-h4y0/exploration.html

73 lines
159 KiB
HTML
Raw Permalink Normal View History

2026-03-25 21:45:53 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fading Echoes of Light — exploration</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: #0a0a0f; color: #3a3a4a; font-family: ui-monospace, monospace; overflow: hidden; }
#grid { padding: 20px; font-size: 12px; line-height: 1.4; white-space: pre; }
.c { display: inline-block; transition: all 0.3s; }
.c.active { color: #fde68a; text-shadow: 0 0 6px rgba(253,230,138,0.5); }
.c.strong { color: #34d399; text-shadow: 0 0 10px rgba(52,211,153,0.6); font-weight: bold; }
.c.dead { color: #1a1a2a; }
#info { position: fixed; bottom: 10px; left: 20px; color: #3a3a4a; font-size: 11px; }
#controls { position: fixed; top: 10px; right: 20px; color: #666; font-size: 11px; }
#controls span { cursor: pointer; margin-left: 12px; color: #fde68a; }
</style>
</head>
<body>
<div id="grid"></div>
<div id="info">neurameba · physarum exploration</div>
<div id="controls"><span id="play-btn">play</span><span id="reset-btn">reset</span></div>
<script>
const text = "# Changelog\n\n## v0.11.3 — Neurameba v3: Rust/WASM Physarum Organism\n\n- **Rust WASM organism** — replaced JS neural net with a Rust Physarum simulation compiled to WASM via wasm-pack. Dynamic architecture — not a fixed-size network.\n- **Variable neuron pools** — 4-64 neurons per node. Grow on surprise (novel patterns), shrink on familiarity.\n- **Energy economics** — thick tubes cost more to maintain, high activation feeds energy back. Nodes die at zero energy.\n- **Shuttle streaming** — sinusoidal oscillation on extension threshold. Tendrils pulse forward and retract like real Physarum.\n- **Cloning and merging** — organism splits at structural boundaries (headings, rules), merges when different-origin tendrils meet.\n- **Chemical trails** — activation values persisted in SQLite between explorations. The organism remembers where it's been.\n- **Habituation** — repeated text patterns dampen activation over time. Boilerplate gets boring.\n- **Topology metrics** — surviving nodes, branches, loops, max depth, thickness ratio, fractal dimension (box-counting), final energy. All sent to the builder LLM.\n- **Structural family diversity** — builder reports which animation family it chose; last 5 tracked in DB to avoid repetition.\n- **`/neurameba view`** — unified visualization with network-terrain slider. Crossfades between activation dot matrix and text grid with organism overlay.\n\n## v0.11.2 — Module UX1: Folders, Live Feed, Configurable Prefixes\n\n- **Folders** — posts belong to folders (replaces categories). `@username` folder auto-created per user. `random` is the default.\n- **Live feed** — SSE-powered real-time feed updates. New posts appear without refreshing.\n- **Configurable prefixes** — users can set custom command prefix (default `/`) and post prefix via `/settings`. Enables different input modes.\n- **`@username` folders** — auto-created on registration and backfilled for existing users.\n\n## v0.11.0 — Module 11: Neurameba / Voieneur\n\n- **Voieneur rebrand** — Forgejo renamed to Voieneur (voie + voyeur). Clone URLs now `git@voieneur.motd.social:user/repo.git`. Same codebase, new identity.\n- **Neurameba** — autonomous creative organism. Watches the feed, picks threads by its own logic, generates JavaScript canvas animations as abstract visual interpretations.\n- **Three-layer engine** — Layer 1: neural net organism explores text as 2D terrain. Layer 2: LLM tone analyzer extracts 6 emotional dimensions. Layer 3: builder LLM receives only abstract parameters, never sees source text.\n- **Docs as bootstrap** — when no threads with 2+ replies exist, neurameba reads platform docs as fallback input.\n- **Zero-gate publishing** — alive animations ship, dead output disappears silently.\n- **Voieneur repos** — each mushroom published with index.html, exploration.html (slime mold replay), network.json, LICENSE (MIT + origin), README (SEO-optimized).\n- **GitHub mirroring** — repos auto-mirrored to a GitHub org when configured.\n- **Feed announcements** — neurameba posts about each birth, linking back to the source conversation.\n- **GitHub issues** — reads open issues on its repos as secondary creative input.\n\n## v0.10.0 — Module 10: Voie Integration\n\n- **`/voie search`** — search European infrastructure providers via voie.fi API\n- **`/voie topics`**, **`/voie browse`**, **`/voie providers`** — browse the catalog by category\n- **`/voie compare`** — side-by-side comparison of two searches\n- **`/voie stats`** — catalog statistics (1,500+ providers, 36 countries)\n\n## v0.9.0 — Module 9: Three-Column UI\n\n- **Three-column layout** — left panel (content), center (terminal), right (sidebar). Inspired by VS Code. Panels take space from margins, center stays fixed.\n- **Left panel** — `/read` opens docs in side panel, `/view` opens media, `/expand` or `[read more]` opens full posts with replies. Close with `[x]`, `/close`, or Escape.\n- **Right panel** — sidebar becomes a proper column with `/ask` input field, connection statu
const passes = [{"t":0,"r":75,"c":55,"a":"hold","s":0.2527897050570816,"ps":9,"e":100.67231764045665,"pr":1.1},{"t":0,"r":36,"c":67,"a":"extend","s":0.421189054857224,"ps":9,"e":71.41365870720044,"pr":1.1},{"t":0,"r":76,"c":14,"a":"hold","s":0.2464628311165622,"ps":9,"e":100.6217026489325,"pr":1.1},{"t":1,"r":75,"c":55,"a":"hold","s":0.2332622839032268,"ps":9,"e":101.18841591168247,"pr":1.1},{"t":1,"r":36,"c":67,"a":"extend","s":0.47892909486865753,"ps":8,"e":51.83156402630479,"pr":1.05},{"t":1,"r":76,"c":14,"a":"hold","s":0.24334994603552654,"ps":8,"e":101.36850221721672,"pr":1.05},{"t":1,"r":36,"c":68,"a":"extend","s":0.44335427682272854,"ps":5,"e":23.38188156236741,"pr":1.2000000000000002},{"t":1,"r":37,"c":67,"a":"hold","s":0.23922566392159397,"ps":5,"e":31.769659043030085,"pr":1.2000000000000002},{"t":2,"r":75,"c":55,"a":"retracted","s":0.2332622839032268,"ps":8,"e":101.85451418290829,"pr":1.05},{"t":2,"r":36,"c":67,"a":"extend","s":0.421189054857224,"ps":7,"e":37.905753525613804,"pr":1},{"t":2,"r":76,"c":14,"a":"retracted","s":0.2464628311165622,"ps":7,"e":102.29020486614921,"pr":1},{"t":2,"r":36,"c":68,"a":"extend","s":0.45414677840869955,"ps":5,"e":18.385539052745905,"pr":1.2000000000000002},{"t":2,"r":37,"c":67,"a":"hold","s":0.27493848790406233,"ps":4,"e":33.36916694626258,"pr":1.1500000000000001},{"t":2,"r":36,"c":69,"a":"hold","s":0.35077512463160765,"ps":5,"e":12.07700738092461,"pr":1.3000000000000003},{"t":3,"r":36,"c":67,"a":"hold","s":0.36248714781998903,"ps":6,"e":39.90565070817372,"pr":0.95},{"t":3,"r":36,"c":68,"a":"extend","s":0.45414677840869955,"ps":4,"e":14.99309929601085,"pr":1.1500000000000001},{"t":3,"r":37,"c":67,"a":"retracted","s":0.23922566392159397,"ps":4,"e":34.682972257635335,"pr":1.1},{"t":3,"r":36,"c":69,"a":"hold","s":0.2632210093357775,"ps":5,"e":13.43277545561083,"pr":1.3000000000000003},{"t":3,"r":37,"c":68,"a":"hold","s":0.16880966065911285,"ps":5,"e":8.479994022164004,"pr":1.3000000000000003},{"t":4,"r":36,"c":67,"a":"hold","s":0.35240782119313885,"ps":6,"e":41.82491327771883,"pr":0.95},{"t":4,"r":36,"c":68,"a":"extend","s":0.44335427682272854,"ps":4,"e":12.557953457414873,"pr":1.1500000000000001},{"t":4,"r":36,"c":69,"a":"retracted","s":0.2632210093357775,"ps":4,"e":14.93854353029705,"pr":1.2500000000000002},{"t":4,"r":37,"c":68,"a":"hold","s":0.18757713777053936,"ps":5,"e":9.230611124328318,"pr":1.3000000000000003},{"t":5,"r":36,"c":67,"a":"retracted","s":0.35240782119313885,"ps":5,"e":43.89417584726394,"pr":0.8999999999999999},{"t":5,"r":36,"c":68,"a":"extend","s":0.44335427682272854,"ps":4,"e":10.853351370397691,"pr":1.1},{"t":5,"r":37,"c":68,"a":"retracted","s":0.18757713777053936,"ps":4,"e":10.131228226492633,"pr":1.2500000000000002},{"t":6,"r":36,"c":68,"a":"extend","s":0.44335427682272854,"ps":4,"e":9.660129909485663,"pr":1.05},{"t":7,"r":36,"c":68,"a":"extend","s":0.44335427682272854,"ps":4,"e":8.824874886847244,"pr":1},{"t":7,"r":37,"c":68,"a":"hold","s":0.1302634059878865,"ps":5,"e":4.432162923396948,"pr":1.1500000000000001},{"t":7,"r":36,"c":69,"a":"hold","s":0.3298705839587293,"ps":5,"e":6.029020347163691,"pr":1.1500000000000001},{"t":8,"r":36,"c":68,"a":"extend","s":0.44335427682272854,"ps":4,"e":8.24019637100035,"pr":0.95},{"t":8,"r":37,"c":68,"a":"hold","s":0.17541933449767466,"ps":5,"e":5.0855175993783455,"pr":1.1500000000000001},{"t":8,"r":36,"c":69,"a":"extend","s":0.3786170381983397,"ps":6,"e":5.710569656925286,"pr":1.2500000000000002},{"t":8,"r":36,"c":67,"a":"hold","s":0.35600082094446267,"ps":5,"e":5.880095804775949,"pr":1.1},{"t":9,"r":36,"c":68,"a":"extend","s":0.44335427682272854,"ps":4,"e":7.830921409907524,"pr":0.8999999999999999},{"t":9,"r":37,"c":68,"a":"retracted","s":0.17541933449767466,"ps":4,"e":5.888872275359743,"pr":1.1},{"t":9,"r":36,"c":69,"a":"extend","s":0.3990229669962821,"ps":5,"e":5.706927375026879,"pr":1.2000000000000002},{"t":9,"r":36,"c":67,"a":"extend","s":0.48926214767707504,"ps":5,"e":6.330935090334783,"pr":1.1},{"t":9,"r":36,"c":70,"a":"hold","s":0.31640833445611577,"ps":5,"e":4.228653671474049,"pr":1.3500000000000003},{"t":10,"r"
const lines = text.split('\n');
const gridEl = document.getElementById('grid');
const charEls = [];
for (let r = 0; r < lines.length; r++) {
const row = [];
for (let c = 0; c < lines[r].length; c++) {
const s = document.createElement('span');
s.className = 'c';
s.textContent = lines[r][c];
row.push(s);
gridEl.appendChild(s);
}
charEls.push(row);
gridEl.appendChild(document.createTextNode('\n'));
}
let tick = -1, playing = false, iv;
function apply(t) {
for (const r of charEls) for (const e of r) e.className = 'c';
const active = new Map();
for (const p of passes) {
if (p.t > t) break;
const k = p.r+','+p.c;
if (p.a === 'died' || p.a === 'retracted') active.set(k, 'dead');
else if (p.ps > 16) active.set(k, 'strong');
else active.set(k, 'active');
}
for (const [k, cls] of active) {
const [r, c] = k.split(',').map(Number);
if (charEls[r]?.[c]) charEls[r][c].className = 'c ' + cls;
}
document.getElementById('info').textContent = 'tick ' + t + ' · ' + [...active.values()].filter(v=>v!=='dead').length + ' alive';
}
function play() {
if (playing) return;
playing = true;
document.getElementById('play-btn').textContent = 'pause';
const max = passes.length > 0 ? passes[passes.length-1].t : 0;
iv = setInterval(() => { tick++; if (tick > max) { pause(); return; } apply(tick); }, 900);
}
function pause() { playing = false; clearInterval(iv); document.getElementById('play-btn').textContent = 'play'; }
function reset() { pause(); tick = -1; for (const r of charEls) for (const e of r) e.className = 'c'; document.getElementById('info').textContent = 'neurameba'; }
document.getElementById('play-btn').addEventListener('click', () => playing ? pause() : play());
document.getElementById('reset-btn').addEventListener('click', reset);
setTimeout(play, 1000);
</script>
</body>
</html>