Conversation
Unfortunately, the pixelation algorithm isn't really just making a curved line jagged. It's working off of a determination of "is this cell occupied or not" and then walking the shortest path. I see what you mean about it being unintuitive, but I don't think there's a way to preserve path order. |
|
I'm fine merging as-is then. I'm not sure I'll ever use it on a table if it goes in a non-deterministic way through the vertices. But I don't use every pattern or effect. It will be interesting to see what happens from it. I'm curious to know if there is a way to just subsample the existing vertices, then round them to nearby pixels, then reconnect them instead. Maybe the reason why that doesn't work is something I don't understand. Maybe because multiple paths would end up along the same path? Seems interesting to me. |
It does a pretty good job of tracing the drawn path for many shapes. It looks like tight loops aren't handled well, though. I'm going to go ahead and merge and maybe we can improve later. |


Pixelate effect
Summary
Adds a new Pixelate effect that transforms any shape into a blocky, pixel-art style outline. It can handle both solid shapes (like stars, hearts) and line-based patterns (like mazes, wipers).
Test Plan