Brain circuit icon

New Added in v0.7.0

A free pencil-style brain circuit icon, drawn by code from 4 dots, 5 bezier curves, 2 arcs and 3 curves. Use it as an SVG, a React component, or by name. MIT licensed.

brain-circuit

01Use it

Use brain-circuit

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

<BrainCircuit size={24} />

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

JavaScript

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

toSvg(BrainCircuit, { 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-brain-circuit" data-sketch="" aria-hidden="true"><path d="M9.52 4.22C9.89 3.18 10.18 2.36 11.55 2.25C12.37 2.17 13.32 3.34 13.21 3.41C13.43 4.49 13.1 5.65 13.16 6.81C13.58 6.63 14.24 6.76 14.68 6.56C15.11 6.35 15.58 6.41 16.14 6.11C16.99 5.92 18.05 5.87 19.3 5.98" stroke-width="1.392"/><path d="M13.47 10.03C14.51 10.04 15.07 9.96 15.93 9.91C16.14 9.57 16.81 9.47 17.05 9.44C17.73 9.44 18.51 9.1 19.44 9.54" stroke-width="1.568"/><path d="M8.9 19.26C9.09 19.97 9.58 21.39 10.88 21.68C12.42 21.63 13.15 20.52 13.02 20.13C13.09 19.11 13.04 17.92 13.01 16.94C13.52 16.84 14.26 16.83 14.9 16.89C15.17 17.13 15.41 17.22 16.05 17.66C16.95 17.57 18.05 17.5 18.99 17.65" stroke-width="1.728"/><path d="M13.3 13.28C14.34 13.59 15.28 13.63 16.14 13.53C16.32 13.74 16.56 13.97 16.99 14.25C17.55 14.44 18.48 14.2 19.66 14.21" stroke-width="1.504"/><path d="M6.42 11.54C5.6 11.76 4.37 11.16 4.27 9.56C4.16 8.14 5.38 7.49 5.65 7.43C5.32 7.09 5.39 4.89 6.88 4.35C9.33 3.69 9.88 5.8 10.04 7.03" stroke-width="1.456"/><path d="M8.71 13.32C8.64 13.5 8.51 14.09 8.31 14.41C8.11 14.73 7.82 15 7.52 15.25C7.22 15.5 6.86 15.83 6.48 15.92C6.1 16.01 5.62 15.94 5.24 15.81C4.85 15.69 4.46 15.46 4.18 15.18C3.9 14.91 3.71 14.52 3.56 14.17C3.42 13.81 3.32 13.43 3.3 13.05C3.29 12.67 3.31 12.24 3.46 11.89C3.6 11.54 4.05 11.11 4.17 10.95" stroke-width="1.52"/><path d="M8.72 19.09C8.58 19.18 8.19 19.55 7.9 19.61C7.6 19.66 7.26 19.49 6.95 19.43C6.64 19.38 6.3 19.41 6.04 19.27C5.78 19.13 5.58 18.85 5.39 18.6C5.19 18.35 4.95 18.09 4.86 17.79C4.76 17.49 4.75 17.11 4.82 16.8C4.88 16.49 5.19 16.08 5.26 15.93" stroke-width="1.52"/><path d="M8.85 8.53Q9.23 9.89 8.04 9.58" stroke-width="1.616"/><path d="M9.26 16.34Q10.15 16.22 10 16.78" stroke-width="1.536"/><path d="M10.3 12.49Q11.33 12.23 10.95 12.91" stroke-width="1.536"/><path d="M19.92 6.08l.01 0M20.16 14.18l.01 0M19.95 17.53l.01 0M20.12 9.35l.01 0" stroke-width="2.48"/></svg>

Pencil variant

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

<BrainCircuit size={32} pencil />

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

02How it's drawn

The recipe for brain-circuit

Brain circuit is not stored as a drawing. It is a recipe of 4 dots, 5 bezier curves, 2 arcs and 3 curves 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
O 20 6;
O 20 14.25;
O 20 17.5;
O 20 9.25;
B 9.74 3.53 9.85 3.14 10.25 2.25 11.5 2.18 12.51 2.12 13.15 3.14 13.26 3.53 13.26 4.53 13.25 5.75 13.25 6.75 13.75 6.75 14.25 6.75 14.75 6.75 15.17 6.5 15.58 6.25 16 6 17 6 18 6 19 6;
B 13.5 10 14.33 10 15.17 10 16 10 16.33 9.75 16.67 9.5 17 9.25 17.67 9.25 18.33 9.25 19 9.25;
B 9 19.5 9.11 19.89 9.5 21.5 11 21.5 12.25 21.5 13 20.5 13 20 13 19 13 17.75 13 16.75 13.5 16.75 14.25 16.75 14.75 16.75 15.17 17 15.58 17.25 16 17.5 17 17.5 18 17.5 19 17.5;
B 13.5 13.5 14.33 13.5 15.17 13.5 16 13.5 16.33 13.75 16.67 14 17 14.25 17.67 14.25 18.33 14.25 19 14.25;
B 6.25 11.75 5.5 11.75 4.23 11 4.24 9.68 4.25 8.25 5.27 7.67 5.73 7.55 5.5 7.06 5.25 5 6.75 4.5 9.23 3.67 9.99 5.96 9.99 6.5;
A 6 13 2.85 15 220;
A 7.25 17.25 2.36 60 205;
Q 9 9 9.25 9.75 8.5 9.75;
Q 9.75 16.25 10.25 16.25 10.25 16.5;
Q 10.75 12.25 11.25 12.25 11.25 12.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 brain-circuit. Seed 0 is the default.

wobble 0
wobble 0.25
wobble 0.5
wobble 0.75
wobble 1

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

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

True pixel sizes.

Ink
Pencil