Phi capital icon

New Added in v0.6.0

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

phi-capital

01Use it

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

<PhiCapital size={24} />

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

JavaScript

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

toSvg(PhiCapital, { 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-phi-capital" data-sketch="" aria-hidden="true"><path d="M18.58 11.27C18.49 11.72 18.35 13.14 18.05 14.02C17.75 14.9 17.41 15.88 16.8 16.52C16.18 17.17 15.23 17.57 14.37 17.91C13.51 18.25 12.57 18.58 11.66 18.58C10.74 18.57 9.71 18.3 8.9 17.87C8.1 17.43 7.37 16.69 6.83 15.94C6.29 15.2 5.86 14.29 5.67 13.4C5.49 12.51 5.5 11.49 5.71 10.62C5.93 9.75 6.41 8.9 6.94 8.16C7.48 7.42 8.13 6.64 8.92 6.19C9.7 5.74 10.74 5.46 11.64 5.44C12.55 5.43 13.5 5.77 14.35 6.11C15.21 6.45 16.12 6.85 16.78 7.48C17.43 8.11 18.01 9.02 18.29 9.89C18.57 10.76 18.41 12.24 18.44 12.71" stroke-width="1.504"/><path d="M12.18 3.54Q11.62 12.02 11.97 20.51" stroke-width="1.6"/></svg>

Pencil variant

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

<PhiCapital size={32} pencil />

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

02How it's drawn

The recipe for phi-capital

Phi capital is not stored as a drawing. It is a recipe of 1 arc and 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.

A · Recipe
A 12 12 6.5 0 359.9;
L 12 4 12 20
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 phi-capital. Seed 0 is the default.

wobble 0
wobble 0.25
wobble 0.5
wobble 0.75
wobble 1

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

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

True pixel sizes.

Ink
Pencil