changelog
(Updated )A list of all that new and improved in 42colors.
- - BIG day
- Make is so you could drag from outside the polygon to add new vertices when editing an existing plot.
- Made it so you could drag the points of your polygon when creating a new plot.
- Created the line tool.
- — 42colors.com now auto-selects the plot in the middle of your screen and displays a menu for common ops.This popover favors the bottom side, but will switch to the top position to prevent overflow, and while your scrolling, pointer events are ignored, so that your cursor doesn't get stuck.
- — MVP is in sight. Going to start posting on here now.
- Nobody cares until I actually have the MVP done. Lots of changes have happened, but you'll just have to wait until I ship the v1.
- Created
/designfor 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