Clock icon
Added in v0.1.0
A free pencil-style clock icon, drawn by code from 1 circle and 1 polyline. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use clock
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 { Clock } from '@matita/icons/react';
<Clock size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="clock" />JavaScript
import { Clock, toSvg } from '@matita/icons';
toSvg(Clock, { 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-clock" data-sketch="" aria-hidden="true"><path d="M7.5 4.86C8.09 4.73 9.82 4.23 11.02 4.08C12.21 3.93 13.55 3.69 14.69 3.96C15.82 4.24 16.94 5 17.84 5.73C18.74 6.47 19.53 7.4 20.07 8.38C20.6 9.36 20.94 10.51 21.04 11.62C21.15 12.72 21.13 14 20.7 15.03C20.28 16.06 19.36 17 18.49 17.79C17.62 18.59 16.6 19.36 15.49 19.81C14.38 20.26 13.03 20.51 11.81 20.48C10.6 20.46 9.32 20.09 8.19 19.63C7.07 19.17 5.89 18.56 5.04 17.74C4.2 16.92 3.54 15.81 3.12 14.73C2.7 13.65 2.43 12.38 2.53 11.25C2.63 10.11 3.18 8.95 3.74 7.89C4.31 6.83 4.97 5.68 5.93 4.89C6.89 4.1 8.23 3.45 9.49 3.18C10.74 2.91 12.8 3.25 13.46 3.26" stroke-width="1.776"/><path d="M11.93 6.73Q12.08 9.46 11.87 12.2Q13.79 13.06 15.72 13.89" stroke-width="1.568"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { Clock } from '@matita/icons/react';
<Clock size={32} pencil />The file is icons/clock.svg in the package (pencil/clock.svg for the pencil variant). Matita 0.7.0.
02How it's drawn
The recipe for clock
Clock 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.
C 12 12 8.5;
P 12 7 12 12 15.5 14
clock as a number: 363073373
Shapes: L line, P polyline, Z closed shape, R rectangle, C circle, E ellipse, A arc, Q curve, B bezier curve, S smooth line, 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 clock. Seed 0 is the default.
clock from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/clock.svg.
True pixel sizes.