Commit b4f7953
committed
docs(voxel_grain_explorer): halve the volume (N 48 -> 24) for Pyodide
The explorer re-slices voxels + re-cuts three 2D image panels on every plane
drag, which is fine natively but sluggish under Pyodide. Halving N in each
dimension quarters both the per-frame on-plane voxel count (6912 -> 1728) and
each 2D slice (48² -> 24²), so dragging stays responsive in the browser.
Still above the ~1k voxel threshold, so the WebGPU render path is retained.
Comments updated for the new counts.
Claude-Session: https://claude.ai/code/session_018MLraeaoQBWFDScg72W41h1 parent c98891f commit b4f7953
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
140 | 141 | | |
141 | 142 | | |
142 | 143 | | |
143 | | - | |
| 144 | + | |
144 | 145 | | |
145 | 146 | | |
146 | 147 | | |
| |||
0 commit comments