Infinity icon
New Added in v0.5.0
A free pencil-style infinity icon, drawn by code from 4 curves. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use infinity
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 { Infinity } from '@matita/icons/react';
<Infinity size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="infinity" />JavaScript
import { Infinity, toSvg } from '@matita/icons';
toSvg(Infinity, { 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-infinity" data-sketch="" aria-hidden="true"><path d="M12.26 12.11Q6.93 6.02 3.76 12.39" stroke-width="1.632"/><path d="M3.66 11.76Q6.86 17.95 12.11 11.65" stroke-width="1.424"/><path d="M11.94 12.41Q16.84 5.98 20.31 12.16" stroke-width="1.456"/><path d="M19.96 11.59Q17.2 17.82 11.63 11.78" stroke-width="1.392"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { Infinity } from '@matita/icons/react';
<Infinity size={32} pencil />The file is icons/infinity.svg in the package (pencil/infinity.svg for the pencil variant). Matita 0.5.1.
02How it's drawn
The recipe for infinity
Infinity is not stored as a drawing. It is a recipe of 4 curves 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.
Q 12 12 7 6 4 12;
Q 4 12 7 18 12 12;
Q 12 12 17 6 20 12;
Q 20 12 17 18 12 12
infinity as a number: 1135433081
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 infinity. Seed 0 is the default.
infinity from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/infinity.svg.
True pixel sizes.