Building complex icon
New Added in v0.7.0
A free pencil-style building complex icon, drawn by code from 4 polylines, 1 line and 2 dots. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use building-complex
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 { BuildingComplex } from '@matita/icons/react';
<BuildingComplex size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="building-complex" />JavaScript
import { BuildingComplex, toSvg } from '@matita/icons';
toSvg(BuildingComplex, { size: 24 }); // SVG stringSVG
<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-building-complex" data-sketch="" aria-hidden="true"><path d="M8.04 21.17Q7.58 12.26 8.19 3.36Q12.13 3.15 16.07 3.41Q15.91 12.19 16.05 20.97" stroke-width="1.792"/><path d="M8.59 10.79Q5.95 11.01 3.32 11.18Q3.46 16.18 3.7 21.17" stroke-width="1.488"/><path d="M15.64 10.93Q18 11.02 20.35 10.87Q20.54 15.81 20.59 20.76" stroke-width="1.552"/><path d="M2.25 20.65Q12.13 20.48 22.02 20.42" stroke-width="1.696"/><path d="M10.67 21.25Q10.63 18.78 10.34 16.32Q11.86 16.4 13.36 16.64Q13.33 18.68 13.46 20.73" stroke-width="1.488"/><path d="M12.16 6.87l.01 0M12 10.98l.01 0" stroke-width="2.48"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { BuildingComplex } from '@matita/icons/react';
<BuildingComplex size={32} pencil />The file is icons/building-complex.svg in the package (pencil/building-complex.svg for the pencil variant). Matita 0.7.0.
02How it's drawn
The recipe for building-complex
Building complex is not stored as a drawing. It is a recipe of 4 polylines, 1 line and 2 dots 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.
P 8 20.5 8 3.5 16 3.5 16 20.5;
P 8 11 3.5 11 3.5 20.5;
P 16 11 20.5 11 20.5 20.5;
L 2.5 20.5 21.5 20.5;
O 12 7;
O 12 11;
P 10.5 20.5 10.5 16.5 13.5 16.5 13.5 20.5
building-complex as a number: 2283893748
Shapes: L line, P polyline, Z closed shape, R rectangle, C circle, E ellipse, A arc, Q curve, B bezier curve, S smooth line, O dot. Separate shapes with ;. Edits stay on this page.
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.
Five seeds of building-complex. Seed 0 is the default.
building-complex from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/building-complex.svg.
True pixel sizes.