a-painter icon indicating copy to clipboard operation
a-painter copied to clipboard

Layers support

Open feiss opened this issue 7 years ago • 2 comments

Managing layers would add incredible potential to a-painter. The user would paint on just one active layer, and layers could be hidden, deleted or added. Also, copying/pasting all the content between one layer and another would be very useful.

The order of layers is irrelevant.

In the DOM, layers would be represented with a-entity tags, working as parents of all the strokes inside.

From a GUI perspective, no naming would be necessary, just the bare minimum:

conceptlayers00

  • Dark icons = hidden layers
  • Bright icons = visible layers
  • White icon = active layer

When the user hovers on one layer icon, a menu appears with the options:

conceptlayers01

  • Copy layer content
  • Paste layer content
  • Toggle visible/hidden
  • Delete layer

On mouse out, menu disappears.

Another very productive feature of layers would be the ability to scale and translate active layer. Grip buttons could be the most convenient for these actions:

  • grip short press -> undo
  • grip long press, moving one controller -> translate
  • grip long press on both controllers, moving one or both controllers -> scale

feiss avatar Jan 16 '17 01:01 feiss

Making the strokes of one layer blink after selecting the layer could be useful for finding the layer we want.

feiss avatar Jan 16 '17 01:01 feiss

Great idea!

blairmacintyre avatar May 13 '17 15:05 blairmacintyre