No description
| .data | ||
| hack | ||
| roommanager | ||
| types | ||
| utils | ||
| web | ||
| .air.toml | ||
| .envrc | ||
| .gitignore | ||
| default.nix | ||
| flake.lock | ||
| flake.nix | ||
| go.mod | ||
| go.sum | ||
| main.go | ||
| README.md | ||
| shell.nix | ||
draw.doll
Architecture
every image is a png (on the server too)
every png is split into 64x64 cells
every cell is hashed
when hash changes, we send the server our 64x64 block over websocket
every draw makes a cell dirty
every cell around a dirty cell is checked too
the check happens Sometimes (100ms during draw? what's performance actually)