Skip to content
Andrew Voirol
Saturday, October 31, 2026drop-of-blood-build

Staggered MAC multigrid, 393k RBC parcels, and Prahl spectral optics

WebGPUShadersApple Silicon

Replacing Eulerian smoke advection with 393,216 Lagrangian red-blood-cell parcels and a staggered 3-level Multigrid MAC solver finally produced a real Thomson-Newall vortex torus. Moving velocity components onto true 192×256×192 staggered MAC faces (~5.0 mm voxels) and projecting pressure through a 3-level red-black Gauss-Seidel Multigrid V-cycle killed the axial V-tip spear (centerSpearExcessPx <= 14) while incorporating shear-thinning Casson blood rheology (τ=τy+μ∞γ˙\sqrt{\tau} = \sqrt{\tau_y} + \sqrt{\mu_\infty\dot{\gamma}}τ​=τy​​+μ∞​γ˙​​). Because particles carry zero numerical grid diffusion, individual erythrocyte parcels hold crisp capillary stems (emptyGapScanlines === 0) and transfer mass symmetrically into lysed plasma (concTex.g) and floor rouleaux sediment (concTex.a). On the optical side, integrating Scott Prahl's 380–720 nm HbO2\text{HbO}_2HbO2​ and dHb\text{dHb}dHb molar extinction tables against CIE 1931 xˉ,yˉ,zˉ\bar{x},\bar{y},\bar{z}xˉ,yˉ​,zˉ with Duysens discrete-cell sieve flattening kept 4 mm oxblood cores opaque (< 0.05% ballistic sky transmission) while preserving translucent ruby pinch-off necks.

← Previous

Replacing web UI panels with a leaded stained-glass lancet window

Next →

Why Rapier 0.21 broke an 18-story glass tower (and adding Apple XDR)


Andrew Voirol

Builder, hacker, shipper. Currently leaving localhost.

Navigate

WorkThreadsBuilder's LogAboutContactRSS Feed

Connect

X / TwitterGitHubLinkedIn

© 2026 Andrew Voirol·Back to top ↑
✦Just one prompt away from figuring it all out.