Gamma icon
New Added in v0.6.0
A free pencil-style gamma icon, drawn by code from . Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use gamma
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 { Gamma } from '@matita/icons/react';
<Gamma size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="gamma" />JavaScript
import { Gamma, toSvg } from '@matita/icons';
toSvg(Gamma, { 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-gamma" data-sketch="" aria-hidden="true"><path d="M4.98 8.16C5.16 7.7 5.62 6.16 6.07 5.39C6.51 4.61 7.04 3.76 7.65 3.5C8.25 3.24 9.12 3.45 9.69 3.85C10.27 4.26 10.69 4.79 11.1 5.92C11.51 7.06 11.89 8.69 12.15 10.66C12.4 12.63 12.68 16.1 12.62 17.73C12.55 19.36 12.01 19.83 11.75 20.42C11.49 21.02 11.41 21.3 11.04 21.31C10.68 21.32 9.62 21.17 9.55 20.47C9.49 19.76 9.1 20.05 10.64 17.1C12.19 14.14 17.46 5.12 18.82 2.72" stroke-width="1.584"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { Gamma } from '@matita/icons/react';
<Gamma size={32} pencil />The file is icons/gamma.svg in the package (pencil/gamma.svg for the pencil variant). Matita 0.6.0.
02How it's drawn
The recipe for gamma
Gamma is not stored as a drawing. It is a recipe of 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.
S 5 8 5.96 5.26 7.62 3.66 9.71 3.83 11.25 5.88 12.33 10.77 12.47 17.7 11.76 20.54 11 21.35 9.5 20.5 10.5 17 18.5 3
gamma as a number: 3492353034
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 gamma. Seed 0 is the default.
gamma from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/gamma.svg.
True pixel sizes.