In this section
- Derive transform · globalgrid2050 / testcode/202609160224/derive.mjs lines 1–124
- Laws transform · globalgrid2050 / testcode/202609160224/laws.mjs lines 1–118
- GlobalGrid2050 — Testcode Style Sheet render · globalgrid2050 / testcode/202609160258/style.css lines 1–21
- GlobalGrid2050 — Testcode Page render · globalgrid2050 / testcode/202609160319/index.html lines 1–12
- GlobalGrid2050 — Testcode Page render · globalgrid2050 / testcode/index.html lines 1–27
- Testcode — Red Beach Blind 6f8a2c Page render · globalgrid2050 / testcode/red-beach-blind-20261003-6f8a2c/index.html lines 1–275
Derive
A JavaScript module in the testcode folder of GlobalGrid2050. It is built from the nature step (`nature`), the radiation step (`radiation`) and the field step (`field`).
transformglobalgrid2050 / testcode/202609160224/derive.mjs · lines 1–124 of 124 · version 2026-09-16 02:24 · Not reached from any entry point (candidate for review) · pattern derive (shared by 5 files)
- What it does
- It calculates its inputs. Defines nature, radiation, field, derive, census.
- Why it exists in the grid workflow
- Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow.
- Downstream impact
- Used directly by 1 file: Particles Check (globalgrid2050, https://globalgrid2050.com/testcode/202609160224/proof/).
- What it achieves
- The state generator. Nothing about a line is stored; it is derived.
- Why it matters
- Imported by Particles Check.
- Application
- globalgrid2050 · testcode/202609160224 · JavaScript module
- Uses
- none found
- Used by
- imported by Particles Check (import)
- Produces
- NOISE, NATURE_NAME, nature, radiation, BLOCK, field, derive, census
- Defines here
- nature, radiation, field, derive, census
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 testcode/202609160224/derive.mjs:1-124 · blob f71449198453e304b9f7736932fc529753959a2f · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: transform · effects: none found · domain stage: experimental · users: none · canonical: unreached_review
/* derive.mjs — the state generator. Nothing about a line is stored; it is derived.
*
* THE ARGUMENT, IN VIKRAM'S WORDS: "this code, what does it do, that, if its that
* then it must have a radiation and relational field, then it must be related to
* that." A property that can be derived must not be stored, or the estate cannot
* grow without the page growing with it.
*
* WHAT IS ACTUALLY STORED, for the whole estate, in three binary packs:
*
* all-lines.bin 4 bytes the permanent key
* all-lines.len.bin 2 bytes how many characters the line holds
* all-lines.family.bin 1 byte whether any function family carries it
* ————
* 7 bytes x 250,174 lines = 1.75 MB, the entire estate
*
* Everything below is computed from those three numbers and the key itself. No
* per-line record, no lookup table, no fetch. Add 100,000 lines tomorrow and the
* page costs 700 KB more and not one line of new logic.
*
* WHAT IS NOT CLAIMED. These are classifications drawn from length and family
* membership, which is all the pack knows. NATURE is a description of the line's
* shape, not of its meaning: a long line in no family is called STRUCTURAL
* because that is what the numbers support, not because anything has read it.
* Where a judgement would need the text, this file returns UNREAD and the page
* fetches the actual line rather than guessing.
*/
/* NATURE — what the line is, from its own two facts.
*
* NOISE no characters, or so few they cannot carry a statement, and no
* family claims them. Empty lines and lone brackets. Line 2 is the
* type case: an empty line recorded in 2,281 distinct families.
* These are the lines a future wafer can retire without losing code.
* BOILERPLATE short and in a family: closing braces, single returns, the
* connective tissue of a function rather than its work.
* OPERATIONAL in a family and long enough to carry a statement. This is the
* code that does something, and the only class worth studying.
* STRUCTURAL substantial but in no family: declarations, configuration, data
* sitting outside any function the numbering recognised.
* ORPHAN short and in no family. Fragments the estate kept but nothing
* claims — not noise, because they may carry text, but unowned.
*/
export const NOISE = 0, BOILERPLATE = 1, OPERATIONAL = 2, STRUCTURAL = 3, ORPHAN = 4;
/* The visitor-facing names. NOISE is displayed as DUST deliberately: unused code is
not waste in this universe, it is the material stars form from. The constant keeps
its old name so nothing that imports it breaks; only what a person reads changed. */
export const NATURE_NAME = ['dust', 'boilerplate', 'operational', 'structural', 'orphan'];
const NOISE_MAX = 3; /* characters: "})" and shorter carries no statement */
const SHORT_MAX = 24; /* characters: below this a line is connective */
export function nature(len, inFamily) {
if (len <= NOISE_MAX) return NOISE;
if (inFamily) return len <= SHORT_MAX ? BOILERPLATE : OPERATIONAL;
return len <= SHORT_MAX ? ORPHAN : STRUCTURAL;
}
/* RADIATION FIELD — whether this code has been USED somewhere.
*
* Vikram's definition, and it is the right one: a line radiates by being used,
* not by being long. The measure is the number of places the estate records the
* line in. A line in one file radiates nothing beyond it; a line carried into
* ninety-four files is load-bearing across the whole estate, and changing it
* changes one copy of ninety-five.
*
* `places` is the true measure and arrives with the band. Before the band loads,
* family membership is the only usage fact the 7-byte pack holds — a line in a
* family is reachable wherever that family lives, a line in none is reachable
* only where it sits — so it stands in as a floor until the truth arrives.
*
* Returns 0..1. A drawing quantity derived from usage, not a judgement of worth.
*/
export function radiation(len, inFamily, places) {
if (len <= NOISE_MAX) return 0;
if (places !== undefined && places !== null) {
/* Measured: log so that 2 copies and 200 are both legible on one wafer. */
return Math.min(1, Math.log2(1 + places) / 7);
}
return inFamily ? 0.42 : 0.12; /* the pack's floor, pending the band */
}
/* RELATIONAL FIELD — what this line is part of.
*
* Vikram's definition, in two halves, and the page serves both:
* 1. THE BLOCK. The ten lines above and ten below — the statement the line
* actually sits inside. A line alone is unreadable; the block is the unit a
* person can judge. The card fetches exactly those twenty-one lines.
* 2. THE COMPUTATION. The function family that carries the line, which is the
* computation it may be part of, and through the family every other place
* that computation lives.
*
* And, as the Spider sandboxes already do, the field reaches OUT: the pinned
* commit gives a GitHub address for the exact bytes, and a surface under
* testcode/<stamp>/ gives the live page the line helps draw. A relation that
* leaves the estate is still a relation.
*
* Returns the block's half-width in lines. It is 10, deliberately and not
* computed — the size of a readable block is a human fact, not a derived one.
*/
export const BLOCK = 10;
export function field(key, len, inFamily) {
const n = nature(len, inFamily);
if (n === NOISE) return 0; /* noise relates to nothing; it is retirable */
return BLOCK;
}
/* One call, because the page asks all three together for every visible line.
`places` is passed once the line's band has loaded, and omitted before. */
export function derive(key, len, inFamily, places) {
return {
nature: nature(len, inFamily),
radiation: radiation(len, inFamily, places),
field: field(key, len, inFamily),
};
}
/* A census, for the page to state what the estate is made of rather than assert
it. Runs over the packs once at load: 250,174 iterations of integer work. */
export function census(keys, lens, fams) {
const counts = [0, 0, 0, 0, 0];
for (let i = 0; i < keys.length; i++) counts[nature(lens[i], fams[i])]++;
return counts;
}Laws
A JavaScript module in the testcode folder of GlobalGrid2050. It is built from the requirements of helper (`requirementsOf`), the classify step (`classify`) and the catalogue step (`catalogue`).
transformglobalgrid2050 / testcode/202609160224/laws.mjs · lines 1–118 of 118 · version 2026-09-16 02:24 · Not reached from any entry point (candidate for review) · pattern catalogue (shared by 4 files)
- What it does
- It calculates its inputs. Defines requirementsOf, classify, catalogue.
- Why it exists in the grid workflow
- Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow.
- Downstream impact
- Used directly by 1 file: Laws Check (globalgrid2050, https://globalgrid2050.com/testcode/202609160224/proof/).
- What it achieves
- Which placement laws the Wafer Galaxy can honestly run, and why not the rest.
- Why it matters
- Imported by Laws Check.
- Application
- globalgrid2050 · testcode/202609160224 · JavaScript module
- Uses
- Physics (import)
- Used by
- imported by Laws Check (import)
- Produces
- FROM_PACK, FROM_BAND, ABSENT, requirementsOf, READY, classify, core, ALL, index, catalogue
- Defines here
- requirementsOf, classify, catalogue
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 testcode/202609160224/laws.mjs:1-118 · blob b0d7f1a76d339f54681aba8ad3e1909b178fd0e1 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: transform · effects: none found · domain stage: experimental · users: none · canonical: unreached_review
/* laws.mjs — which placement laws the Wafer Galaxy can honestly run, and why not the rest.
*
* REUSED, NOT REINVENTED. testcode/202609151413/physics.mjs already defines ten laws as
* pure functions with a declared shape — {id, title, borrows, reads, note, place(e)} — and
* states the rule they all obey: "A position is a pure function of the entity's own
* permanent key and of published facts about it." This file imports them. Writing an
* eleventh copy of the golden angle would be the estate's own disease.
*
* THE PROBLEM THIS FILE EXISTS TO SOLVE. A law reads fields off an entity. The Wafer
* Galaxy draws all 250,174 numbered lines from three binary packs — 7 bytes a line — so
* it can supply `key`, `chars` and `inFamily` and nothing else until a resolution band
* loads. Hand a law a field the page does not have and JavaScript hands it `undefined`:
* the arithmetic still runs, a picture still appears, and it is a plausible lie.
*
* That is exactly the failure this estate spent the night cataloguing — a check, or here
* a law, that describes only what it looks at. So every law is classified against what
* the page can actually supply, and a law whose inputs are absent is REFUSED BY NAME
* rather than run on zeros. Vikram asked for twenty variations; eight honest ones and a
* stated reason for the other three is the better answer, and the reason is the useful part.
*
* WHAT THE PAGE CAN SUPPLY, and where each fact comes from:
*
* PACK key all-lines.bin 4 bytes the permanent number
* chars all-lines.len.bin 2 bytes characters in the line
* inFamily all-lines.family.bin 1 byte does any family carry it
*
* BAND family p/<n>.json the family that carries it
* fanout p/<n>.json how many places it is used in
* (present only for the radial bands the camera has actually loaded)
*
* ABSENT ageDays when the line was first written — the pack carries no date
* famCount how many families exist in its neighbourhood
* cat a category for the line
* catCount how many categories exist
*
* The ABSENT four are not unobtainable in principle — the modular star knows some of
* them — they are simply not in anything this page reads. If a future pack carries them,
* move the name from ABSENT to PACK and the law becomes runnable with no other change.
*/
import { LAWS, byId, GOLDEN_ANGLE } from '../202609151413/physics.mjs';
export const FROM_PACK = ['key', 'chars', 'inFamily'];
export const FROM_BAND = ['family', 'fanout'];
export const ABSENT = ['ageDays', 'famCount', 'cat', 'catCount'];
/* Read each law's real requirements out of physics.mjs rather than restating them here.
A second copy of a fact is a second thing that can drift — the same reason the header
count now reads NATURE_NAME[NOISE] instead of typing "dust" twice. The proof checks
this parse against the source it parsed. */
export function requirementsOf(source) {
const out = {};
const ids = [...source.matchAll(/export const (\w+) = \{/g)]
.map((m) => m[1]).filter((i) => i !== 'LAWS' && i !== 'byId');
for (const id of ids) {
const start = source.indexOf('export const ' + id + ' = {');
const next = source.indexOf('export const', start + 10);
const block = source.slice(start, next > 0 ? next : source.length);
out[id] = [...new Set([...block.matchAll(/e\.([a-zA-Z_]\w*)/g)].map((m) => m[1]))].sort();
}
return out;
}
/* Three tiers, and the page must treat them differently:
READY drawable the moment the packs land, for every one of the 250,174 lines.
ON_BAND correct only where a band has loaded; elsewhere the fact is unknown, so
the page must draw those lines by the fallback law rather than invent a
position for them.
REFUSED an input the page has no source for. Never drawn, named in the UI. */
export const READY = 'ready', ON_BAND = 'on-band', REFUSED = 'refused';
export function classify(needs) {
const missing = needs.filter((f) => ABSENT.includes(f));
if (missing.length) return { tier: REFUSED, missing };
const banded = needs.filter((f) => FROM_BAND.includes(f));
if (banded.length) return { tier: ON_BAND, missing: [], banded };
return { tier: READY, missing: [], banded: [] };
}
/* CORE is this surface's own law and is declared in the same shape as the ten, so it is
classified by the same rule rather than exempted from it. Vikram: "the code which is
most used must go towards the centre as that is the CORE, the densest part of the
star." It reads fanout, so it is ON_BAND by the same test that bands `collapse`. */
export const core = {
id: 'core',
title: 'Core',
borrows: 'gravitational collapse — the densest material falls to the middle',
reads: 'how many places the line is used in',
note:
'Radius is usage: r = R_MAX x (1 - radiation) plus a shell offset from the key, so '
+ 'the most-copied code lands at the centre and dust sits at the rim, drawn rather '
+ 'than hidden. Usage changes as bands load and as the estate grows, so a radius '
+ 'here is not a permanent address. The key is, under every law.',
place: (e) => {
const R_MAX = 585.5, CORE_BAND = 22;
const shell = (((e.key * 2654435761) >>> 0) % 1000) / 1000 * CORE_BAND;
const rad = e.fanout === undefined ? 0 : Math.min(1, Math.log2(1 + e.fanout) / 7);
const r = R_MAX * (1 - rad) + shell, t = e.key * GOLDEN_ANGLE;
return [r * Math.cos(t), r * Math.sin(t)];
},
};
export const ALL = [...LAWS, core];
export const index = { ...byId, core };
/* The catalogue the page and the generator both read: every law, its tier, and — when it
is refused — exactly which fact is missing. A refusal that does not name what it wants
is indistinguishable from a bug. */
export function catalogue(requirements) {
return ALL.map((law) => {
const needs = requirements[law.id] || (law.id === 'core' ? ['fanout', 'key'] : []);
const c = classify(needs);
return {
id: law.id, title: law.title, borrows: law.borrows, reads: law.reads,
needs, tier: c.tier, missing: c.missing, banded: c.banded || [],
};
});
}GlobalGrid2050 — Testcode Style Sheet
A style sheet.
renderglobalgrid2050 / testcode/202609160258/style.css · lines 1–21 of 21 · version 2026-09-16 02:58 · Entry point
- What it does
- Side effects: changes the web page (DOM).
- Why it exists in the grid workflow
- Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow.
- Downstream impact
- Used directly by 14 files: Wafer Development Environment — Voltage Drop Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609170042-voltage-drop/); Wafer Development Environment — GridAtlas Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609170041-gridatlas/); Wafer Development Environment — Land GridAtlas Page (globalgrid2050, https://globalgrid2050.com/testcode/wafer-development-environment/202609170045-land-gridatlas/); Testcode — Quantum Twin Flights Page (globalgrid2050, https://globalgrid2050.com/testcode/202609162200-quantum-twin-flights/); and 10 more. Reached from 155 other entry points, including Iterations — 42 Counts That Say Themselves (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/42-counts-that-say-themselves/); Iterations — 42 Counts That Say Themselves Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/42-counts-that-say-themselves/); GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html).
- What it achieves
- No statement of purpose was found in the file, a README line naming it, or its name. Described from its file name only (a candidate, not yet checked against the code).
- Why it matters
- Loaded by the Voltage Drop page at https://globalgrid2050.com/testcode/wafer-development-environment/202609170042-voltage-drop/ and 13 other pages.
- Application
- globalgrid2050 · testcode/202609160258 · style sheet
- Uses
- none found
- Used by
- loaded by Wafer Development Environment — Voltage Drop Page (stylesheet), loaded by Wafer Development Environment — GridAtlas Page (stylesheet), loaded by Wafer Development Environment — Land GridAtlas Page (stylesheet), loaded by Testcode — Quantum Twin Flights Page (stylesheet), loaded by Wafer Development Environment — Estate Page (stylesheet), loaded by Wafer Development Environment — Block 39885 Page (stylesheet), loaded by Wafer Development Environment — Twin 39885 Page (stylesheet), loaded by Wafer Development Environment — State 39885 Page (stylesheet), and 6 more
- Produces
- none declared
- Defines here
- none
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 testcode/202609160258/style.css:1-21 · blob a81673e5998111e9bb4eb6415b356b9ec09bb80e · GitHub at these lines
- State
- achieves: name · context: readme_derived · stage: output · effects: dom · domain stage: experimental · users: none · canonical: production_core
:root{--ink:#d8dee9;--dim:#8b93a7;--ground:#05070b;--lit:#ffd54a;--beam:#00ffff}
*{box-sizing:border-box}html,body{height:100%}
body{margin:0;background:var(--ground);color:var(--ink);overflow:hidden;
font:13px/1.45 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
#stage{position:fixed;inset:0;width:100%;height:100%;display:block}
#bar{position:fixed;top:0;left:0;right:0;z-index:2;display:flex;gap:.7rem;
padding:.45rem .7rem;background:linear-gradient(#05070bee,#05070b00)}
#wordmark{color:var(--lit);letter-spacing:.06em}
.dim{color:var(--dim)}
#foot{position:fixed;bottom:0;left:0;right:0;z-index:2;padding:.4rem .7rem;
color:var(--dim);font-size:11px;background:linear-gradient(#05070b00,#05070bee)}
#laws{position:fixed;top:2.1rem;left:0;right:0;z-index:2;display:flex;flex-wrap:wrap;
gap:.3rem;padding:.3rem .7rem}
#laws a{color:var(--beam);text-decoration:none;border:1px solid #1e3a44;border-radius:3px;
padding:.22rem .5rem;font-size:11px;background:#0a0a0acc}
#laws a:hover{background:#00ffff14}
#laws a[aria-current="page"]{color:var(--lit);border-color:var(--lit)}
#laws a.home{border-color:#2a2a2a;color:var(--dim)}
@media (max-width:640px){#foot{font-size:10px}
#laws{gap:.35rem}
#laws a{min-height:32px;display:inline-flex;align-items:center}}GlobalGrid2050 — Testcode Page
A web page. Published at https://globalgrid2050.com/testcode/202609160319/.
renderglobalgrid2050 / testcode/202609160319/index.html · lines 1–12 of 12 · version 2026-09-16 03:19 · Entry point
- What it does
- It draws its content. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow
- Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow.
- Inputs & outputs
- Out: web page.
- Downstream impact
- Used directly by 4 files: Testcode — Proof Page (globalgrid2050, https://globalgrid2050.com/testcode/202609160224/proof/); Testcode — Block Register Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/block-register/); Testcode — Code Record Page (globalgrid2050, https://globalgrid2050.com/testcode/202609141754/code-record/); GlobalGrid2050 — Testcode Page (globalgrid2050, https://globalgrid2050.com/testcode/). Reached from 2 other entry points, including Iterations — 42 Counts That Say Themselves (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/42-counts-that-say-themselves/); Iterations — 42 Counts That Say Themselves Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/42-counts-that-say-themselves/). It is itself an entry point, published at https://globalgrid2050.com/testcode/202609160319/.
- What it achieves
- CPU Wafer Galaxy - Usage bands.
- Why it matters
- Loaded by the Proof page at https://globalgrid2050.com/testcode/202609160224/proof/ and 3 other pages.
- Application
- globalgrid2050 · testcode/202609160319 · page
- Uses
- GlobalGrid2050 — Testcode Style Sheet (stylesheet), Wafer (script src)
- Used by
- embedded by Testcode — Proof Page (iframe), linked from Testcode — Block Register Page (link), linked from Testcode — Code Record Page (link), linked from GlobalGrid2050 — Testcode Page (link)
- Produces
- none declared
- Defines here
- none
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 testcode/202609160319/index.html:1-12 · blob f5a0ed5671edd164dca8ab7d17a0f0f7c3bf5ea8 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: output · effects: dom · domain stage: experimental · users: none · canonical: production_core
<!doctype html>
<html lang="en"><head><meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
<meta name="color-scheme" content="dark">
<title>CPU Wafer Galaxy - Usage bands</title>
<link rel="stylesheet" href="style.css"></head><body>
<canvas id="stage" aria-label="Every permanently numbered line of the estate, placed by the bands-by-usage law."></canvas>
<header id="bar"><span id="wordmark">WAFER - BANDS-BY-USAGE</span><span id="count" class="dim">reading the numbering...</span></header>
<nav id="laws" hidden aria-label="the laws of the wafer galaxy"></nav>
<footer id="foot"></footer>
<script type="module" src="wafer.mjs"></script>
</body></html>GlobalGrid2050 — Testcode Page
A web page. Published at https://globalgrid2050.com/testcode/.
Set aside from the main view: A comment at the top of the file says a tool wrote it. (noise-generated, proposed by noise.py). All set-aside files, with reasons. Nothing was deleted.
Evidence
- line 6 comment: <!-- GENERATED by testcode/202609160224/build.mjs. Do not hand-edit: the previous
renderglobalgrid2050 / testcode/index.html · lines 1–27 of 27 · Entry point
- What it does
- It draws its content. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow
- Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow.
- Inputs & outputs
- Out: web page.
- Downstream impact
- Used directly by 1 file: Iterations — 42 Counts That Say Themselves (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/42-counts-that-say-themselves/). Reached from 1 other entry point, including Iterations — 42 Counts That Say Themselves Page (galaxies-wafers, https://ventusltd.github.io/galaxies-wafers/iterations/42-counts-that-say-themselves/). It is itself an entry point, published at https://globalgrid2050.com/testcode/.
- What it achieves
- Two versions of this file were typed, and both went stale.
- Why it matters
- Imported by Iterations — 42 Counts That Say Themselves, from Galaxies Wafers.
- Application
- globalgrid2050 · testcode · page
- Uses
- GlobalGrid2050 — Testcode Page (link)
- Used by
- named by URL in Iterations — 42 Counts That Say Themselves (estate URL)
- Produces
- none declared
- Defines here
- none
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 testcode/index.html:1-27 · blob 2ccbd61a2fac3a5972e77e21cae69d3c28d5c7d8 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: output · effects: dom · domain stage: experimental · users: none · canonical: production_core
<!doctype html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
<meta name="color-scheme" content="dark">
<title>Test Code — the nest</title>
<!-- GENERATED by testcode/202609160224/build.mjs. Do not hand-edit: the previous
two versions of this file were typed, and both went stale. -->
<style>
body{margin:0;background:#0b0d12;color:#d8dee9;font:14px/1.6 ui-monospace,Menlo,Consolas,monospace;padding:2rem 1rem;max-width:44rem;margin-inline:auto}
h1{font-size:15px;letter-spacing:.14em;margin:0 0 .3rem}
.dim{color:#8b93a7} a{color:#5ec8f2}
.go{display:inline-block;margin:1.2rem 0;padding:.45rem 1rem;border:1px solid #5ec8f2;border-radius:.2rem;text-decoration:none}
ul{padding-left:1.1rem;margin:.6rem 0 0} li{margin:.15rem 0}
</style>
<h1>TEST CODE</h1>
<p class="dim">119 surfaces the estate has published, each one a page. This list is generated from the directory, so it cannot name a surface that is not there or omit one that is.</p>
<a class="go" href="202609160224/">OPEN THE NEST →</a>
<p class="dim">Most recent:</p>
<ul>
<li><a href="202609160321/">202609160321</a> <span class="dim">— Usage bands</span></li>
<li><a href="202609160320/">202609160320</a> <span class="dim">— Usage bands</span></li>
<li><a href="202609160319/">202609160319</a> <span class="dim">— Usage bands</span></li>
<li><a href="202609160318/">202609160318</a> <span class="dim">— Length x usage</span></li>
<li><a href="202609160317/">202609160317</a> <span class="dim">— Length x usage</span></li>
<li><a href="202609160316/">202609160316</a> <span class="dim">— Length x usage</span></li>
</ul>
<p class="dim">3 directories hold code but no page, so they are listed in the nest and not linked here. Generated 2026-09-16T05:50:24.901Z.</p>Testcode — Red Beach Blind 6f8a2c Page
A web page in GlobalGrid2050 that draws SVG graphics (units: MVA), covering 11kV and 33kV. Published at https://globalgrid2050.com/testcode/red-beach-blind-20261003-6f8a2c/.
renderglobalgrid2050 / testcode/red-beach-blind-20261003-6f8a2c/index.html · lines 1–275 of 275 · version 2026-10-03 · Entry point
- What it does
- It draws 11kV and 33kV. Defines apply, fit, zoom. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow
- Domain stage experimental (path word 'testcode'): work its own path marks as experimental (sandbox, prototype, archive or similar words); by this evidence it is not part of a production workflow. Domain terms in the code: 11kV, 33kV.
- Inputs & outputs
- Out: web page; SVG drawing. Voltage levels named: 33kV, 11kV.
- Downstream impact
- It is itself an entry point, published at https://globalgrid2050.com/testcode/red-beach-blind-20261003-6f8a2c/.
- What it achieves
- It is built from the apply step (`apply`), the fit step (`fit`) and the zoom step (`zoom`). Red Beach — Blind single-line diagram (SLD) Local Test. Its code works with 11 kV, 20 MVA and 25 kA. It responds to pointerdown, pointermove and pointerup events.
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- globalgrid2050 · testcode/red-beach-blind-20261003-6f8a2c · page
- Uses
- none found
- Used by
- none found
- Produces
- apply, fit, zoom
- Defines here
- apply, fit, zoom
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 testcode/red-beach-blind-20261003-6f8a2c/index.html:1-275 · blob b0b25b55700925aeb9f80a7cb8a35e5914b13476 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: output · effects: dom · domain stage: experimental · users: none · canonical: production_core
<!doctype html>
<html><head>
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
<title>Red Beach — Blind SLD Local Test</title>
<style>
*{box-sizing:border-box} html,body{margin:0;background:#071018;color:#eaf2f8;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
header{padding:16px 18px 10px;background:#0a151f;border-bottom:1px solid rgba(255,255,255,.1);position:sticky;top:0;z-index:2}
h1{font-size:19px;margin:0 0 5px} .sub{font-size:12px;color:#93a7b6;line-height:1.4}
.toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
button{background:#122332;color:#eef5f8;border:1px solid rgba(255,255,255,.14);border-radius:9px;padding:8px 11px}
.wrap{padding:10px} .stage{height:72vh;min-height:520px;border:1px solid rgba(255,255,255,.12);border-radius:12px;overflow:hidden;background:#071018;touch-action:none}
#sld{display:block;width:100%;height:100%;background:#071018}
.legend{display:flex;gap:8px;flex-wrap:wrap;padding:10px 2px 0;color:#b9c7d1;font-size:12px}
.pill{border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:5px 8px}
.note{margin:10px 0;padding:10px 12px;border:1px solid rgba(255,255,255,.1);border-radius:10px;background:#0d1924;color:#bcc9d2;font-size:12px;line-height:1.45}
details{margin:10px 0;background:#0d1924;border:1px solid rgba(255,255,255,.1);border-radius:10px;padding:10px 12px;font-size:12px}
pre{white-space:pre-wrap;word-break:break-word;color:#b8c8d3;max-height:40vh;overflow:auto}
</style>
</head><body>
<header>
<h1>RED BEACH SINGLE LINE DIAGRAM</h1>
<div class="sub">Blind build from the supplied JSON only · Drawing 4256-0010 · Rev B</div>
<div class="toolbar"><button id="fit">Fit</button><button id="zoomIn">Zoom +</button><button id="zoomOut">Zoom −</button></div>
</header>
<div class="wrap">
<div class="note">This initial drawing is pre-rendered into the file itself so it remains visible even in iPhone/ChatGPT file previews that block JavaScript. In a normal browser, the buttons and drag-to-pan are enabled. Breaker states remain unknown; no power-flow direction is asserted.</div>
<div class="stage" id="stage"><svg id="sld" viewBox="0 0 1888 1334" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Red Beach single line diagram">
<rect width="100%" height="100%" fill="#071018"/>
<rect x="290" y="248" width="1168" height="236" rx="10" fill="none" stroke="#516474" stroke-width="2" stroke-dasharray="12 9"/>
<rect x="110" y="736" width="1348" height="225" rx="10" fill="none" stroke="#516474" stroke-width="2" stroke-dasharray="12 9"/>
<polyline points="380,366 380,315" fill="none" stroke="#ffb347" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity=".55" stroke-dasharray="12 9"/>
<polyline points="380,285 380,135" fill="none" stroke="#ffb347" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity=".55" stroke-dasharray="12 9"/>
<polyline points="380,135" fill="none" stroke="#ffb347" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity=".55" stroke-dasharray="12 9"/>
<polyline points="469,366 469,315" fill="none" stroke="#ffb347" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="469,285 469,135" fill="none" stroke="#ffb347" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="469,135" fill="none" stroke="#ffb347" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="1188,366 1188,315" fill="none" stroke="#ffb347" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="1188,285 1188,135" fill="none" stroke="#ffb347" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="1188,135" fill="none" stroke="#ffb347" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="1278,366 1278,315" fill="none" stroke="#ffb347" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity=".55" stroke-dasharray="12 9"/>
<polyline points="1278,285 1278,135" fill="none" stroke="#ffb347" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity=".55" stroke-dasharray="12 9"/>
<polyline points="1278,135" fill="none" stroke="#ffb347" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity=".55" stroke-dasharray="12 9"/>
<polyline points="199,849 199,886" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="199,916 199,1102" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="199,1102" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="289,849 289,886" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="289,916 289,1102" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="289,1102" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="469,849 469,886" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="469,916 469,1102" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="469,1102" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="649,849 649,886" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="649,916 649,1102" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="649,1102" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="739,849 739,886" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="739,916 739,1102" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="739,1102" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="918,849 918,886" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="918,916 918,1102" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="918,1102" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="1008,849 1008,886" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="1008,916 1008,1102" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="1008,1102" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="1188,849 1188,886" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity=".55" stroke-dasharray="12 9"/>
<polyline points="1188,916 1188,1102" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity=".55" stroke-dasharray="12 9"/>
<polyline points="1188,1102" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity=".55" stroke-dasharray="12 9"/>
<polyline points="1278,849 1278,886" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity=".55" stroke-dasharray="12 9"/>
<polyline points="1278,916 1278,1102" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity=".55" stroke-dasharray="12 9"/>
<polyline points="1278,1102" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity=".55" stroke-dasharray="12 9"/>
<polyline points="1368,849 1368,886" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity=".55" stroke-dasharray="12 9"/>
<polyline points="1368,916 1368,1102" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity=".55" stroke-dasharray="12 9"/>
<polyline points="1368,1102" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity=".55" stroke-dasharray="12 9"/>
<polyline points="790,366 780,366" fill="none" stroke="#ffb347" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="820,366 830,366" fill="none" stroke="#ffb347" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="800,849 790,849" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="830,849 840,849" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="560,366 560,411" fill="none" stroke="#ffb347" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="560,441 560,551" fill="none" stroke="#ffb347" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="560,551" fill="none" stroke="#ffb347" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="560,669" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="560,777 560,669" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="560,807 560,849" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="1098,366 1098,411" fill="none" stroke="#ffb347" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity=".55" stroke-dasharray="12 9"/>
<polyline points="1098,441 1098,551" fill="none" stroke="#ffb347" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity=".55" stroke-dasharray="12 9"/>
<polyline points="1098,551" fill="none" stroke="#ffb347" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity=".55" stroke-dasharray="12 9"/>
<polyline points="1098,669" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity=".55" stroke-dasharray="12 9"/>
<polyline points="1098,777 1098,669" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity=".55" stroke-dasharray="12 9"/>
<polyline points="1098,807 1098,849" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity=".55" stroke-dasharray="12 9"/>
<polyline points="560,366" fill="none" stroke="#ffb347" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="1098,366" fill="none" stroke="#ffb347" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="560,849" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="1098,849" fill="none" stroke="#5dd5ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" opacity="1"/>
<polyline points="335,366 415,366" fill="none" stroke="#ffb347" stroke-width="7" stroke-linecap="round" opacity=".58" stroke-dasharray="12 9"/>
<polyline points="415,366 790,366" fill="none" stroke="#ffb347" stroke-width="7" stroke-linecap="round" opacity="1"/>
<polyline points="820,366 1243,366" fill="none" stroke="#ffb347" stroke-width="7" stroke-linecap="round" opacity="1"/>
<polyline points="1243,366 1323,366" fill="none" stroke="#ffb347" stroke-width="7" stroke-linecap="round" opacity=".58" stroke-dasharray="12 9"/>
<polyline points="154,849 800,849" fill="none" stroke="#5dd5ff" stroke-width="7" stroke-linecap="round" opacity="1"/>
<polyline points="830,849 1043,849" fill="none" stroke="#5dd5ff" stroke-width="7" stroke-linecap="round" opacity="1"/>
<polyline points="1043,849 1413,849" fill="none" stroke="#5dd5ff" stroke-width="7" stroke-linecap="round" opacity=".58" stroke-dasharray="12 9"/>
<line x1="380" y1="282" x2="380" y2="293" stroke="#ffb347" stroke-width="3" opacity=".58" stroke-dasharray="12 9"/>
<line x1="380" y1="307" x2="380" y2="318" stroke="#ffb347" stroke-width="3" opacity=".58" stroke-dasharray="12 9"/>
<line x1="380" y1="307" x2="392" y2="292" stroke="#ffb347" stroke-width="3" opacity=".58" stroke-dasharray="12 9"/>
<text x="398" y="305" fill="#9fb0bd" font-size="13">-Q0</text>
<line x1="370" y1="135" x2="390" y2="135" stroke="#ffb347" stroke-width="3" opacity=".58" stroke-dasharray="12 9"/>
<text x="367" y="123" fill="#eaf2f8" font-size="15" font-weight="650" transform="rotate(-90 367 123)">FUTURE</text>
<line x1="469" y1="282" x2="469" y2="293" stroke="#ffb347" stroke-width="3" opacity="1"/>
<line x1="469" y1="307" x2="469" y2="318" stroke="#ffb347" stroke-width="3" opacity="1"/>
<line x1="469" y1="307" x2="481" y2="292" stroke="#ffb347" stroke-width="3" opacity="1"/>
<text x="487" y="305" fill="#9fb0bd" font-size="13">-Q0</text>
<line x1="459" y1="135" x2="479" y2="135" stroke="#ffb347" stroke-width="3" opacity="1"/>
<text x="456" y="123" fill="#eaf2f8" font-size="15" font-weight="650" transform="rotate(-90 456 123)">SILVERDALE</text>
<line x1="1188" y1="282" x2="1188" y2="293" stroke="#ffb347" stroke-width="3" opacity="1"/>
<line x1="1188" y1="307" x2="1188" y2="318" stroke="#ffb347" stroke-width="3" opacity="1"/>
<line x1="1188" y1="307" x2="1200" y2="292" stroke="#ffb347" stroke-width="3" opacity="1"/>
<text x="1206" y="305" fill="#9fb0bd" font-size="13">-Q0</text>
<line x1="1178" y1="135" x2="1198" y2="135" stroke="#ffb347" stroke-width="3" opacity="1"/>
<text x="1175" y="123" fill="#eaf2f8" font-size="15" font-weight="650" transform="rotate(-90 1175 123)">MANLY</text>
<line x1="1278" y1="282" x2="1278" y2="293" stroke="#ffb347" stroke-width="3" opacity=".58" stroke-dasharray="12 9"/>
<line x1="1278" y1="307" x2="1278" y2="318" stroke="#ffb347" stroke-width="3" opacity=".58" stroke-dasharray="12 9"/>
<line x1="1278" y1="307" x2="1290" y2="292" stroke="#ffb347" stroke-width="3" opacity=".58" stroke-dasharray="12 9"/>
<text x="1296" y="305" fill="#9fb0bd" font-size="13">-Q0</text>
<line x1="1268" y1="135" x2="1288" y2="135" stroke="#ffb347" stroke-width="3" opacity=".58" stroke-dasharray="12 9"/>
<text x="1265" y="123" fill="#eaf2f8" font-size="15" font-weight="650" transform="rotate(-90 1265 123)">FUTURE</text>
<line x1="199" y1="883" x2="199" y2="894" stroke="#5dd5ff" stroke-width="3" opacity="1"/>
<line x1="199" y1="908" x2="199" y2="919" stroke="#5dd5ff" stroke-width="3" opacity="1"/>
<line x1="199" y1="908" x2="211" y2="893" stroke="#5dd5ff" stroke-width="3" opacity="1"/>
<text x="217" y="906" fill="#9fb0bd" font-size="13">-Q0</text>
<line x1="189" y1="1102" x2="209" y2="1102" stroke="#5dd5ff" stroke-width="3" opacity="1"/>
<text x="186" y="1090" fill="#eaf2f8" font-size="15" font-weight="650" transform="rotate(-90 186 1090)">SPARE</text>
<line x1="289" y1="883" x2="289" y2="894" stroke="#5dd5ff" stroke-width="3" opacity="1"/>
<line x1="289" y1="908" x2="289" y2="919" stroke="#5dd5ff" stroke-width="3" opacity="1"/>
<line x1="289" y1="908" x2="301" y2="893" stroke="#5dd5ff" stroke-width="3" opacity="1"/>
<text x="307" y="906" fill="#9fb0bd" font-size="13">-Q0</text>
<line x1="279" y1="1102" x2="299" y2="1102" stroke="#5dd5ff" stroke-width="3" opacity="1"/>
<text x="276" y="1090" fill="#eaf2f8" font-size="15" font-weight="650" transform="rotate(-90 276 1090)">FANTAIL COURT (VIA RING MAIN UNIT)</text>
<line x1="469" y1="883" x2="469" y2="894" stroke="#5dd5ff" stroke-width="3" opacity="1"/>
<line x1="469" y1="908" x2="469" y2="919" stroke="#5dd5ff" stroke-width="3" opacity="1"/>
<line x1="469" y1="908" x2="481" y2="893" stroke="#5dd5ff" stroke-width="3" opacity="1"/>
<text x="487" y="906" fill="#9fb0bd" font-size="13">-Q0</text>
<line x1="459" y1="1102" x2="479" y2="1102" stroke="#5dd5ff" stroke-width="3" opacity="1"/>
<text x="456" y="1090" fill="#eaf2f8" font-size="15" font-weight="650" transform="rotate(-90 456 1090)">BAY STREET</text>
<line x1="649" y1="883" x2="649" y2="894" stroke="#5dd5ff" stroke-width="3" opacity="1"/>
<line x1="649" y1="908" x2="649" y2="919" stroke="#5dd5ff" stroke-width="3" opacity="1"/>
<line x1="649" y1="908" x2="661" y2="893" stroke="#5dd5ff" stroke-width="3" opacity="1"/>
<text x="667" y="906" fill="#9fb0bd" font-size="13">-Q0</text>
<line x1="639" y1="1102" x2="659" y2="1102" stroke="#5dd5ff" stroke-width="3" opacity="1"/>
<text x="636" y="1090" fill="#eaf2f8" font-size="15" font-weight="650" transform="rotate(-90 636 1090)">JELAS ROAD</text>
<line x1="739" y1="883" x2="739" y2="894" stroke="#5dd5ff" stroke-width="3" opacity="1"/>
<line x1="739" y1="908" x2="739" y2="919" stroke="#5dd5ff" stroke-width="3" opacity="1"/>
<line x1="739" y1="908" x2="751" y2="893" stroke="#5dd5ff" stroke-width="3" opacity="1"/>
<text x="757" y="906" fill="#9fb0bd" font-size="13">-Q0</text>
<line x1="729" y1="1102" x2="749" y2="1102" stroke="#5dd5ff" stroke-width="3" opacity="1"/>
<text x="726" y="1090" fill="#eaf2f8" font-size="15" font-weight="650" transform="rotate(-90 726 1090)">VIPOND ROAD</text>
<line x1="918" y1="883" x2="918" y2="894" stroke="#5dd5ff" stroke-width="3" opacity="1"/>
<line x1="918" y1="908" x2="918" y2="919" stroke="#5dd5ff" stroke-width="3" opacity="1"/>
<line x1="918" y1="908" x2="930" y2="893" stroke="#5dd5ff" stroke-width="3" opacity="1"/>
<text x="936" y="906" fill="#9fb0bd" font-size="13">-Q0</text>
<line x1="908" y1="1102" x2="928" y2="1102" stroke="#5dd5ff" stroke-width="3" opacity="1"/>
<text x="905" y="1090" fill="#eaf2f8" font-size="15" font-weight="650" transform="rotate(-90 905 1090)">SHADON PLACE</text>
<line x1="1008" y1="883" x2="1008" y2="894" stroke="#5dd5ff" stroke-width="3" opacity="1"/>
<line x1="1008" y1="908" x2="1008" y2="919" stroke="#5dd5ff" stroke-width="3" opacity="1"/>
<line x1="1008" y1="908" x2="1020" y2="893" stroke="#5dd5ff" stroke-width="3" opacity="1"/>
<text x="1026" y="906" fill="#9fb0bd" font-size="13">-Q0</text>
<line x1="998" y1="1102" x2="1018" y2="1102" stroke="#5dd5ff" stroke-width="3" opacity="1"/>
<text x="995" y="1090" fill="#eaf2f8" font-size="15" font-weight="650" transform="rotate(-90 995 1090)">TITAN PLACE</text>
<line x1="1188" y1="883" x2="1188" y2="894" stroke="#5dd5ff" stroke-width="3" opacity=".58" stroke-dasharray="12 9"/>
<line x1="1188" y1="908" x2="1188" y2="919" stroke="#5dd5ff" stroke-width="3" opacity=".58" stroke-dasharray="12 9"/>
<line x1="1188" y1="908" x2="1200" y2="893" stroke="#5dd5ff" stroke-width="3" opacity=".58" stroke-dasharray="12 9"/>
<text x="1206" y="906" fill="#9fb0bd" font-size="13">-Q0</text>
<line x1="1178" y1="1102" x2="1198" y2="1102" stroke="#5dd5ff" stroke-width="3" opacity=".58" stroke-dasharray="12 9"/>
<text x="1175" y="1090" fill="#eaf2f8" font-size="15" font-weight="650" transform="rotate(-90 1175 1090)">FUTURE</text>
<line x1="1278" y1="883" x2="1278" y2="894" stroke="#5dd5ff" stroke-width="3" opacity=".58" stroke-dasharray="12 9"/>
<line x1="1278" y1="908" x2="1278" y2="919" stroke="#5dd5ff" stroke-width="3" opacity=".58" stroke-dasharray="12 9"/>
<line x1="1278" y1="908" x2="1290" y2="893" stroke="#5dd5ff" stroke-width="3" opacity=".58" stroke-dasharray="12 9"/>
<text x="1296" y="906" fill="#9fb0bd" font-size="13">-Q0</text>
<line x1="1268" y1="1102" x2="1288" y2="1102" stroke="#5dd5ff" stroke-width="3" opacity=".58" stroke-dasharray="12 9"/>
<text x="1265" y="1090" fill="#eaf2f8" font-size="15" font-weight="650" transform="rotate(-90 1265 1090)">FUTURE</text>
<line x1="1368" y1="883" x2="1368" y2="894" stroke="#5dd5ff" stroke-width="3" opacity=".58" stroke-dasharray="12 9"/>
<line x1="1368" y1="908" x2="1368" y2="919" stroke="#5dd5ff" stroke-width="3" opacity=".58" stroke-dasharray="12 9"/>
<line x1="1368" y1="908" x2="1380" y2="893" stroke="#5dd5ff" stroke-width="3" opacity=".58" stroke-dasharray="12 9"/>
<text x="1386" y="906" fill="#9fb0bd" font-size="13">-Q0</text>
<line x1="1358" y1="1102" x2="1378" y2="1102" stroke="#5dd5ff" stroke-width="3" opacity=".58" stroke-dasharray="12 9"/>
<text x="1355" y="1090" fill="#eaf2f8" font-size="15" font-weight="650" transform="rotate(-90 1355 1090)">FUTURE</text>
<line x1="787" y1="366" x2="798" y2="366" stroke="#ffb347" stroke-width="3" opacity="1"/>
<line x1="812" y1="366" x2="823" y2="366" stroke="#ffb347" stroke-width="3" opacity="1"/>
<line x1="798" y1="366" x2="813" y2="354" stroke="#ffb347" stroke-width="3" opacity="1"/>
<text x="823" y="371" fill="#9fb0bd" font-size="13">-Q0</text>
<line x1="797" y1="849" x2="808" y2="849" stroke="#5dd5ff" stroke-width="3" opacity="1"/>
<line x1="822" y1="849" x2="833" y2="849" stroke="#5dd5ff" stroke-width="3" opacity="1"/>
<line x1="808" y1="849" x2="823" y2="837" stroke="#5dd5ff" stroke-width="3" opacity="1"/>
<text x="833" y="854" fill="#9fb0bd" font-size="13">-Q0</text>
<line x1="560" y1="408" x2="560" y2="419" stroke="#ffb347" stroke-width="3" opacity="1"/>
<line x1="560" y1="433" x2="560" y2="444" stroke="#ffb347" stroke-width="3" opacity="1"/>
<line x1="560" y1="433" x2="572" y2="418" stroke="#ffb347" stroke-width="3" opacity="1"/>
<text x="578" y="431" fill="#9fb0bd" font-size="13">-Q0</text>
<line x1="560" y1="774" x2="560" y2="785" stroke="#5dd5ff" stroke-width="3" opacity="1"/>
<line x1="560" y1="799" x2="560" y2="810" stroke="#5dd5ff" stroke-width="3" opacity="1"/>
<line x1="560" y1="799" x2="572" y2="784" stroke="#5dd5ff" stroke-width="3" opacity="1"/>
<text x="578" y="797" fill="#9fb0bd" font-size="13">-Q0</text>
<circle cx="560" cy="585" r="34" fill="#0b1721" stroke="#8ca2b3" stroke-width="3" opacity="1"/>
<circle cx="560" cy="635" r="34" fill="#0b1721" stroke="#8ca2b3" stroke-width="3" opacity="1"/>
<text x="622" y="570" fill="#eaf2f8" font-size="17" font-weight="700">T1</text>
<text x="622" y="589" fill="#9fb0bd" font-size="12">33/11 kV; 20MVA; Dyn11</text>
<line x1="1098" y1="408" x2="1098" y2="419" stroke="#ffb347" stroke-width="3" opacity=".58" stroke-dasharray="12 9"/>
<line x1="1098" y1="433" x2="1098" y2="444" stroke="#ffb347" stroke-width="3" opacity=".58" stroke-dasharray="12 9"/>
<line x1="1098" y1="433" x2="1110" y2="418" stroke="#ffb347" stroke-width="3" opacity=".58" stroke-dasharray="12 9"/>
<text x="1116" y="431" fill="#9fb0bd" font-size="13">-Q0</text>
<line x1="1098" y1="774" x2="1098" y2="785" stroke="#5dd5ff" stroke-width="3" opacity=".58" stroke-dasharray="12 9"/>
<line x1="1098" y1="799" x2="1098" y2="810" stroke="#5dd5ff" stroke-width="3" opacity=".58" stroke-dasharray="12 9"/>
<line x1="1098" y1="799" x2="1110" y2="784" stroke="#5dd5ff" stroke-width="3" opacity=".58" stroke-dasharray="12 9"/>
<text x="1116" y="797" fill="#9fb0bd" font-size="13">-Q0</text>
<circle cx="1098" cy="585" r="34" fill="#0b1721" stroke="#8ca2b3" stroke-width="3" opacity=".58" stroke-dasharray="12 9"/>
<circle cx="1098" cy="635" r="34" fill="#0b1721" stroke="#8ca2b3" stroke-width="3" opacity=".58" stroke-dasharray="12 9"/>
<text x="1160" y="570" fill="#eaf2f8" font-size="17" font-weight="700">T2</text>
<text x="1160" y="589" fill="#9fb0bd" font-size="12">33/11 kV; 20MVA; Dyn11</text>
<text x="380" y="119" fill="#cbd7df" font-size="14" font-weight="700" text-anchor="middle">=H01</text>
<text x="469" y="119" fill="#cbd7df" font-size="14" font-weight="700" text-anchor="middle">=H02</text>
<text x="560" y="119" fill="#cbd7df" font-size="14" font-weight="700" text-anchor="middle">=H03</text>
<text x="805" y="119" fill="#cbd7df" font-size="14" font-weight="700" text-anchor="middle">=H04</text>
<text x="1098" y="119" fill="#cbd7df" font-size="14" font-weight="700" text-anchor="middle">=H05</text>
<text x="1188" y="119" fill="#cbd7df" font-size="14" font-weight="700" text-anchor="middle">=H06</text>
<text x="1278" y="119" fill="#cbd7df" font-size="14" font-weight="700" text-anchor="middle">=H07</text>
<text x="199" y="1119" fill="#cbd7df" font-size="14" font-weight="700" text-anchor="middle">=K01</text>
<text x="289" y="1119" fill="#cbd7df" font-size="14" font-weight="700" text-anchor="middle">=K02</text>
<text x="469" y="1119" fill="#cbd7df" font-size="14" font-weight="700" text-anchor="middle">=K03</text>
<text x="560" y="1119" fill="#cbd7df" font-size="14" font-weight="700" text-anchor="middle">=K04</text>
<text x="649" y="1119" fill="#cbd7df" font-size="14" font-weight="700" text-anchor="middle">=K05</text>
<text x="739" y="1119" fill="#cbd7df" font-size="14" font-weight="700" text-anchor="middle">=K06</text>
<text x="815" y="1119" fill="#cbd7df" font-size="14" font-weight="700" text-anchor="middle">=K07</text>
<text x="918" y="1119" fill="#cbd7df" font-size="14" font-weight="700" text-anchor="middle">=K08</text>
<text x="1008" y="1119" fill="#cbd7df" font-size="14" font-weight="700" text-anchor="middle">=K09</text>
<text x="1098" y="1119" fill="#cbd7df" font-size="14" font-weight="700" text-anchor="middle">=K10</text>
<text x="1188" y="1119" fill="#cbd7df" font-size="14" font-weight="700" text-anchor="middle">=K11</text>
<text x="1278" y="1119" fill="#cbd7df" font-size="14" font-weight="700" text-anchor="middle">=K12</text>
<text x="1368" y="1119" fill="#cbd7df" font-size="14" font-weight="700" text-anchor="middle">=K13</text>
<text x="1312" y="265" fill="#93a7b6" font-size="13">
<tspan x="1312" dy="0">33 kV SWITCHBOARD</tspan>
<tspan x="1312" dy="17">(1250A, 25kA, 3 sec)</tspan>
</text>
<text x="1317" y="753" fill="#93a7b6" font-size="13">
<tspan x="1317" dy="0">11 kV SWITCHBOARD</tspan>
<tspan x="1317" dy="17">(2000A, 25kA, 3 sec)</tspan>
</text>
<text x="1480" y="200" fill="#93a7b6" font-size="13">
<tspan x="1480" dy="0">FOR RELAY AND INSTRUMENTATION DETAILS, SEE DRAWING 4256-0005.</tspan>
</text>
<text x="1480" y="260" fill="#93a7b6" font-size="13">
<tspan x="1480" dy="0">FOR CABLE DETAILS, SEE DRAWING 4256-0030.</tspan>
</text>
</svg></div>
<div class="legend"><span class="pill">🟠 33 kV</span><span class="pill">🔵 11 kV</span><span class="pill">dashed = future / provision where stated or inferred by source model</span></div>
<details><summary>Source/model note</summary><pre>Design topology, including dashed provisions. This model does not assert the current installed or energised network.
All breaker operating states are unknown. The open-looking source symbol is recorded only as drawing appearance.</pre></details>
</div>
<script>
(function(){
const svg=document.getElementById('sld'), stage=document.getElementById('stage');
const base=[0,0,1888,1334];
let v=base.slice(), drag=null;
function apply(){svg.setAttribute('viewBox',v.join(' '));}
function fit(){v=base.slice();apply();}
function zoom(f,cx=.5,cy=.5){
const nw=v[2]*f, nh=v[3]*f, wx=v[0]+v[2]*cx, wy=v[1]+v[3]*cy;
v=[wx-nw*cx,wy-nh*cy,nw,nh];apply();
}
document.getElementById('fit').onclick=fit;
document.getElementById('zoomIn').onclick=function(){zoom(.8)};
document.getElementById('zoomOut').onclick=function(){zoom(1.25)};
stage.addEventListener('pointerdown',e=>{drag=[e.clientX,e.clientY,v[0],v[1]]; stage.setPointerCapture(e.pointerId);});
stage.addEventListener('pointermove',e=>{if(!drag)return; const r=stage.getBoundingClientRect(); v[0]=drag[2]-(e.clientX-drag[0])*v[2]/r.width; v[1]=drag[3]-(e.clientY-drag[1])*v[3]/r.height; apply();});
stage.addEventListener('pointerup',()=>drag=null);
stage.addEventListener('wheel',e=>{e.preventDefault(); const r=stage.getBoundingClientRect(); zoom(Math.exp(e.deltaY*.001),(e.clientX-r.left)/r.width,(e.clientY-r.top)/r.height)},{passive:false});
})();
</script>
</body></html>