Gauge icon
New Added in v0.4.0
A free pencil-style gauge icon, drawn by code from 1 arc, 1 line and 1 dot. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use gauge
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 { Gauge } from '@matita/icons/react';
<Gauge size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="gauge" />JavaScript
import { Gauge, toSvg } from '@matita/icons';
toSvg(Gauge, { 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-gauge" data-sketch="" aria-hidden="true"><path d="M4.92 19.7C4.66 19.08 3.64 17.27 3.38 16C3.12 14.73 3.11 13.32 3.37 12.05C3.63 10.79 4.17 9.42 4.96 8.41C5.75 7.39 6.94 6.5 8.12 5.96C9.29 5.41 10.71 5.15 12 5.15C13.29 5.15 14.72 5.41 15.88 5.96C17.04 6.51 18.14 7.45 18.97 8.46C19.81 9.47 20.56 10.73 20.89 12C21.21 13.27 21.22 14.79 20.92 16.07C20.61 17.35 19.37 19.08 19.06 19.68" stroke-width="1.424"/><path d="M11.98 14.38Q14.11 11.5 16.27 8.64" stroke-width="1.792"/><path d="M12.07 14.09l.01 0" stroke-width="2.48"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { Gauge } from '@matita/icons/react';
<Gauge size={32} pencil />The file is icons/gauge.svg in the package (pencil/gauge.svg for the pencil variant). Matita 0.4.0.
02How it's drawn
The recipe for gauge
Gauge is not stored as a drawing. It is a recipe of 1 arc, 1 line and 1 dot 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.
A 12 14 9 150 390;
L 12 14 16 9;
O 12 14
gauge as a number: 1054449520
Shapes: L line, P polyline, Z closed shape, R rectangle, C circle, E ellipse, A arc, Q curve, 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 gauge. Seed 0 is the default.
gauge from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/gauge.svg.
True pixel sizes.