Eta icon

New Added in v0.6.0

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

eta

01Use it

Use eta

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

<Eta size={24} />

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

JavaScript

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

toSvg(Eta, { 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-eta" data-sketch="" aria-hidden="true"><path d="M17.98 21.34C17.91 17.98 17.88 14.68 17.96 11.65C17.89 10.12 17.25 8.6 16.32 7.48C15.06 6.43 13.85 5.94 12.13 5.8C10.6 5.73 9.2 6.2 8.01 7.61C7.24 8.48 6.48 10.15 6.62 11.38C6.63 12.88 6.51 14.09 6.67 15.62C6.63 14.34 6.42 12.74 6.3 11.56C6.32 6.41 3.85 5.46 2.89 9.41" stroke-width="1.696"/></svg>

Pencil variant

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

<Eta size={32} pencil />

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

02How it's drawn

The recipe for eta

Eta 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
B 18 21 18 17.83 18 14.67 18 11.5 18 9.98 17.39 8.51 16.32 7.43 15.24 6.36 13.77 5.75 12.25 5.75 10.73 5.75 9.26 6.36 8.18 7.43 7.11 8.51 6.5 9.98 6.5 11.5 6.5 12.83 6.5 14.17 6.5 15.5 6.5 14.17 6.5 12.83 6.5 11.5 6.5 6.5 4 5.5 3 9
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 eta. Seed 0 is the default.

wobble 0
wobble 0.25
wobble 0.5
wobble 0.75
wobble 1

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

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

True pixel sizes.

Ink
Pencil