Wind icon

New Added in v0.5.0

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

wind

01Use it

Use wind

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

<Wind size={24} />

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

JavaScript

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

toSvg(Wind, { 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-wind" data-sketch="" aria-hidden="true"><path d="M2.67 8.5Q8.58 8.35 14.49 8.38" stroke-width="1.632"/><path d="M13.82 8.4C14 8.37 14.57 8.37 14.89 8.23C15.21 8.1 15.5 7.85 15.74 7.59C15.98 7.33 16.23 7.01 16.32 6.68C16.42 6.36 16.33 5.98 16.31 5.61C16.28 5.24 16.36 4.74 16.17 4.46C15.97 4.17 15.48 4.09 15.14 3.91C14.8 3.73 14.47 3.39 14.12 3.37C13.77 3.35 13.38 3.61 13.04 3.78C12.71 3.94 12.26 4.26 12.1 4.36" stroke-width="1.616"/><path d="M2.74 12.38Q11.11 12.95 19.48 12.33" stroke-width="1.488"/><path d="M18.81 12.25C18.96 12.23 19.42 12.22 19.72 12.14C20.02 12.06 20.38 11.98 20.61 11.78C20.84 11.59 20.98 11.24 21.1 10.95C21.21 10.66 21.32 10.34 21.32 10.04C21.32 9.74 21.18 9.44 21.09 9.14C20.99 8.83 20.95 8.44 20.75 8.19C20.55 7.94 20.2 7.76 19.89 7.63C19.57 7.51 19.19 7.39 18.87 7.45C18.55 7.5 18.28 7.8 17.99 7.97C17.71 8.14 17.31 8.38 17.17 8.46" stroke-width="1.632"/><path d="M2.89 16.53Q6.6 16.71 10.3 16.46" stroke-width="1.488"/><path d="M9.82 16.56C10.01 16.56 10.65 16.41 10.98 16.54C11.32 16.66 11.6 17.03 11.83 17.33C12.06 17.62 12.26 17.96 12.36 18.31C12.45 18.65 12.47 19.06 12.4 19.4C12.32 19.75 12.13 20.09 11.93 20.37C11.72 20.66 11.45 20.9 11.15 21.11C10.85 21.32 10.48 21.59 10.12 21.63C9.76 21.67 9.33 21.51 8.99 21.35C8.65 21.19 8.23 20.78 8.07 20.66" stroke-width="1.632"/></svg>

Pencil variant

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

<Wind size={32} pencil />

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

02How it's drawn

The recipe for wind

Wind is not stored as a drawing. It is a recipe of 3 lines and 3 arcs 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
L 3 8.5 14 8.5;
A 14 6 2.5 90 -135;
L 3 12.5 19 12.5;
A 19 10 2.4 90 -135;
L 3 16.5 10 16.5;
A 10 19 2.5 -90 135
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 wind. Seed 0 is the default.

wobble 0
wobble 0.25
wobble 0.5
wobble 0.75
wobble 1

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

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

True pixel sizes.

Ink
Pencil