No description
Find a file
2025-08-31 17:00:56 -07:00
.data client sync!! 2025-08-31 17:00:56 -07:00
hack start go 2025-08-22 21:12:36 -07:00
roommanager client sync!! 2025-08-31 17:00:56 -07:00
types client sync!! 2025-08-31 17:00:56 -07:00
utils yay sync! 2025-08-23 09:57:11 -07:00
web client sync!! 2025-08-31 17:00:56 -07:00
.air.toml client sync!! 2025-08-31 17:00:56 -07:00
.envrc start go 2025-08-22 21:12:36 -07:00
.gitignore client sync!! 2025-08-31 17:00:56 -07:00
default.nix yay sync! 2025-08-23 09:57:11 -07:00
flake.lock start go 2025-08-22 21:12:36 -07:00
flake.nix start go 2025-08-22 21:12:36 -07:00
go.mod yay sync! 2025-08-23 09:57:11 -07:00
go.sum yay sync! 2025-08-23 09:57:11 -07:00
main.go client sync!! 2025-08-31 17:00:56 -07:00
README.md yay sync! 2025-08-23 09:57:11 -07:00
shell.nix client sync!! 2025-08-31 17:00:56 -07:00

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)