Stethoscope icon

New Added in v0.4.0

A free pencil-style stethoscope icon, drawn by code from 2 lines, 1 arc, 1 curve and 1 circle. Use it as an SVG, a React component, or by name. MIT licensed.

stethoscope

01Use it

Use stethoscope

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

<Stethoscope size={24} />

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

JavaScript

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

toSvg(Stethoscope, { 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-stethoscope" data-sketch="" aria-hidden="true"><path d="M5.68 3.71Q5.46 6.61 5.46 9.51" stroke-width="1.472"/><path d="M12.47 3.27Q12.65 6.3 12.69 9.33" stroke-width="1.744"/><path d="M12.63 8.56C12.58 8.81 12.51 9.59 12.33 10.04C12.16 10.5 11.89 10.91 11.58 11.29C11.27 11.67 10.92 12.08 10.49 12.31C10.06 12.54 9.5 12.64 9 12.64C8.5 12.65 7.93 12.56 7.5 12.33C7.07 12.11 6.69 11.7 6.39 11.31C6.1 10.93 5.87 10.49 5.71 10.03C5.55 9.57 5.47 8.81 5.42 8.57" stroke-width="1.744"/><path d="M8.98 12.22Q9.13 17.56 15.65 17.62" stroke-width="1.376"/><path d="M19 19.74C18.82 19.79 18.31 20.01 17.95 20.02C17.59 20.04 17.2 19.96 16.86 19.83C16.51 19.7 16.16 19.5 15.9 19.25C15.63 19 15.4 18.66 15.27 18.33C15.15 17.99 15.13 17.59 15.16 17.23C15.19 16.86 15.28 16.47 15.45 16.14C15.63 15.81 15.89 15.46 16.2 15.22C16.51 14.99 16.92 14.82 17.32 14.71C17.71 14.61 18.17 14.53 18.58 14.58C18.99 14.64 19.43 14.82 19.77 15.04C20.12 15.27 20.41 15.6 20.65 15.93C20.9 16.27 21.16 16.65 21.24 17.05C21.33 17.45 21.26 17.92 21.15 18.33C21.05 18.74 20.87 19.18 20.61 19.52C20.34 19.86 19.95 20.18 19.55 20.38C19.15 20.59 18.67 20.73 18.21 20.77C17.75 20.8 17.03 20.64 16.8 20.61" stroke-width="1.728"/></svg>

Pencil variant

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

<Stethoscope size={32} pencil />

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

02How it's drawn

The recipe for stethoscope

Stethoscope is not stored as a drawing. It is a recipe of 2 lines, 1 arc, 1 curve and 1 circle 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 5.5 4 5.5 9;
L 12.5 4 12.5 9;
A 9 9 3.5 0 180;
Q 9 12.5 9 17.5 15.5 17.5;
C 18 17.5 2.5
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 stethoscope. Seed 0 is the default.

wobble 0
wobble 0.25
wobble 0.5
wobble 0.75
wobble 1

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

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

True pixel sizes.

Ink
Pencil