As part of the new selection feature I am refactoring large portions of the code base. Specific aims are:
- Improve typing across the application.
- Break up large scripts into smaller ones.
This should make it easier and more enjoyable for me to implement new features. Also, I hope that it will make Klecks more accessible to other developers. E.g. currently the main entry point of the application
kl-app.ts is 2,000 lines long which probably deters others from making their own modifications.
As of now I've made good progress, having touched roughly half of the entire code. This includes a refactoring of glfx.js, which I now call canvas-fx. I'm working on this in my free time, so it will take a couple more weeks before I can truly focus on the selection tool.
In other news, Kleki no longer uses Google Analytics.