serge-rgb / milton

An infinite-canvas paint program
GNU General Public License v3.0
1.51k stars 131 forks source link

Enhance Milton as a "black/white board" or Khan Academy style videos? #33

Open FrancoisSchnell opened 7 years ago

FrancoisSchnell commented 7 years ago

(Edit: sorry about the double posting, not sure if you can delete the other one #32 )

Hi and thanks for this great software!

I find Milton excellent as a black/white board and Khan Academy style videos (light app, easy to hide UI, infinite canvas and zoom); I'm going to show it to teachers in my uni.

Two features ideas which could enhanced Milton in this usage:

Anyway thanks and keep it up! :)

(discovered Milton while watching Handmade Hero dev on Twitch who used it as a black board).

serge-rgb commented 7 years ago

I'm glad you like Milton. It would be awesome to see it used by professors.

One problem with adding hotkeys to the existing color slots is that they change whenever a color is used. So if you hit the hotkey for, say, slot 5 and use the color, it will become slot 1. It would be hard to keep track of which slot has what color.

How about adding a color palette feature where users can create one or more different palettes with a number of colors, and make those accessible via hotkeys? I can see that feature being useful for the blackboard-style use case and for the general painting/sketching use case.

Importing an image is something I would also like to add. Maybe add a type of "bitmap layer" which is immune to zoom&pan, or just add a setting that lets you set the background to a bitmap instead of a single color.

Thanks!

FrancoisSchnell commented 7 years ago

Color palette with hotkey would definitely work. For the images I wouldn't immune them to pan/zoom, they ideally need to stick to the board; it's not a problem if it gets pix-elated with zoom but the user needs to be able to write on them (or convert them to vectors if feasible but it's not critical for the blackboard usage). Thanks again :)

BrianWill commented 6 years ago

Let me just second the color-swapping hotkey suggestion. I too find it very bothersome to have to click the slots to change color because big, precise moves are awkward with the pen.

Also, having just played with Milton for the first time, I found the automatic color slot system confusing. I think it would be more intuitive and generally convenient if the user explicitly toggled between slots, such that picking a color modifies the currently selected slot's color. A palette system would be great too, but color toggling is a much higher priority for the lecture use case.

(Last, a small nitpick: I had to look up why hitting space doesn't put the cursor in move-canvas mode. I think I would have figured it out if the keybind tip said "[hold space]" instead of just "[space]".)

serge-rgb commented 6 years ago

Thanks for the feedback. Just started working on a settings feature, adding default background color. I will also change the behavior of the color slots. I like the idea of the color-picker corresponding to the current color slot.

ZackMercury commented 5 years ago

I'd like to see a fixed color pallette that you can configure as you like and be able to assign shortcuts to it.

vishrutmishra commented 2 years ago

+1

gavinbeatty commented 2 years ago

I made a very hacky version of this in a branch, that works fine if you have a fixed palette and just want stable key bindings to select colors. See the commit msg details, but basically, colors stay in their position unless a new color is pushed in at left/head (selecting one of the 5 existing colors doesn't alter/swap positions anymore), and you can use CTRL+1 through 5 to select colors.

https://github.com/gavinbeatty/milton/commit/4b67650386edca56539cb06b23ebd2c6faff41fe

gdinit commented 2 years ago

Hi

@serge-rgb

How about adding a color palette feature where users can create one or more different palettes with a number of colors, and make those accessible via hotkeys? I can see that feature being useful for the blackboard-style use case and for the general painting/sketching use case.

It would be great to see this, one day.

@gavinbeatty

I made a very hacky version of this in a branch, that works fine if you have a fixed palette and just want stable key bindings to select colors. See the commit msg details, but basically, colors stay in their position unless a new color is pushed in at left/head (selecting one of the 5 existing colors doesn't alter/swap positions anymore), and you can use CTRL+1 through 5 to select colors.

gavinbeatty@4b67650

Thanks for sharing this. Any chance you can add a 'binary/release' to your fork repo?

gavinbeatty commented 2 years ago

@gdinit If this doesn't work for you, grab VS 2022 Community edition and do what's described in the release. https://github.com/gavinbeatty/milton/releases/tag/v1.9.1_colorbindings

gdinit commented 2 years ago

@gavinbeatty it works and it is great. thank you so much!