Audio lines icon
New Added in v0.7.0
A free pencil-style audio lines icon, drawn by code from 5 lines. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use audio-lines
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 { AudioLines } from '@matita/icons/react';
<AudioLines size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="audio-lines" />JavaScript
import { AudioLines, toSvg } from '@matita/icons';
toSvg(AudioLines, { 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-audio-lines" data-sketch="" aria-hidden="true"><path d="M3.54 9.58Q3.43 11.96 3.5 14.34" stroke-width="1.552"/><path d="M7.89 6.37Q7.53 12.11 7.75 17.84" stroke-width="1.52"/><path d="M12.03 3.28Q12.31 12.18 11.88 21.08" stroke-width="1.536"/><path d="M16.43 7Q16.43 11.89 16.19 16.79" stroke-width="1.536"/><path d="M20.34 9.63Q20.31 12.12 20.4 14.6" stroke-width="1.456"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { AudioLines } from '@matita/icons/react';
<AudioLines size={32} pencil />The file is icons/audio-lines.svg in the package (pencil/audio-lines.svg for the pencil variant). Matita 0.7.0.
02How it's drawn
The recipe for audio-lines
Audio lines is not stored as a drawing. It is a recipe of 5 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.
L 3.5 10 3.5 14;
L 7.75 6.5 7.75 17.5;
L 12 3.5 12 20.5;
L 16.25 7.5 16.25 16.5;
L 20.5 10 20.5 14
audio-lines as a number: 1700600535
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 audio-lines. Seed 0 is the default.
audio-lines from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/audio-lines.svg.
True pixel sizes.