Clock 2 icon

New Added in v0.7.0

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

clock-2

01Use it

Use clock-2

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

<Clock2 size={24} />

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

JavaScript

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

toSvg(Clock2, { 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-clock-2" data-sketch="" aria-hidden="true"><path d="M18.12 17.73C17.68 18.08 16.48 19.32 15.51 19.87C14.53 20.42 13.38 20.93 12.28 21.01C11.17 21.1 9.93 20.79 8.88 20.36C7.82 19.94 6.77 19.26 5.95 18.44C5.13 17.62 4.39 16.54 3.96 15.44C3.54 14.34 3.36 13.04 3.38 11.84C3.4 10.65 3.61 9.34 4.09 8.28C4.57 7.22 5.42 6.26 6.27 5.47C7.11 4.68 8.1 3.99 9.15 3.52C10.21 3.04 11.47 2.56 12.6 2.63C13.73 2.7 14.91 3.36 15.94 3.93C16.97 4.51 18.04 5.18 18.8 6.08C19.57 6.99 20.21 8.19 20.54 9.35C20.87 10.52 20.89 11.84 20.78 13.08C20.67 14.31 20.45 15.67 19.89 16.74C19.32 17.81 18.34 18.74 17.39 19.5C16.43 20.25 14.69 20.96 14.16 21.25" stroke-width="1.776"/><path d="M12.01 6.13Q12.14 9.15 11.99 12.17Q14.16 11.19 16.19 9.93" stroke-width="1.648"/></svg>

Pencil variant

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

<Clock2 size={32} pencil />

The file is icons/clock-2.svg in the package (pencil/clock-2.svg for the pencil variant). Matita 0.7.0.

02How it's drawn

The recipe for clock-2

Clock 2 is not stored as a drawing. It is a recipe of 1 circle and 1 polyline 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 12 8.5;
P 12 6.5 12 12 15.8 10
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 clock-2. Seed 0 is the default.

wobble 0
wobble 0.25
wobble 0.5
wobble 0.75
wobble 1

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

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

True pixel sizes.

Ink
Pencil