Sigma icon

New Added in v0.6.0

A free pencil-style sigma icon, drawn by code from 1 circle and 1 polyline. Use it as an SVG, a React component, or by name. MIT licensed.

sigma

01Use it

Use sigma

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 { Sigma } from '@matita/icons/react';

<Sigma size={24} />

// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="sigma" />

JavaScript

import { Sigma, toSvg } from '@matita/icons';

toSvg(Sigma, { size: 24 });   // SVG string

SVG

<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-sigma" data-sketch="" aria-hidden="true"><path d="M12.74 18.69C12.41 18.76 11.41 19.09 10.74 19.09C10.06 19.08 9.34 18.91 8.71 18.64C8.08 18.37 7.43 17.97 6.96 17.47C6.49 16.96 6.18 16.28 5.88 15.63C5.59 14.97 5.21 14.25 5.18 13.55C5.16 12.84 5.48 12.1 5.73 11.41C5.99 10.72 6.25 9.99 6.7 9.41C7.15 8.84 7.78 8.33 8.44 7.98C9.09 7.63 9.87 7.38 10.61 7.31C11.35 7.25 12.19 7.32 12.89 7.57C13.59 7.82 14.22 8.33 14.82 8.81C15.42 9.29 16.1 9.8 16.48 10.45C16.87 11.11 17.07 11.96 17.15 12.74C17.23 13.52 17.17 14.35 16.98 15.11C16.78 15.86 16.45 16.64 16 17.27C15.55 17.9 14.94 18.46 14.29 18.91C13.65 19.35 12.49 19.77 12.13 19.95" stroke-width="1.456"/><path d="M10.65 7.96Q15.39 7.91 20.12 8.18" stroke-width="1.648"/></svg>

Pencil variant

import '@matita/icons/pencil.css';
import { Sigma } from '@matita/icons/react';

<Sigma size={32} pencil />

The file is icons/sigma.svg in the package (pencil/sigma.svg for the pencil variant). Matita 0.6.0.

02How it's drawn

The recipe for sigma

Sigma is not stored as a drawing. It is a recipe of 1 circle and 1 polyline 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 · Recipe
C 11 13.5 5.5;
P 11 8 19.5 8
B · Plotted
C · Drawn
How it works

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.

seed 0
seed 1
seed 2
seed 3
seed 4

Five seeds of sigma. Seed 0 is the default.

wobble 0
wobble 0.25
wobble 0.5
wobble 0.75
wobble 1

sigma from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/sigma.svg.

16 px
20 px
24 px
32 px
48 px
96 px

True pixel sizes.

Ink
Pencil