mapeditor/tiled

Do you want to work on this issue?

You can request for a bounty in order to promote it!

Freehand polygon/polyline tools #3433

IoriBranford posted onGitHub

Sometimes I want to approximate a curve with a poly. This takes a lot of vertices, thus a lot of mouse clicks, and then more clicks and a lot of drags if I have to edit the poly later. I propose these freehand drawing tools to save some fingers.

  • Drawing pencil. Freehand draw a new poly as in an art application. Available options are to place vertices every n pixels, or at grid snap points. Relieves repeated clicking.

  • Editing pencil. Like the drawing pencil, and with the same options, but only works on an existing line segment of a selected poly to reshape it. Relieves repeated double-clicking and dragging.

  • Alternatively one pencil that edits if starting on a line segment of a selected poly, or draws a new poly otherwise.

  • Vertex eraser. Simply a brush that deletes vertices from selected polys. Brush size is an option. Relieves repeated selecting and deleting.


"hand"-drawn curves will prob look jittery. You probably want round, clean curves a curve representation is just (a + bx + cx²) so user would specify a/b/c from GUI

posted by StardustMotion 12 months ago

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests