1j01 / jspaint

🎨 Classic MS Paint, REVIVED + ✨Extras
https://jspaint.app/about
MIT License
7.22k stars 562 forks source link

other features #172

Closed Hoodgail closed 4 years ago

Hoodgail commented 4 years ago

hey i know that in ms paint there's no layers but what do u think of adding it to jspaint 👍

1j01 commented 4 years ago

Check out Paint.NET for a very solid desktop program, and Photopea for an online one.

I want to build advanced features into my new app Mopaint and then eventually base jspaint off of mopaint. You'll be able to treat every brush stroke as a layer if you want to, but group operations and name the groups for organizational purposes. It'll be like a vector editing program, but not limited to "traditional vector graphics stuff", like, you'll be able to still do selection based editing and all that jazz.

If I added just layers support, I'd have to establish some way of storing the multiple layers in the session for autosave, which would complicate things later when writing code to upgrade sessions to the mopaint type format. And I would want a way to save/load files with layers, which means choosing a format, like .psd or .ora to support. And this opens a can of worms of compatibility. Not to mention that adding layers support already opens a can of worms of supporting different blending modes and various UI for creating, renaming, deleting, reordering, hiding/showing, and editing properties of layers.

So this is a long term goal.