Radiation icon

New Added in v0.4.0

A free pencil-style radiation icon, drawn by code from 1 circle, 1 dot, 3 arcs and 6 lines. Use it as an SVG, a React component, or by name. MIT licensed.

radiation

01Use it

Use radiation

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

<Radiation size={24} />

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

JavaScript

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

toSvg(Radiation, { 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-radiation" data-sketch="" aria-hidden="true"><path d="M13.84 14.24C13.68 14.35 13.24 14.77 12.88 14.88C12.53 14.99 12.09 14.94 11.7 14.9C11.31 14.86 10.9 14.81 10.55 14.66C10.2 14.51 9.89 14.25 9.6 13.99C9.31 13.72 8.98 13.42 8.82 13.08C8.66 12.73 8.63 12.29 8.65 11.9C8.66 11.52 8.77 11.11 8.92 10.75C9.08 10.39 9.31 10.03 9.58 9.73C9.86 9.44 10.22 9.17 10.6 8.98C10.98 8.79 11.44 8.64 11.87 8.62C12.3 8.61 12.76 8.74 13.17 8.88C13.58 9.02 14 9.2 14.34 9.46C14.69 9.71 15.04 10.04 15.25 10.41C15.46 10.77 15.55 11.23 15.6 11.65C15.65 12.08 15.67 12.54 15.56 12.95C15.45 13.36 15.19 13.75 14.93 14.11C14.67 14.47 14.14 14.95 13.99 15.11" stroke-width="1.696"/><path d="M6.65 5.27C7.24 5.03 8.94 4.13 10.15 3.86C11.36 3.59 12.7 3.4 13.9 3.63C15.1 3.87 16.77 4.99 17.35 5.27" stroke-width="1.68"/><path d="M7.56 4.27Q8.88 7.14 10.47 9.86" stroke-width="1.376"/><path d="M16.39 4.12Q14.62 6.76 13.22 9.61" stroke-width="1.52"/><path d="M20.32 10.82C20.31 11.45 20.62 13.43 20.26 14.57C19.9 15.72 19.02 16.81 18.17 17.69C17.32 18.57 15.67 19.51 15.17 19.87" stroke-width="1.664"/><path d="M20.99 11.97Q17.8 11.83 14.62 11.95" stroke-width="1.536"/><path d="M16.59 19.6Q14.88 16.93 13.37 14.16" stroke-width="1.568"/><path d="M8.38 19.71C7.94 19.35 6.44 18.43 5.72 17.58C4.99 16.74 4.42 15.7 4.03 14.65C3.65 13.6 3.52 11.83 3.42 11.27" stroke-width="1.616"/><path d="M7.56 19.77Q8.99 16.94 10.52 14.18" stroke-width="1.424"/><path d="M3.36 11.82Q6.5 11.79 9.65 12.09" stroke-width="1.696"/><path d="M12.02 12.19l.01 0" stroke-width="2.48"/></svg>

Pencil variant

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

<Radiation size={32} pencil />

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

02How it's drawn

The recipe for radiation

Radiation is not stored as a drawing. It is a recipe of 1 circle, 1 dot, 3 arcs and 6 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.

A · Recipe
C 12 12 3;
O 12 12;
A 12 12 8.5 -120 -60;
L 7.75 4.64 10.5 9.4;
L 16.25 4.64 13.5 9.4;
A 12 12 8.5 0 60;
L 20.5 12 15 12;
L 16.25 19.36 13.5 14.6;
A 12 12 8.5 120 180;
L 7.75 19.36 10.5 14.6;
L 3.5 12 9 12
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 radiation. Seed 0 is the default.

wobble 0
wobble 0.25
wobble 0.5
wobble 0.75
wobble 1

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

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

True pixel sizes.

Ink
Pencil