Hi everyone, i'm making a GUI project using Nim (and some C for Math and SIMD), it's about a simple but powerful painting software like SAI and FireAlpaca/Medibang Paint. I wrote my own gui toolkit for this (not yet a nimble module), the canvas is tiled (64x64) and has premultipled alpha like most painters (for easy SIMD optimization). the brush engine will be gpu accelerated with a simple textured 2d quad rendered to a FBO and streamed using PBOs.
For now it only works on Linux/X11 and requires OpenGL 3.3 and SSE4.1 (_mm_blend_epi16), there isn't a demo yet about canvas and brush engine but there is a demo about GUI toolkit. I would like to know what do you think about this
https://github.com/mrgaturus/npainter
PD: compile with -d:icons for first time and run ./npainter