Chart pie 2 icon
New Added in v0.7.0
A free pencil-style chart pie 2 icon, drawn by code from 1 polyline, 1 arc, 1 bezier curve and 3 lines. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use chart-pie-2
One package, four ways in. The icon inherits currentColor and is decorative unless you give it a title. Install it with npm i @matita/icons.
React
import { ChartPie2 } from '@matita/icons/react';
<ChartPie2 size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="chart-pie-2" />JavaScript
import { ChartPie2, toSvg } from '@matita/icons';
toSvg(ChartPie2, { size: 24 }); // SVG stringSVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" overflow="visible" class="sketch-icon sketch-icon-chart-pie-2" data-sketch="" aria-hidden="true"><path d="M11.13 3.88Q11.45 8.36 11.16 12.83Q15.62 12.87 20.08 12.96" stroke-width="1.408"/><path d="M19.35 12.23C19.29 12.85 19.36 14.8 18.95 15.93C18.54 17.07 17.77 18.21 16.89 19.05C16.02 19.89 14.86 20.59 13.71 20.99C12.56 21.39 11.22 21.57 10 21.44C8.78 21.32 7.44 20.93 6.41 20.27C5.38 19.62 4.48 18.56 3.84 17.51C3.21 16.47 2.72 15.2 2.59 14C2.47 12.8 2.71 11.48 3.09 10.32C3.48 9.16 4.05 7.91 4.89 7.05C5.72 6.18 6.95 5.59 8.1 5.15C9.25 4.71 11.17 4.52 11.79 4.4" stroke-width="1.456"/><path d="M13.37 3.2C15.31 2.81 17.25 3.86 18.97 5.28C20.39 6.66 21.16 8.35 21 10.45C18.63 10.63 16.11 10.35 13.46 10.47C13.69 8.01 13.45 5.43 13.33 2.73" stroke-width="1.536"/><path d="M15.75 10.31Q14.81 9.33 13.98 8.23" stroke-width="1.792"/><path d="M18.53 10.43Q16.08 7.95 13.69 5.41" stroke-width="1.696"/><path d="M20.2 9.47Q17.44 6.4 14.34 3.65" stroke-width="1.824"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { ChartPie2 } from '@matita/icons/react';
<ChartPie2 size={32} pencil />The file is icons/chart-pie-2.svg in the package (pencil/chart-pie-2.svg for the pencil variant). Matita 0.7.0.
02How it's drawn
The recipe for chart-pie-2
Chart pie 2 is not stored as a drawing. It is a recipe of 1 polyline, 1 arc, 1 bezier curve and 3 lines on a 24 by 24 grid, and a small program draws it like a pencil would. The wobble comes from the name, so it always comes out the same.
P 11 4.5 11 13 19.5 13;
A 11 13 8.5 0 270;
B 13.5 3 15.49 3 17.4 3.79 18.8 5.2 20.21 6.6 21 8.51 21 10.5 18.5 10.5 16 10.5 13.5 10.5 13.5 8 13.5 5.5 13.5 3;
L 15.5 10 14 8.5;
L 18.25 10 14 5.75;
L 20 9.25 14.75 4
chart-pie-2 as a number: 2453590071
Shapes: L line, P polyline, Z closed shape, R rectangle, C circle, E ellipse, A arc, Q curve, B bezier curve, S smooth line, O dot. Separate shapes with ;. Edits stay on this page.
03Takes, sizes, pencil
Same icon, every way
Pass a seed for another take of the same recipe. The wobble is capped, so it still reads at 16 px.
Five seeds of chart-pie-2. Seed 0 is the default.
chart-pie-2 from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/chart-pie-2.svg.
True pixel sizes.