Currently animations are only supported on root items, which I assume is because animating items in groups would affect layout, which would affect performance. I propose that a “canvas” group/komponent be added.
- Can be added anywhere, not just in root
- Has a specified width and height no matter the content
- Items in a canvas behave like root items:
- Positioned via anchor + X and Y offset
- Can have animations and “smooth seconds” rotation
- Option to clip canvas contents to the canvas layout bounds or allow the canvas to draw outside of its layout bounds
This would greatly increase the flexibility of KLWP and KLCK. Currently introducing an animated part into a preset requires discarding the ease of use of layout via groups and pulling one or more parts of the preset out into root. You also can’t really share a part of a preset (like a visualizer for example) if it contains animations.