I had this idea of allowing an anchor to be passed to the Illustration's centered instead of just true.
I have a Proof of concept working on canvas but bugged on SVG.
The SVG version doesn't seem to like to get rendered multiple times, any previously rendered seem to get removed when rendering to a different Illustration instance.
Maybe you can figure it out.
Demo https://asl97.github.io/zdog/demos/centered/
Poc, bugged on svg, patch change: main...asl97:zdog:main
I had this idea of allowing an anchor to be passed to the Illustration's centered instead of just true.
I have a Proof of concept working on canvas but bugged on SVG.
The SVG version doesn't seem to like to get rendered multiple times, any previously rendered seem to get removed when rendering to a different Illustration instance.
Maybe you can figure it out.
Demo https://asl97.github.io/zdog/demos/centered/
Poc, bugged on svg, patch change: main...asl97:zdog:main