Delta icon

New Added in v0.6.0

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

delta

01Use it

Use delta

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

<Delta size={24} />

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

JavaScript

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

toSvg(Delta, { 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-delta" data-sketch="" aria-hidden="true"><path d="M11.34 11.26C10.92 11.48 9.4 12.14 8.81 12.59C8.23 13.03 8.05 13.44 7.82 13.91C7.58 14.38 7.42 14.8 7.42 15.4C7.42 16.01 7.65 17 7.83 17.53C8.01 18.06 8.12 18.21 8.5 18.6C8.87 18.99 9.41 19.55 10.09 19.89C10.78 20.23 11.9 20.68 12.61 20.63C13.32 20.58 13.81 20.08 14.37 19.59C14.92 19.1 15.57 18.24 15.94 17.67C16.32 17.1 16.59 16.84 16.61 16.16C16.64 15.49 16.54 14.49 16.08 13.61C15.63 12.72 14.57 11.43 13.88 10.83C13.2 10.24 12.54 10.52 11.96 10.03C11.39 9.55 10.86 8.62 10.45 7.94C10.04 7.25 9.5 6.59 9.51 5.94C9.53 5.28 9.94 4.31 10.53 4C11.11 3.68 11.97 3.79 13.03 4.05C14.09 4.3 16.22 5.29 16.86 5.54" stroke-width="1.616"/></svg>

Pencil variant

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

<Delta size={32} pencil />

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

02How it's drawn

The recipe for delta

Delta 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.

A · Recipe
S 11 11.5 9 12.5 8 14 7.5 15.5 8 17.5 8.5 18.5 10 20 12.5 20.5 14.5 19.5 16 17.5 16.5 16 16 13.5 14 11 12 10 10.33 8.02 9.5 6 10.5 4 13 4 16.5 5.5
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 delta. Seed 0 is the default.

wobble 0
wobble 0.25
wobble 0.5
wobble 0.75
wobble 1

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

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

True pixel sizes.

Ink
Pencil