mirror of
https://github.com/storytold/deckcraft.git
synced 2026-10-25 19:17:06 -06:00
A shape path gradient tested every raster pixel against every flattened outline edge, so an outline with tens of thousands of segments cost billions of tests and stalled rendering. The outline is now simplified before rasterising so pixels x edges stays under 64M: points closer than a raster pixel are dropped first, then every k-th point is kept, with each polygon left closed and at least 8 edges. Co-authored-by: Cursor <cursoragent@cursor.com>