Beta icon

New Added in v0.6.0

A free pencil-style beta icon, drawn by code from 1 line and 2 arcs. Use it as an SVG, a React component, or by name. MIT licensed.

beta

01Use it

Use beta

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

<Beta size={24} />

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

JavaScript

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

toSvg(Beta, { 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-beta" data-sketch="" aria-hidden="true"><path d="M7.18 23.46Q6.93 15.54 7.13 7.62" stroke-width="1.808"/><path d="M7.07 9.01C7.11 8.68 7.13 7.67 7.32 7.04C7.51 6.41 7.77 5.71 8.22 5.22C8.66 4.73 9.34 4.3 9.96 4.12C10.59 3.94 11.32 4.06 11.99 4.13C12.66 4.2 13.42 4.23 13.98 4.55C14.54 4.88 15.06 5.49 15.37 6.07C15.68 6.65 15.78 7.35 15.85 8.01C15.93 8.67 16.01 9.41 15.8 10.01C15.59 10.6 15.03 11.1 14.57 11.58C14.11 12.05 13.62 12.63 13.02 12.86C12.42 13.09 11.33 12.92 10.99 12.94" stroke-width="1.808"/><path d="M10.98 12.17C11.3 12.2 12.31 12.17 12.91 12.38C13.51 12.58 14.13 12.94 14.58 13.39C15.03 13.83 15.38 14.45 15.61 15.05C15.84 15.65 16.01 16.35 15.96 16.99C15.92 17.64 15.69 18.36 15.35 18.91C15 19.47 14.46 20 13.9 20.33C13.35 20.67 12.65 20.83 11.99 20.93C11.33 21.02 10.57 21.09 9.95 20.89C9.33 20.68 8.71 20.19 8.27 19.7C7.82 19.21 7.51 18.57 7.28 17.95C7.05 17.32 6.96 16.28 6.9 15.95" stroke-width="1.616"/></svg>

Pencil variant

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

<Beta size={32} pencil />

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

02How it's drawn

The recipe for beta

Beta is not stored as a drawing. It is a recipe of 1 line and 2 arcs 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
L 7 23 7 8;
A 11.5 8.5 4.5 180 450;
A 11.5 16.5 4.5 270 540
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 beta. Seed 0 is the default.

wobble 0
wobble 0.25
wobble 0.5
wobble 0.75
wobble 1

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

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

True pixel sizes.

Ink
Pencil