Rho capital icon
New Added in v0.6.0
A free pencil-style rho capital icon, drawn by code from 1 line. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use rho-capital
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 { RhoCapital } from '@matita/icons/react';
<RhoCapital size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="rho-capital" />JavaScript
import { RhoCapital, toSvg } from '@matita/icons';
toSvg(RhoCapital, { size: 24 }); // SVG stringSVG
<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-capital" data-sketch="" aria-hidden="true"><path d="M6.92 20.52Q6.3 12.08 7.02 3.64" stroke-width="1.392"/><path d="M6.74 4.2C8.93 3.89 10.87 4.01 12.85 3.85C14.25 3.97 15.5 4.65 16.28 5.17C16.94 6.07 17.38 7.13 17.44 8.47C17.58 9.49 17 10.86 16.21 11.81C15.37 12.73 14.3 12.81 12.84 13.12C10.86 12.94 8.87 12.89 6.48 12.98" stroke-width="1.648"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { RhoCapital } from '@matita/icons/react';
<RhoCapital size={32} pencil />The file is icons/rho-capital.svg in the package (pencil/rho-capital.svg for the pencil variant). Matita 0.6.0.
02How it's drawn
The recipe for rho-capital
Rho capital is not stored as a drawing. It is a recipe of 1 line 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.
L 7 20 7 4;
B 7 4 9 4 11 4 13 4 14.19 4 15.34 4.47 16.18 5.32 17.03 6.16 17.5 7.31 17.5 8.5 17.5 9.69 17.03 10.84 16.18 11.68 15.34 12.53 14.19 13 13 13 11 13 9 13 7 13
rho-capital as a number: 149830933
Shapes: L line, P polyline, Z closed shape, R rectangle, C circle, E ellipse, A arc, Q curve, O dot. Separate shapes with ;. Edits stay on this page.
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.
Five seeds of rho-capital. Seed 0 is the default.
rho-capital from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/rho-capital.svg.
True pixel sizes.