Allaun Silverfox
|
cecfd95682
|
feat(webgpu): Document pixel encoder — GPU-as-information-substrate
The most SilverSight thing in the repo:
CPU: "Sort these DNA sequences by energy"
GPU: "I'm rendering triangles and pixels"
Result: "An image that IS the optimal solution"
Pipeline:
1. QUBO solution → packed base-8 DNA (u32)
2. WebGPU compute: braid sort (odd-even transposition)
3. WebGPU render: 8×8 Hachimoji pixel surface
4. Image IS the receipt (pixel colors = variable values)
Key insight: GPU workgroups = triangle meshes,
compare-swap = triangle rotation (braid crossing),
eigensolid = sorted output (fixed point).
Files:
- dna_webgpu.html: host page + QUBO generator
- dna_webgpu.js: WebGPU host (260 lines)
- dna_braid.wgsl: compute shader, braid sort
- dna_surface.wgsl: render shader, 8×8 pixel surface
Zero-copy: CPU writes once, GPU sorts+renders, CPU reads image.
Refs: S7_SPECTRAL_BASIS.md (spherical harmonics),
COEVOLUTION_MODEL.md (FAMM-DAG-DNA),
SMUGGLE_MODEL.md (NP-hard → DNA sort)
|
2026-06-23 01:32:27 -05:00 |
|