Ejecta
Ejecta copied to clipboard
Possible ctx.transform bug (w/ example)
I think there's a bug with ctx.transform (or I might not be understanding the implementation)
To replicate the phenomenon, check out this example from Mozilla docs;
https://developer.mozilla.org/en-US/docs/Canvas_tutorial/Transformations#transform_.2F_setTransform_examples
It works in the browser, but when I try via ejecta, I get an entirely different output. If I had to guess, I'd say the matrix is not maintaining proper state when multiple transformations are applied in the same draw iteration.
thanks! I looked at this concat line 100 times but missed the reversed order of the args.