Globe icon

Added in v0.2.0

A free pencil-style globe icon, drawn by code from 1 circle, 1 line and 1 ellipse. Use it as an SVG, a React component, or by name. MIT licensed.

globe

01Use it

Use globe

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

<Globe size={24} />

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

JavaScript

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

toSvg(Globe, { 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-globe" data-sketch="" aria-hidden="true"><path d="M20.11 9.2C20.25 9.74 20.98 11.4 20.93 12.48C20.87 13.56 20.29 14.68 19.76 15.68C19.23 16.68 18.61 17.71 17.75 18.49C16.9 19.27 15.76 20.02 14.63 20.35C13.49 20.67 12.11 20.61 10.93 20.43C9.74 20.26 8.57 19.82 7.52 19.27C6.46 18.72 5.37 18.03 4.61 17.15C3.85 16.27 3.27 15.1 2.96 13.97C2.66 12.84 2.55 11.54 2.76 10.39C2.96 9.24 3.5 8.02 4.21 7.06C4.92 6.11 5.97 5.31 7.01 4.66C8.05 4.01 9.25 3.39 10.46 3.18C11.67 2.98 13.03 3.17 14.25 3.45C15.46 3.73 16.75 4.17 17.75 4.87C18.75 5.57 19.59 6.6 20.23 7.64C20.87 8.67 21.45 9.89 21.59 11.07C21.74 12.26 21.18 14.12 21.09 14.73" stroke-width="1.504"/><path d="M3.25 12.02Q12.06 12.19 20.87 12.12" stroke-width="1.696"/><path d="M13.42 19.61C13.17 19.77 12.42 20.56 11.91 20.55C11.41 20.55 10.87 20.03 10.38 19.58C9.89 19.14 9.34 18.66 8.97 17.86C8.6 17.07 8.37 15.89 8.18 14.81C7.99 13.74 7.84 12.54 7.86 11.42C7.87 10.29 8.04 9.08 8.27 8.05C8.51 7.02 8.86 6 9.27 5.25C9.69 4.49 10.23 3.81 10.76 3.5C11.29 3.2 11.91 3.27 12.48 3.41C13.04 3.54 13.64 3.78 14.15 4.3C14.66 4.82 15.18 5.61 15.55 6.53C15.92 7.44 16.21 8.65 16.36 9.79C16.51 10.94 16.52 12.24 16.43 13.41C16.34 14.58 16.14 15.8 15.83 16.79C15.52 17.79 15.05 18.64 14.57 19.36C14.09 20.08 13.52 20.84 12.94 21.09C12.35 21.34 11.38 20.91 11.07 20.87" stroke-width="1.504"/></svg>

Pencil variant

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

<Globe size={32} pencil />

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

02How it's drawn

The recipe for globe

Globe is not stored as a drawing. It is a recipe of 1 circle, 1 line and 1 ellipse 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 8.5;
L 3.5 12 20.5 12;
E 12 12 3.8 8.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 globe. Seed 0 is the default.

wobble 0
wobble 0.25
wobble 0.5
wobble 0.75
wobble 1

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

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

True pixel sizes.

Ink
Pencil