Phi icon
New Added in v0.6.0
A free pencil-style phi icon, drawn by code from . Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use phi
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 { Phi } from '@matita/icons/react';
<Phi size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="phi" />JavaScript
import { Phi, toSvg } from '@matita/icons';
toSvg(Phi, { 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-phi" data-sketch="" aria-hidden="true"><path d="M10.79 5.4C8.95 5.65 7.94 7.58 7.78 10.36C7.96 13.09 9.43 14.84 12.23 14.83C15.96 14.61 17.66 12.79 17.35 9.11C17.11 6.48 12.57 1.99 12.35 8.39C12.31 11.97 12.42 15.54 12.32 19.35" stroke-width="1.392"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { Phi } from '@matita/icons/react';
<Phi size={32} pencil />The file is icons/phi.svg in the package (pencil/phi.svg for the pencil variant). Matita 0.6.0.
02How it's drawn
The recipe for phi
Phi 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.
B 10.5 5.5 8.83 5.83 7.97 7.4 7.9 10.2 8.1 13.27 9.6 14.8 12.4 14.8 16 14.67 17.7 12.73 17.5 9 17.17 6.33 12.5 2 12.3 8.5 12.3 12.07 12.3 15.63 12.3 19.2
phi as a number: 1380231812
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 phi. Seed 0 is the default.
phi from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/phi.svg.
True pixel sizes.