Timer icon

New Added in v0.4.0

A free pencil-style timer icon, drawn by code from 1 circle and 3 lines. Use it as an SVG, a React component, or by name. MIT licensed.

timer

01Use it

Use timer

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

<Timer size={24} />

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

JavaScript

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

toSvg(Timer, { 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-timer" data-sketch="" aria-hidden="true"><path d="M17.43 8.56C17.7 8.91 18.71 9.89 19.07 10.68C19.42 11.47 19.54 12.44 19.55 13.32C19.57 14.2 19.38 15.09 19.13 15.96C18.88 16.82 18.59 17.77 18.05 18.49C17.51 19.22 16.7 19.89 15.88 20.31C15.06 20.72 14.06 20.87 13.14 20.98C12.23 21.08 11.26 21.12 10.37 20.93C9.48 20.74 8.63 20.31 7.83 19.85C7.02 19.4 6.11 18.91 5.51 18.2C4.92 17.5 4.44 16.54 4.24 15.64C4.04 14.75 4.19 13.76 4.3 12.84C4.41 11.92 4.52 10.97 4.88 10.13C5.25 9.29 5.81 8.43 6.48 7.79C7.15 7.15 8.03 6.61 8.91 6.28C9.78 5.94 10.76 5.86 11.71 5.79C12.66 5.72 13.72 5.58 14.62 5.84C15.51 6.11 16.37 6.76 17.08 7.38C17.8 8.01 18.6 9.21 18.91 9.57" stroke-width="1.408"/><path d="M11.84 13.87Q13.35 11.96 15.12 10.31" stroke-width="1.76"/><path d="M9.29 2.92Q11.99 2.84 14.69 3.2" stroke-width="1.504"/><path d="M11.84 2.59Q11.88 4.36 11.8 6.13" stroke-width="1.728"/></svg>

Pencil variant

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

<Timer size={32} pencil />

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

02How it's drawn

The recipe for timer

Timer is not stored as a drawing. It is a recipe of 1 circle and 3 lines 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
C 12 13.5 7.5;
L 12 13.5 15 10.5;
L 9.5 3 14.5 3;
L 12 3 12 6
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 timer. Seed 0 is the default.

wobble 0
wobble 0.25
wobble 0.5
wobble 0.75
wobble 1

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

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

True pixel sizes.

Ink
Pencil