changelog
(Updated )A list of all that new and improved in 42colors.
- Created
/design
for iterating the design system. Basically a simpler storybook.
- Created
- Shipped an update preventing non authed users from drawing.
- Created a toast UI for explaining this to users.
- — Experimented a bunch with how to efficiently transfer canvas data. I settled on something that is sending binary data that only includes the colors, they are then rendered based on the offset of where they were fetched from. Since I'm limiting the color palette to 42 colors I am using 1 byte for each "pixel" on the screen. This means I can fetch a 400 x 400 tile and it's at most 16,000 bytes before compression.
During this time I also setup file based cache for the entire 10,000 x 10,000 canvas so that each request doesn't hit the database. 100,000,000 bytes is only 95 MBs, so I could keep this in memory, but I plan on expanding the canvas to by a factor of 10 so this file cache will eventually be 9.5GBs. - — Started working on the project again and created this route interception pattern where all routes are modals by default.
- — Created this changelog