[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Is electron fast enough to make painting software? Or do I need

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 15
Thread images: 2

File: 13409222.png (19KB, 400x400px) Image search: [Google]
13409222.png
19KB, 400x400px
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?
>>
>>62097461
Qt
Thread posts: 15
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.