[FEATURE] Live Shaping tool
What problem are you trying to solve?
To aid freehand work. It may be good to have a snapping drawing tool.
So it can recognize when if your line is within some margin of area and attempt to snap it either to grid lines or to straight lines (if skew).
This could be expanded to include some common shapes like a circle which is typical or a square. But I think the most useful would be straight lines and then circles.
The workflow you want
PR for Excalidraw which has the automatic shape detection.
I would want something like this and like Microsoft's Whiteboard "ink to shape" tool.
Microsoft Whiteboard Reference
Something like this.
Why do the existing features not fit?
The existing features of using the shape tools adds friction for useful simply drawings that many people use regularly like a line or circles. Having to switch tools adds friction and having to fiddle with placement is just another potential pain point.
Compositor and distro
Niri on Fedora Linux
Can you help?
- [x] I can test a build
- [x] I can share screenshots or a short recording
- [ ] I could contribute a PR
@gsmith-alvarez let me know how it behaves for you, or if you any more suggestions.
It works really well. I especially like that you turn them into proper shapes so they can be manipulated with the logic of the shapes like stretching a rectangle vs pulling it's sides. There is only 1 thing I believe could potentially be improved.
I find the detection for if you make a circle a bit too strict which leads to it feeling a bit unforgiving from a user's stand point.
I had the same experience. Will be fixed soon.
Let me know if it behaves better or not really. You can also adjust shape_recognition_sensitivity (0-4) in config file.
I don't think it helped much. I do like all the other features you added with it especially the ghost lines. But I think the thing that makes it feel bad with circles vs all other shapes at least for myself is that when I write circles, about half the time I don't pick up my pen at the joining point of the line. Typically, I make my circle and I over lap the start and end by some amount and that seems to be what breaks it. like you can see in the gif for second circle it recognized that I was drawing a circle but when I went past the end point and overlapped that's when it dropped the recognition.
Should be a lot better now. Let me know @gsmith-alvarez
Yeah much more forgiving and natural.
Good to hear. Let me know if you run into any issues.