Open onemanstartup opened 4 years ago
I'm planning something similar to this with "visual" mode :+1:
Yes. This is exactly what I thought the tool was capable of.
This could be a game-changer. Let me know if you need testers/contributors.
Any update on this?
Visual mode is now in master - try it out! You can fill the current selection with <space>
, and move it with hjkl. The filling is based on the foreground color. If you have ideas on how to make this more powerful, I’m listening.
@cloudhead
Just stumbled on rx
by accident and found that it's pretty close to what I wanted for quite a while, what's missing is just keyboard (and/or even controller) input without the need to reach for a pointing device.
If you have ideas on how to make this more powerful, I’m listening.
This is from a very early prototype for such an editor I wrote a few years ago:
So essentially the editor also had the goal of being Vi-like (named "vixel"), but with a keyboard-only focus. In the image above, drawing pixels is done by holding space (or some controller button) and the color selection is done by holding c
while also using arrow-keys to quickly select the color.
What I had in mind there was optional controller support, so you select the color via shoulder button, pick a color and release the button or push another controller button to fold out the color into another "ring" of subcolors - all that while holding the shoulder button.
Now I'm not sure whether this is a sensible approach to this (after all it was a PoC), but it did allow to select colors more quickly than eg. by scrolling through the palette one-by-one.
Also, since rx
so far used pointer-controlled drawing, I'm not quite sure whether implementing this in visual mode would make sense, since for example when working in Vi(m), I usually expect ESC to go into "normal" mode, but in rx
this would mean that you're no longer able to select each pixel individually.
Hey @aszlig - thanks for the inspiration! Keyboard painting is not a super high priority right now, but I think your approach is interesting. I've actually been wanting to implement keyboard-based color selection regardless of whether you use the keyboard to paint, as I think it could be in many cases faster than moving your cursor to the palette and back.
It would definitely be nice to see this. The current design feels odd, tbh.
Vim-like keybindings are simply a poor fit for the mouse/tablet + keyboard workflow model, because they were designed with the expectation that the user will have both of their hands on the keyboard at all times.
Most digital artists who work with this kind of setup usually cramp most of the keybinds all the way to the left (i.e. non-dominant hand) area of the keyboard. This way they don't have to release their mouse/pen just to reach a keybind.
It would be great if a user could control brush with keyboard, instead of frame. Maybe it could be done in modal fashion like vim. Right now it doesn't make sense to use hjkl when you need to use mouse at the same time.
Also it would be great if you could map specific keybindings for creating specific patterns, maybe through scripting language or just with libraries of images.