Live data from Hacker News

MSPaint in JavaScript

jspaint.app

111–120 of 129 posts

Re: MSPaint in JavaScript

#111
post #98

Earlier quoted context omitted.

Oh my god that's literally insane. Sorry, but I am astonished by what it implements. Layers? Path editing? Blending options? Content-aware fill? Convert text to shape? In a web browser ? I'm just blown away right now. I'm editing a 2000x3000 pixel image and it seems just as fast as my copy of actual Photoshop. I can't even fathom how much work this must have been. One person? How is that even possible?

And some people say 10x programmers don't exist.

It also shows how much an individual can achieve without big corporate and nowadays "agile" bullshit overhead.

Re: MSPaint in JavaScript

#112
post #15

Ah, this could be used as the missing paint in macOS. Even taking a screenshot and dragging it inside the browser works as expected. Is there an easy wat to turn this into an app that can live locally? Paint is the only thing I miss about Windows.

The author has started work on locally running Electron App [0] [0] - https://github.com/1j01/jspaint#desktop-app

~100 Mb to wrap less than two Mb of code in a browser runtime... to ship an application that already runs in a browser.

To make a "native" version of an app orders of magnitude larger than the original, because no one bothers to make actual native apps anymore.

This is not the best possible timeline.

Re: MSPaint in JavaScript

#114
post #37
post #29

Earlier quoted context omitted.

Are there not image manipulation programs on macOS to your liking?

The advanced once are phenomenal but when I need something very simple Preview or Markup doesn't cut it and the advanced ones are overkill. For example, I want to create a very basic image where I would use other images and screenshots and I would cover something to hide, resize some of the images I use and put a few words of text to indicate something. This is so very easy in MS Paint. The app will open in 0.1s, you…

You can bring in other images into Preview by pasting

Re: MSPaint in JavaScript

#116
post #83

Earlier quoted context omitted.

He did a few AMAs on Reddit: https://www.reddit.com/r/IAmA/comments/c8ru2y/i_made_a_free_... https://www.reddit.com/r/IAmA/comments/9urjmg/i_made_a_free_... I find this fact mind blowing: Right now, Photopea is about 1.4 MB (most of it is zipped javascript). 880 kB is the actual program 150 kB are localizations to 38 languages, with 650 phrases in every language 116 kB is a database of gradients, brushes, patterns an…

i hope he's getting payed

From one of the comments:

"With ads, you can make between 2 to 6 USD per 1000 visits on your webpage. So with 3 millions of visits, I can make between 6 to 18 000 USD a month, it depends on a month and an ad provider (I have been testing several of them lately)."

Re: MSPaint in JavaScript

#117
post #15

Ah, this could be used as the missing paint in macOS. Even taking a screenshot and dragging it inside the browser works as expected. Is there an easy wat to turn this into an app that can live locally? Paint is the only thing I miss about Windows.

You might be interested in Paintbrush [0]. It's a free open source native app that's extremely close to MS Paint in functionality. [0] - https://paintbrush.sourceforge.io

I used that for a bit, but it's a bit buggy and hasn't been updated since 2010

Re: MSPaint in JavaScript

#118
post #44

Earlier quoted context omitted.

It would be hard to beat Fabrice Bellard in this game: https://bellard.org/jslinux/

Oh wow this is amazing. The win2k image runs Paint, and looks like you can upload and download images.

I wonder about copyright issues though. Is Win2K now in the public domain?

Re: MSPaint in JavaScript

#119
post #56

This is totally something that I could live with being an Electron app on Linux. Yes, I should be using GIMP/Krita/Other community FOSS solution, but gosh darnit, sometimes I just wanna make a 20-second markup on a screenshot, and I wanna use the friggin' program that I have a 20-year muscle memory for!

The fact that at least 5 people have replied with different tools really just emphasizes your point. Is it a perfect recreation? Of course not. Will it do every sort of image editing I might want? A definite no. Does everybody either quickly learn it or already have its interface burned into their memory? Yep. Does it work well enough to do a quick edit on pretty much any OS (including mobile) without needing anythin…

[deleted]
Post reply on HN