Is electron fast enough to make painting software?
Or do I need to go with dinosaur C++ frameworks?
I wanna make something like Krita but less functional.
> electron
Tell me this is a troll thread and you aren't seriously this retarded
>>62095655
yes, use<canvas>. browsers are fast enough too if you want to just make a HTML version of mspaint
https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API
>>62095756
That's the idea. I'm wondering if there's noticable performance drops when complex stuff starts happening, like effect layers and whatnot.
>>62095655
>do I need to go with C++ dinosaur frameworks?
You can always paint the surface yourself using OpenGL and [compiled language of choice].
Just make sure you don't poll events the whole time.
If you already know GLFW or OpenGL and want to make a simple mspaint like software, why not.
>canvas element
You can use WebGL, so usually that shouldn't be a problem if implemented right.
However, you have to decide between long loading times and memory usage with electron and retarded file handling and limited APIs with your normal browser.
>>62095655
fuck your ego
>>62095655
>Is electron fast enough to make painting software?
yes
>>62095831
you need to make a prototype and see for yourself I guess. webgl would be fast enough 100% though
>>62095655
Per pixel manipulation is heavy as fuck, specially if you want to do things like radial blur.
You're probably better off either using C/C++, making a library in C/C++ that interacts with the electron, or just offloading the shit to the GPU with pixel shaders.
>>62095655
Does electron supports WEBASM?
>>62096233
https://www.chromestatus.com/feature/5453022515691520
yes
>>62095655
Yes
https://sketch.io/sketchpad/
>>62095655
> 100% Javascript = *memory usage intensifies*
> 30% Javascript 70% C/C++ = *Something acceptable* (Muh nice interface)
> 100% C/C++ = Way to go if you are serious.
>>62095655
>Is electron fast enough
Stopped reading right there
No
>>62097163
Any particular frameworks you would recommend?