Waves icon
New Added in v0.5.0
A free pencil-style waves icon, drawn by code from . Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use waves
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 { Waves } from '@matita/icons/react';
<Waves size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="waves" />JavaScript
import { Waves, toSvg } from '@matita/icons';
toSvg(Waves, { 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-waves" data-sketch="" aria-hidden="true"><path d="M2.11 7.18C4.54 3.92 6.83 3.85 8.88 7.07C11 9.85 13.3 10.17 15.57 7.14C17.5 3.85 20.02 4.12 21.52 7.31" stroke-width="1.712"/><path d="M2.39 12.56C4.34 8.88 6.96 9.06 9.16 12.15C10.91 14.95 13.37 14.85 15.33 11.82C17.62 8.95 20.02 8.81 21.77 12.43" stroke-width="1.392"/><path d="M2.08 17.38C4.36 13.97 7.19 14.04 9.14 17.06C10.82 20.17 13.45 19.81 15.53 17C17.32 13.96 19.87 13.9 21.51 17.18" stroke-width="1.632"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { Waves } from '@matita/icons/react';
<Waves size={32} pencil />The file is icons/waves.svg in the package (pencil/waves.svg for the pencil variant). Matita 0.5.1.
02How it's drawn
The recipe for waves
Waves is not stored as a drawing. It is a recipe of 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.
B 2.5 7 4.5 4 7 4 9 7 11 10 13.5 10 15.5 7 17.5 4 20 4 21.5 7;
B 2.5 12 4.5 9 7 9 9 12 11 15 13.5 15 15.5 12 17.5 9 20 9 21.5 12;
B 2.5 17 4.5 14 7 14 9 17 11 20 13.5 20 15.5 17 17.5 14 20 14 21.5 17
waves as a number: 737491941
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 waves. Seed 0 is the default.
waves from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/waves.svg.
True pixel sizes.