Heart pulse icon
Added in v0.4.0
A free pencil-style heart pulse icon, drawn by code from 1 bezier curve and 2 polylines. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use heart-pulse
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 { HeartPulse } from '@matita/icons/react';
<HeartPulse size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="heart-pulse" />JavaScript
import { HeartPulse, toSvg } from '@matita/icons';
toSvg(HeartPulse, { 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-heart-pulse" data-sketch="" aria-hidden="true"><path d="M5.47 12.08C4.79 11.13 4.06 10.16 4.14 9.06C4.01 7.97 4.76 6.84 5.36 6.27C6.26 5.43 7.08 5.14 8.12 4.87C9.09 4.89 10.12 5.38 11.03 5.98C11.64 6.9 12.18 7.39 12.05 8.5C12 7.27 12.38 7.05 12.84 6.21C13.66 5.36 14.94 5.13 15.63 4.98C16.71 5.08 17.75 5.31 18.62 6.06C19.39 7.04 19.68 7.8 19.99 8.85C19.89 10.21 19.24 11.04 18.56 12.04" stroke-width="1.472"/><path d="M4.94 11.12Q8.72 15.19 12.02 19.66Q15.46 15.77 18.74 11.74" stroke-width="1.392"/><path d="M7.77 12.17Q8.88 12.11 9.98 12.13Q10.69 11.26 11.3 10.32Q11.91 12.35 12.57 14.37Q13.3 13.19 14.1 12.05Q15.08 12.01 16.06 12.06" stroke-width="1.76"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { HeartPulse } from '@matita/icons/react';
<HeartPulse size={32} pencil />The file is icons/heart-pulse.svg in the package (pencil/heart-pulse.svg for the pencil variant). Matita 0.7.0.
02How it's drawn
The recipe for heart-pulse
Heart pulse is not stored as a drawing. It is a recipe of 1 bezier curve and 2 polylines 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 5.37 11.83 4.62 11.08 4.2 10.06 4.2 9 4.2 7.94 4.62 6.92 5.37 6.17 6.12 5.42 7.14 5 8.2 5 9.26 5 10.28 5.42 11.03 6.17 11.78 6.92 12 7.44 12 8.5 12 7.44 12.22 6.92 12.97 6.17 13.72 5.42 14.74 5 15.8 5 16.86 5 17.88 5.42 18.63 6.17 19.38 6.92 19.8 7.94 19.8 9 19.8 10.06 19.38 11.08 18.63 11.83;
P 5.4 11.8 12 19.5 18.6 11.8;
P 8.25 12.25 10 12.25 11.25 10.5 12.75 14.5 14.25 12 15.75 12
heart-pulse as a number: 2345751563
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 heart-pulse. Seed 0 is the default.
heart-pulse from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/heart-pulse.svg.
True pixel sizes.