Rho icon

New Added in v0.6.0

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

rho

01Use it

Use rho

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

<Rho size={24} />

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

JavaScript

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

toSvg(Rho, { 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-rho" data-sketch="" aria-hidden="true"><path d="M7.86 21.16Q7.45 16.04 7.86 10.91" stroke-width="1.632"/><path d="M13.43 15.98C13.2 16.04 12.52 16.36 12.05 16.38C11.58 16.4 11.05 16.32 10.62 16.11C10.19 15.9 9.79 15.5 9.44 15.11C9.08 14.73 8.72 14.31 8.48 13.82C8.25 13.33 8.12 12.74 8.03 12.16C7.93 11.59 7.83 10.94 7.91 10.37C7.99 9.79 8.26 9.24 8.51 8.71C8.77 8.19 9.05 7.57 9.44 7.22C9.84 6.87 10.41 6.75 10.91 6.6C11.4 6.45 11.92 6.3 12.43 6.32C12.95 6.34 13.51 6.45 14 6.7C14.48 6.94 14.98 7.34 15.34 7.8C15.71 8.26 16 8.87 16.2 9.47C16.41 10.06 16.52 10.72 16.57 11.36C16.61 12.01 16.63 12.74 16.47 13.35C16.31 13.97 15.96 14.57 15.6 15.07C15.23 15.56 14.78 16 14.3 16.34C13.82 16.67 12.98 16.95 12.71 17.07" stroke-width="1.44"/></svg>

Pencil variant

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

<Rho size={32} pencil />

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

02How it's drawn

The recipe for rho

Rho is not stored as a drawing. It is a recipe of 1 line and 1 ellipse 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 8 21 8 11;
E 12 11.5 4 4.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 rho. Seed 0 is the default.

wobble 0
wobble 0.25
wobble 0.5
wobble 0.75
wobble 1

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

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

True pixel sizes.

Ink
Pencil