Major fix is I wrote my own serializer/deserializer for canvas. Currently I'm storing canvas state to local storage. So if person refreshes the page, it will re-load previous canvas state. I haven't hooked this up to the server because each line drawn is a LOT of reads and writes. We'll periodically save it to the server every 5 seconds later.
TLDR: Person doesn't lose canvas state upon refresh
Minor fix for now pad and remotePad are initialized. I removed them out of autorun. It's cleaner now.
Later
Periodically save state to server every 10 seconds
Fixes
pad
andremotePad
are initialized. I removed them out ofautorun
. It's cleaner now.Later