Skip to content

[Idea] Illustration centering on anchor #11

@asl97

Description

@asl97

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions