Circle dashed icon

New Added in v0.7.0

A free pencil-style circle dashed icon, drawn by code from 6 arcs. Use it as an SVG, a React component, or by name. MIT licensed.

circle-dashed

01Use it

Use circle-dashed

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

<CircleDashed size={24} />

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

JavaScript

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

toSvg(CircleDashed, { 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-circle-dashed" data-sketch="" aria-hidden="true"><path d="M20.36 9.89C20.38 10.12 20.39 10.83 20.43 11.3C20.47 11.77 20.63 12.25 20.61 12.71C20.59 13.18 20.36 13.87 20.31 14.1" stroke-width="1.808"/><path d="M17.75 18.16C17.58 18.29 17.06 18.65 16.73 18.92C16.4 19.19 16.11 19.57 15.74 19.79C15.37 20.01 14.72 20.17 14.52 20.24" stroke-width="1.728"/><path d="M9.52 20.04C9.32 19.96 8.75 19.72 8.35 19.57C7.96 19.42 7.5 19.35 7.14 19.13C6.79 18.9 6.38 18.37 6.23 18.22" stroke-width="1.504"/><path d="M3.73 14.34C3.71 14.08 3.64 13.3 3.58 12.77C3.52 12.25 3.33 11.72 3.38 11.21C3.43 10.7 3.81 9.96 3.89 9.71" stroke-width="1.808"/><path d="M6.35 5.81C6.49 5.66 6.87 5.14 7.2 4.92C7.53 4.69 7.97 4.63 8.34 4.46C8.71 4.29 9.25 4 9.43 3.91" stroke-width="1.728"/><path d="M14.39 3.89C14.61 3.95 15.3 4.05 15.7 4.24C16.1 4.43 16.43 4.77 16.78 5.04C17.14 5.31 17.66 5.72 17.84 5.86" stroke-width="1.76"/></svg>

Pencil variant

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

<CircleDashed size={32} pencil />

The file is icons/circle-dashed.svg in the package (pencil/circle-dashed.svg for the pencil variant). Matita 0.7.0.

02How it's drawn

The recipe for circle-dashed

Circle dashed is not stored as a drawing. It is a recipe of 6 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
A 12 12 8.5 -7 7;
A 12 12 8.5 53 67;
A 12 12 8.5 113 127;
A 12 12 8.5 173 187;
A 12 12 8.5 233 247;
A 12 12 8.5 293 307
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 circle-dashed. Seed 0 is the default.

wobble 0
wobble 0.25
wobble 0.5
wobble 0.75
wobble 1

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

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

True pixel sizes.

Ink
Pencil