The DAG holds shape and nothing else. A node's id says which voxels are there, and two places with the same voxels are the same node, whatever colour they are. So colour lives beside the DAG, as a field: a function from a point to a colour, asked by the chunk job once for every cube it's about to draw. This page follows a colour from the world's name for it to the pixel, one step a section, with the real code running.
Three things are easy to mix up, so here they are once, apart:
{ kind: 'shape', name: 'terrain', D: 8 }. It's what a world carries,
what crosses to a worker and what goes in a file. It's data, because a function can't be posted to a worker.colour(x, y, z, level), returning 8-bit RGB packed in one integer. Each side
(a worker, the main-thread fallback, Node) makes its own from the descriptor with colourOf.The job is where a field becomes words. For each cube a chunk will draw, cellAttr asks the field and packs the answer. Everything before
that is about getting the right field to the job. Everything after is about carrying words to a pixel.
W.colour: a descriptorstream-viewer.html, buildWorld▸colour: the descriptor rides alongstream-core.js §4▸colourOf(desc, { store, counts, D }) → the fieldstream-core.js, chunk-worker.js▸cellAttr → a wordfastChunk (job-core.js), held to expandChunk▸records and attrs, same order, transferred back4 + 4 bytes a cube▾aAttr, one per instance, passed on flatrasterVS▸attrColour(w) = 6-bit channels / 63, then shadeOutGLSL_ATTR, GLSL_SHADEPick a voxel below and the right-hand column walks it down that road with real values. Every number comes from the functions the viewer runs.
Only shown voxels get a word (Q13). A voxel with all six neighbours filled has no face to draw, so it has no record, and
the job never asks the field about it. Click deep inside a solid to see that: the field has a value there, but nothing carries it.
That's why a word's place is its record's place: attrs[i] belongs to records[i], and there is no other index.
The whole contract is one line, :
colour(x, y, z, level) → r | g << 8 | b << 16 // 8-bit channels, one integer, no allocation colour.mean(level, x, y, z, out) → out[0..2] // optional: only a baked field has it (§6)
level cell: 0 at lod 0, the walk's floor level
below it. Every named field ignores it. The scene field needs it (§8)."Everywhere" asks the field at every voxel centre of the slice and dims the answers where there's no voxel. Nothing in the engine draws those: they're what a coarse sample can land on.
Look at the kit and the lattice in "everywhere": between the pieces the field is flat grey. Look at terrain: its bands carry on up into the sky. Both are the same promise kept two ways. A coarse sample that lands in air gets something sensible, and its weight decides how much that matters.
There are two packings, and they're easy to confuse because both put red in the low byte:
| what | layout | made by | read by |
|---|---|---|---|
| a field's answer | 8 bits a channel: r | g << 8 | b << 16 | rgb8 | the job (cellAttr), files' baked words |
| an attribute word | 6 bits a channel, in the high 6 bits of each colour byte: shifts 2, 10, 18 | packAttr, attrOf8 | attrRGB (JS) and GLSL_ATTR (shader), only |
A word read as four RGBA8 bytes is a colour you can look at: each colour byte is the 6-bit value times 4. That's on purpose (Q14): an image codec that predicts per channel sees one channel per byte. The 14 bits left over (the low 2 of each colour byte, and all of the fourth byte) are reserved: written 0, ignored on read, so every word made today stays valid when something is put there.
to6 is round-to-nearest of v · 63 / 255. 0 goes to 0 and 255 to 63, so black and white survive. It takes a float, because a coarse
mean is one. attrColour(w) = vec3(attrRGB(w)) / 63.0, so 63 is exactly 1.0. The transform-feedback probe in
chunk-viewer.html reads every one of the 218 colours back through GLSL_ATTR and compares with attrRGB, exactly.attributes-q13.md §3).A world doesn't ship its colours. It ships a name for them, and turns the name back into a function wherever one is needed. That works because every one of these worlds is generated: the same descriptor that built the shape can rebuild the colour.
| kind | what the descriptor holds | what the field does with a point | built on each side from |
|---|---|---|---|
| shape | name, D | maps it to (−1, 1)³ and calls the shape's own colour: bands, strata, biomes | nothing: the shapes are code |
| row | D | a cosine palette along a diagonal, times a ±12% jitter per 4³ block | a 1,024-entry palette table |
| scatter | the layout, and a table: 6 int32 a specimen | inside a specimen's box and off the ground: its position in the specimen's own unturned frame, as RGB. Else the ground's colour | the table (it travels in the descriptor) |
| lattice | the grid, and the same table | the same gamut colour per specimen, grey between boxes | the table |
| kit | the kit's own descriptor, with colourLevel | walks the plan down to the level-c entry holding the point, un-turning as it goes, and returns the position in that entry's frame | the plan, rebuilt from the descriptor (a few ms) |
| caves | D, seed, G | sea, pool water or lava if the voxel is one; the surface ramp on a column's top three voxels; rock strata elsewhere | the plan, rebuilt (~0.6 s at D = 12) |
| clay | D, lump, shape, ground | ground below the centre plane (with a 16-voxel checker), clay above, a small jitter per voxel | nothing |
| dungeon | D, seed, floors, and a table: the collapse's tile code for each 16³ cell | the tile's material at the point (wall, flagstone, step, pillar, water, lava…), tinted by floor from warm sandstone at the top to cold stone below, a small jitter a voxel | the table, so a worker needn't run the collapse again |
| city | D, seed | the material of the 8³ tile at the point, and the palette of the building it belongs to: facades, glass, roofs, rooms, roads, water | the plan, rebuilt (10–90 ms; a floor plan is made the first time it's read). No table: a D = 12 city is 20 million tiles |
| math | the layout, and a table: each object's shape, size and yaw | in an object's box, the gamut of its own frame, once or repeat times an axis; else the hills' colour | the table |
| baked | skin, words, bits | looks the voxel's word up by its rank in the skin (§6) | the words themselves: this one is data, not a name |
| null | — | no field: jobs emit no words, and the viewer draws in gamut mode | — |
colourLevel: at 0 every 16³ part is
its own rainbow, at 1 every 64³ assembly is, at 2 the whole 256³ world is one. The shape doesn't change, only the name.stream-core.js never imports any of this. createJobRunner(snap, colourOf) is handed the resolver, so the streamer stays
pure and a test can hand in any field it likes.cellAttrOne function turns a field into a word, and it has three branches ():
if (colour.mean) // a baked field: ask it for the cell's mean, at every lod, lod 0 included (§6) if (lod === 0) // a voxel: one sample at its centre, colour(x + 0.5, y + 0.5, z + 0.5, 0) else // a coarse cell: the walk below, then ÷ the cell's voxel count, then to6 once
A coarse cell's colour should be the mean colour of every voxel under it. Taken exactly that's 8lod samples a cell: 512 at lod 3, which a
job can't pay. So the walk goes down meanDepth levels (1 in the engine) and stops. Each sub-cell at that floor counts as
its voxel count × the field at its centre. Click a cell to see its sub-cells laid out.
| sub-cell corner | side | count | weight | sample at | there is | field says |
|---|
The layer shows every occupied cell; a job asks only for the ones that show a face. The table is this page's copy of meanUnder
with each step kept, and it's checked against the real cellAttr on every click. The "unweighted" figure is the page's, to show what the weights do.
attrs-findings.md §1). The LOD explainer's §10 shows whole slices of that error.ACC, so cellAttr isn't re-entrant: a field that called
cellAttr itself in the middle of a walk would clobber the sum in progress. Nothing does. The scene field is asked mid-walk and sometimes
needs a baked child's mean; it calls the child's mean directly, with a buffer of its own.isFull, never by comparing a count.An imported asset has no formula for its colour. Its colours come from a texture, sampled once when the mesh is voxelized. So a baked field is data: an array of words, and a way to find a voxel's word in it ().
words[rank] is its colour. No index is stored: the
skin's own counts are the index.Below is a 64³ ball whose skin is baked from the sphere's named colours, so you can compare the two. The strip on the right is the whole
words array, 64 words a row, so each row is one block.
BLOCK = 64 words: three float64 a block, 0.4 bytes a word. A range reads two block sums for its whole blocks and scans the ragged ends, at most
63 words each: 126 words a mean, whatever the lod. Every sum is of integers below 253, so it's exact, and the test compares with ===.climb = 6 levels up. A level-l cell's level-(l + 6) ancestor is exactly its chunk at lod l. So the word still reads only
inside its own chunk's box, which is the stamp rule (§7). Past that it takes the whole skin's mean, a constant. Drag climb down to 2 to see that case here; at 6 this small world never reaches it.clz32 of their xor. In Morton
order a skin voxel then reads one or two children instead of D. It's correct in any order, only slower when the asks jump about. Press the button.to6 of each channel and widen it back on read. A lod-0 word can't move: widening lands within
0.12 of a step of where it started, so to6 gives the same value. A coarse word can move by one step at most. Press the button to count both here.mean too. At level 0 the "mean" of a skin voxel is its own word, and the mean of a
no-skin voxel is the fallback, unrounded. So one branch serves every lod, and each word is still quantized exactly once.Edit mode places coloured blocks. The shape change goes into the DAG. The colour can't, so it goes into a table beside the field, and the field the job uses becomes a wrapper. In four lines ():
editedField = (base, table) => (x, y, z, level) => { const c = table.lookup(x, y, z); // the latest block over this point, or −1 return c >= 0 ? c : base(x, y, z, level); // else the world's own field };
That's the whole idea, and the plainest way to see it. The engine doesn't call it any more. Since 2026-11-12 blocks and drops go into
one log (), and a worker follows it with
, which folds the same block table into §8's scene field.
Only that field keeps a baked world's mean (§12). For blocks alone over a named world the two are one function, and the stage checks that on every click.
The world below is real clay on flat ground, in a real store, with the real one log and a follower made from its deltas, as a worker's is. Click the slice to place or break. Then press the trap, which is the reason this whole section exists.
| # | op | block | colour | the eight words | root after | note |
|---|
BLOCK, then level, X, Y, Z and the colour (or BREAK), then two zeros.
A drop (§8) needs all eight. One shape for both means a worker takes the whole log as one Int32Array.mean. A baked world's field is only right through its mean (§6): a point
reads one voxel, and an inside voxel has no word. Wrapped by editedField, an edited baked world would be sampled at points and lose
its exact means. The scene field keeps the base's mean, so a baked world takes edits through it (§12).Dropping a world into a world is the same problem at a larger scale. bakeScene unions the child's voxels into the parent's DAG, and after
that the DAG can't say whose voxel is whose. A knight dropped where the kit was already solid leaves the kit's node exactly as it was, yet that voxel is
the knight's now. So a scene's colour is a field over its placements ().
Asked for the centre of a level-l cell, it does three things:
boxHits). Bounds alone would be wrong: a parent voxel inside the child's box but outside the child would take the child's colour.Blocks share the log (). A drop is an op in §7's one log, eight words like a block, and a voxel takes the colour of the latest op that made it solid, whichever kind it was. So the owner is the later of two answers: the latest block over the cell's centre (§7's table) and the latest placement solid in the cell (the test above). Here the tool can be a block too: drop the ball, put a block through it, then drop the torus over both.
| # | op | at | turn | scale | T | paint | root after |
|---|
Click to drop or to place: the page centres the child's cube on the click, in the slice's plane. (The viewer's dropAt puts it against the face you hit,
scene-log.md §4.) The picture is the field's answer for each occupied level-l cell of the layer, which is what the coarse walk's floor asks it.
The slice cuts through the middle of what you drop, so it shows insides the viewer never draws. A baked ball's inside voxels have no word: the blocky colours in its
middle are §6's fallback, each the mean of the nearest ancestor cell with skin. Its rim is its own words.
mean; over a baked one it keeps the parent's (option A, 2026-11-27). A field with mean is
asked it at every lod, so a scene over a baked world answers a whole cell at once: the owner at the cell, and the parent's own mean wherever
no op owns it. That's what lets a saved world take edits again (§12). With no ops it hands the parent's field back untouched: undo everything and the bytes are the parent's own.scene-log.md §2.2).scene-plan.md §4 Q3). Now every op has one
number, and each placement in the field's list carries it as seq: the list is latest first, so the walk stops at the first placement
older than the block. A coarse cell keeps each kind's rule over a named parent: a block by the cell's centre, a drop by any voxel in it (§12 has the
baked parent's, where that difference showed).place, a drop a bakeScene of that one placement onto the root so far. So
a drop after a break fills the hole it covers, and a break after a drop cuts the child. One undo stack takes back the latest op of either kind.Chunk jobs run in workers, and a worker shares nothing with the page. So everything a field needs has to be posted, and it has to arrive before the job that uses it.
| what crosses | when | what's in it for colour | the other side does |
|---|---|---|---|
| the snapshot | once a world, to every worker | snap.colour: the descriptor. A baked one carries its words, cloned like the keys | colourOf(snap.colour, { store, counts, D }), over its own view of the keys |
| a tail | once an edit, before any job names its root | ops: the one log's ops the table hasn't seen, 8 int32 each (a block or a drop), plus new worlds' descriptors | one.sync, then the field is wrapped |
| a job | per chunk | nothing: it names a chunk, a rule and a root | fastChunk with the field it holds right now |
| a result | per chunk, back | attrs, a Uint32Array beside records, transferred (moved, not copied) | the page uploads it (§10) |
This starts the viewer's own chunk-worker.js, posts it a snapshot and one job the way stream-pool.js does, and compares what comes back
with the same chunk expanded here by expandChunk with this page's own copy of the field.
glb-colour-log.md §7).{ store, counts, D }. Its rank walk needs the skin's nodes and their counts. Those are in the
snapshot's keys already, so each side builds the field over its own view. A named field ignores the second argument.The viewer has two ways to draw a chunk, and each carries words its own way.
A records chunk is one buffer: all the records, then all the words. Two integer attributes read it, one from byte 0 and one from byte 4n, each with
divisor 1, so every instanced cube gets its record and its word. The vertex shader passes the word on flat, since a cube is one colour.
A traced chunk has no instances. A ray hits a cell and needs that cell's word. Each 8³ brick with shown cells gets a run: 16 words of shown-mask (512 bits, Morton order), then one word per shown cell. A hit's word is at the cell's rank among the set bits, a popcount.
ATTR_NONE).bitCount, so the rank is a SWAR popcount over at most 16 mask words. GLSL_RAY_ATTR and
attrAtCPU are line-for-line twins, and a probe holds them equal on every hit.ray.test.js draws a view both ways in colour mode 9 (the raw 6-bit channels, unshaded)
and compares exactly.attrs-findings.md §3).
Storing only shown cells was still right: the same view as full 8³ tiles would be 628 MB, not 119.Both passes share , so a voxel looks the same drawn either way. The word's colour is multiplied by a fixed two-light shade that depends only on which face it is, then mixed toward the background by distance. There's no gamma step: the 6-bit channel over 63 goes to the canvas as it is.
In a universe there's one step before the light (2026-11-19, universe-plan Q8). From far off the worlds run together, so the raster's fragment shader mixes each world's colour toward a tint for its kind (the kit warm, the city blue, a file violet), moved a little by the world's key so two kits differ. None at lods 0 and 1, where a world is seen close and its own colours matter, then 0.15 a lod up to 0.45 (). It's a uniform a world, never a word: the chunks and their bytes are the plain world's. A plain world never sets it.
The arithmetic here is this page's copy of shadeOut, on the cell clicked above (or a default clay colour). The tint is the real
tintOf and tintAt; the mix is the shader's one line, mix(base, uTint.rgb, uTint.a).
| mode | menu name | what colours the cube | needs words? |
|---|---|---|---|
| 8 | attribute | the word: everything on this page | yes |
| 3 | gamut | the fragment's position over the world's side, as RGB, computed in the shader | no |
| 0 | lod | one colour per lod | no |
| 1 | pose | the 8³ brick's Oh pose, from the record | no |
| 2 | chunk | one colour per chunk | no |
| 4 | plain | flat grey, shaded | no |
| 6 | path | raster warm, ray cool | no |
| 5, 7, 9, 10 | (tests) | depth, draw index, the raw word, the stencil mask | 9 does |
A world with no colour opens in gamut, one with colour in attribute, until you pick a mode (). Attribute mode with no field drew a shape-only file almost black, and that read as broken. Gamut here is a different thing from §4's gamut fields: the mode colours by where a fragment is in the world, per pixel; the fields colour by where a voxel is in its own piece, per word.
A .vdag file outlives the code that wrote it, and that's a problem for a name: the file says "the terrain's colours", and the
code that reads it might define those differently by then. So a file stores the descriptor and a print of what it meant when written.
same. Different: changed, and the
viewer warns that the shape is right and the colours may not be. Can't make the field at all: unknown, drawn without.ATTR section: the skin as a graph that carries on from the shape's level tables, and
the words gzipped. Its print is of its own words, and a mismatch there isn't "changed", it's damage: the file is refused.ATTR (readers skip tags they don't know) and opens the world as its shape. A file is outside input: the reader
checks that the skin is inside the shape, that there's a word per skin voxel, and that nothing is left over.| file | bytes | read back with | status | what the viewer says |
|---|---|---|---|---|
| Runs when this section is first on screen. | ||||
Real writeVdag and readVdag, in memory. "A field that changed" hands the reader a colourOf whose field returns one constant, as
file.test.js does.
Until 2026-11-27 a baked world couldn't be edited: a file opened as a view. Two things were in the way, and both are on this page already. §6: a baked
field is only right through its mean, because a point reads one voxel and an inside voxel has no word. §7: a chunk cached before an edit is
kept if its stamp and colour revision say nothing moved. Put together, the second asks something hard of the first. A chunk no op painted keeps the
bytes the base made before the first op, so every chunk made after it (a lod switch, a chunk scrolling in, a restarted worker) has to make those same
bytes. The scene field over a baked base keeps a mean, and it's held to one rule, ===
():
// for every cell no op touches, at every lod, the scene's mean is the base's mean scene.mean = (l, x, y, z, out) => { const c = ownerOf(/* the cell's centre */, l, /* whole: */ true); if (c === OWN_BLOCK) return the block's colour; if (c === OWN_BASE || !c.colour) return base.mean(l, x, y, z, out); // the base's own, untouched return the child's colour for this cell; };
Below is a 128³ ball baked the way §6's is, a row of 2³ blocks in the air over it, and a named torus dropped into its side. The picture is what the job
draws: cellAttr for every occupied cell of the layer at the chosen lod, which for this field is its mean.
| lod | chunk | revision | words | against the base's field |
|---|
Click to act at the slice. A block goes where you click, a drop centres the torus there. "Against the base's field" expands the chunk twice over the same edited shape, once with the scene field and once with the base's own, and compares every word: a chunk the paint index never touched has to match exactly.
mean asks the child at the cell's centre. So the torus's bands come out saturated and jumpy at lod 3. Blending the samples
instead (A′) is written down and not built, kept for if the edges bother (edit-saved-log.md §3).mean it's that mean made six bits once, as the job does. Six bits a channel (FLAT_BITS), because
every lod-0 word fits in them and the file is smaller.Uint32Array every worker gets a copy of, so a skin over
FLAT_MAX = 2²⁶ voxels is refused before any word is made. It's a limit on what can show, not on D: D = 20 clay's ball is a 170,000-voxel skin.
The kit at D = 10 is 31.8M (in); at D = 12, 885M (out).Since the job got faster, colour is most of a coloured job. The walk of the DAG is cheap now; what's left is calling the field once per lod-0 record and up to 8 times per coarse one. The numbers below are measured, each with where it came from. Then measure this machine.
| what | measured | where |
|---|---|---|
| a job, with colour against without (meanDepth 1) | +6% to +200%. Cheap jobs double; jobs dominated by the walk barely notice | attrs-findings.md §2 |
| meanDepth 2 | 2–10× a plain job. It buys accuracy only at lod 4, so the default stays 1 | attrs-findings.md §2 |
| the kit's job, warm | about 1.5 ms of walk and 12–13 ms of words: 0.6 µs a word even with the frame cache | job-speed-log.md |
| a baked word at lod 0 | 0.13–0.29 µs with the path memo (0.35–0.47 before); a named one, 0.08–0.10 | glb-colour-log.md §6 |
| a baked job against a named one, lods 1–4 | 0.59–0.93×: cheaper, and exact where the walk isn't | glb-colour-log.md §6 |
| a baked field's block sums | 0.375 bytes a word; built in 11–30 ms at D = 10, in each worker | glb-colour-log.md §2, §7 |
| six bits against eight, in the file | files 1.4–1.8× smaller; a quarter of coarse words move one step; no lod-0 word moves | glb-colour-log.md §5 |
| the scene field over the kit's | ×1.0–1.3 with one placement, ×1.15–1.5 with sixteen | scene-log.md §2.2 |
| an edit's tail | under 1 KB a click, against 79 MB for a whole D = 12 caves snapshot | stream-core.js §4b |
| lod | chunks | records | no colour | meanDepth 0 | meanDepth 1 | meanDepth 2 | µs a word, depth 1 |
|---|---|---|---|---|---|---|---|
| Press the button. It takes a second or two, on the main thread. | |||||||
Real fastChunk (the job), one cache a column, rule any at lod 0 and shadow above, one run on the main thread of whatever machine this is.
Read the ratios, not the milliseconds. At lod 0 every depth is one sample, so those columns differ only by noise. At lod 1, depths 1 and 2 are the same walk:
the floor is level 0 either way.
Two things would cut colour's cost without changing a word, and one that looks like it would doesn't. Field-specific work helps, like the
kit's frame cache. So does asking fewer points: meanDepth 0 asks 1 instead of up to 8, and attrs-findings.md measured what that loses (at lod 3 only
31–34% of the rows' words come within a step). Caching a word per DAG node doesn't work at all: a word is a function of position, and the same node
sits at many positions. That's this page's first sentence again.
Each of these has a test behind it, and all but A″ are a sentence in CLAUDE.md. They're the finer points in the form you'd trip over them.
| rule | why | held by |
|---|---|---|
| a word's layout is decided in one place | attr-core.js packs, GLSL_ATTR decodes; change both together | chunk.test.js: every word through the shader, exactly |
| colour fields are named, or baked and shipped | a worker can't receive a function; a baked field is data in the snapshot | baked-core.test.js: a snapshot cloned through the runner |
| a word reads only inside its own chunk's box | or "same stamp, same bytes" is false and the cache is silently wrong | stream-core.test.js, on every chunk |
| a stamp has a colour revision | ids can't see colour: red, break, blue | stream-core.test.js: break-and-recolour |
| blocks and drops go through one log | "the latest op wins" needs one list ordering both kinds | one-log.test.js: blocks only against the old block log, drops only against the old scene log, mixed histories against a dense twin |
| a follower follows the log by epoch and count, from op 0 | undo then a different op leaves the same count; an op's number is its place in the log, never in the delta | one-log.test.js: the mixed trap (undo a drop, then place a block) |
| a follower that loses an op or a world throws | a table quietly short draws a wrong colour until something repaints that chunk | one-log.test.js: gaps throw, worlds never start over |
| fields get the sample's level | or a coarse cell of a placed child reads one voxel | scene-field.test.js, both sides |
a scene over a baked base keeps the base's mean wherever no op touches | a chunk no op painted keeps the bytes the base made before the first op | scene-field.test.js, === at every lod; stream-core.test.js's saved-world suites |
| a block owns a coarse cell by any voxel in it (A″) | over a baked base nothing samples sub-cells, so a block missing the centre vanished | edit-core.test.js: latestIn against a backward scan of the ops |
| a save is the session at lod 0 | a file is a plain baked world, so its skin's words are the ones the job drew | flatten-core.test.js: record for record and word for word, before and after six bits, saved twice |
what expandChunk emits, fastChunk emits | the fast job is the real one; the slow one is the oracle | job-core.test.js, byte for byte, with colour |
| a reserved bit's field brings its own reduction | a mean is right for colour and wrong for a label | attrs.test.js needs an oracle for it |
| a tail goes on the port its jobs use | or a job reads a table from its future | stream-core.test.js: tails against a fresh snapshot; edit.test.js, a worker killed part way |
| a file's baked print that doesn't match is damage | a named colour can drift; a file's own words can't | vdag-core.test.js: every lie a file can tell |
Line numbers are looked up as the page loads, so they're right for the files you're serving. Click one to copy file:line.
| # | where | what to read for |
|---|---|---|
| 1 | The whole file is 42 lines: the word, to6, and the field's packing beside it. | |
| 2 | The header lists every descriptor; colourOf is the switch. | |
| 3 | The comment is the design: the mean, meanDepth, the mean hook, the sample's level. Then meanUnder and cellAttr, under 30 lines. | |
| 4 | Where the job calls it: once per record, once per tail record, in both jobs. | |
| 5 | Block sums, the rank walk with its memo, and the fallback. Read the header first. | |
| 6 | The table's lookup and latestIn; the one log's header (the colour rule, paint, the epoch), then createOneTable. | |
| 7 | Stamps, "ids can't see colour", and createPaint. | |
| 8 | The owner, the child's cell, what's exact, a baked parent's mean and A″, blocks in the same world, the stamp rule, the cost. Then ownerOf, which both roads ask. | |
| 9 | How the descriptor rides the snapshot, where the field is made and wrapped, and why ordering makes tails right. | |
| 10 | The worker, which is short, and the pool keeping every tail. | |
| 11 | Runs, the heap, and the two twins. | |
| 12 | Two lines of decode, and the shade both passes share. | |
| 13 | The print, the five statuses, six bits. | |
| 14 | The save: the steps, why the mean road takes a word of its own, what a file holds and what it doesn't. | |
| 15 | The ten decisions behind the word, the baked design, and the scene field's cost. |
experiments/mesh-asset.mjs and glb-colour-log.md §1, and convert/ runs it in the browser. The same page bakes
a .ply's vertex colours and a MagicaVoxel .vox's palette (docs/convert.md), and vdb/ an OpenVDB grid's
(vdb/README.md). A save bakes the session (§12). This page starts from the words.export/ turns a .vdag into a .glb with vertex colours: the words at six bits a channel, or eight
rounded from the same mean (cellMean, of which cellAttr is attrOf8), or the gamut, or none (docs/export.md). That's the road backwards, and it isn't drawn here.multidag-attributes.md
and the three labels logs. None of it is drawn yet.expandChunk on the body alone and turned in the shader (body-core.js).