A small plugin that simplifies vector paths in Figma.
It can be applied to any vector nodes. The plugin iterates through all segments, renders Bezier curves using De Casteljau’s algorithm, then reduces the number of points in the lines using Douglas-Peucker algorithm and converts resulting points into new Bezier curves.
This results in smoother and simpler lines, which can be especially helpful when using Pencil tool.