lichin-lin / figma-simplify-path

Figma plugin to simplify vector paths

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simplify path plugin for Figma

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.

About

Figma plugin to simplify vector paths

License:Apache License 2.0


Languages

Language:JavaScript 52.3%Language:TypeScript 47.7%