Skip to content

Is this a bug with translations? #21

@tegacodes

Description

@tegacodes

Not sure if this is a bug, but if you don't call translations on color layers within push and pop, they accumulate when the two layers are cut out from one another. See here how the blue layer also inherits the translations from the pink layer when cutout is called. If the translations from each layer are in push and pop, the problem is solved. not sure if this is a bug.
https://editor.p5js.org/brain/sketches/Kj3uwPFmI

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