sqip-plugin-primitive
TODO: description
Options
command | Description |
---|---|
-n, --primitive-numberOfPrimitives number | The number of primitive shapes to use to build the SQIP SVG |
-m, --primitive-mode number | The style of primitives to use: 0=combo, 1=triangle, 2=rect, 3=ellipse, 4=circle, 5=rotatedrect, 6=beziers, 7=rotatedellipse, 8=polygon |
--primitive-rep number | add N extra shapes each iteration with reduced search (mostly good for beziers) |
--primitive-alpha number | color alpha (use 0 to let the algorithm choose alpha for each shape) |
--primitive-background string | starting background color (hex) |
--primitive-cores number | number of parallel workers (default uses all cores) |
Usage
import sqipPluginPrimitive from 'sqip-plugin-primitive';
// TODO: DEMONSTRATE API