Commit dfa678c
committed
fix: replace glitchy CSS sprite loader with canvas-driven animation
- Use webp spritesheet (1.4MB) instead of png (16MB)
- Canvas drawImage with exact pixel coords eliminates sub-pixel jitter
- Remove 400 lines of per-frame CSS keyframes
- Skip p5 boot sequence, go straight to site after loader1 parent 826758f commit dfa678c
3 files changed
Lines changed: 44 additions & 365 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
| 44 | + | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
220 | 227 | | |
221 | 228 | | |
222 | 229 | | |
| |||
0 commit comments