I refactored a ton of code and then created an event emitter so my main.ts variables could be modified and it’s really easy to make my functions global.
Log in to leave a comment
Finally migrated all the previous tools to the new history system! Eraser and stuff. I also fixed up a bug where if you moved your mouse too slow, the spline generator would just not do anything. TODO: i need to implement chunking the drawing because if you draw for too long, it’ll start lagging the app.
Log in to leave a comment
I finally added the active history stack for my drawing app. Here’s an example.
Log in to leave a comment
I changed the pen writing from using linear lines to using catmull spline and cubic bezier curves for better “quick” movements.
Log in to leave a comment
I added a catmull-rom spline to replace the current pen implementation!
Also, I created a desmos graph to visualize how the catmull-rom spline with cubic bezier works.
Log in to leave a comment
I spent a few hours refactoring my project xd
Log in to leave a comment
Add a cool little closing and openign animation for the toolbar.
Log in to leave a comment
Making toolbar. Making it not draw while moving the toolbar was especially hard.
Log in to leave a comment
Make a brush, adjustable pen size, and then make a circular eraser rather than a square eraser.
Log in to leave a comment
Made canvas and rawing.
Log in to leave a comment
Made the project + made window full screen without fullscreening!
Log in to leave a comment