Cloud rain icon
New Added in v0.5.0
A free pencil-style cloud rain icon, drawn by code from 3 arcs and 4 lines. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use cloud-rain
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 { CloudRain } from '@matita/icons/react';
<CloudRain size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="cloud-rain" />JavaScript
import { CloudRain, toSvg } from '@matita/icons';
toSvg(CloudRain, { 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-cloud-rain" data-sketch="" aria-hidden="true"><path d="M7.89 15.64C7.61 15.58 6.72 15.49 6.19 15.29C5.66 15.1 5.1 14.84 4.71 14.45C4.33 14.06 4.07 13.49 3.9 12.97C3.72 12.46 3.66 11.9 3.65 11.35C3.65 10.8 3.63 10.16 3.86 9.68C4.09 9.2 4.62 8.83 5.05 8.48C5.49 8.12 6.24 7.72 6.48 7.57" stroke-width="1.616"/><path d="M7.16 7.05C7.31 6.7 7.63 5.6 8.03 4.96C8.43 4.32 8.93 3.62 9.55 3.22C10.18 2.81 11.02 2.62 11.78 2.53C12.54 2.44 13.39 2.42 14.1 2.66C14.8 2.9 15.41 3.46 15.99 3.95C16.56 4.45 17.28 5.36 17.54 5.64" stroke-width="1.472"/><path d="M17.09 6.56C17.37 6.64 18.29 6.78 18.82 7.03C19.34 7.29 19.8 7.68 20.23 8.09C20.66 8.51 21.2 8.98 21.39 9.53C21.58 10.08 21.43 10.77 21.37 11.38C21.31 11.99 21.33 12.68 21.05 13.2C20.77 13.71 20.2 14.12 19.71 14.46C19.21 14.79 18.67 15.03 18.1 15.22C17.53 15.41 16.59 15.52 16.28 15.58" stroke-width="1.472"/><path d="M7.08 15.49Q12.17 15.11 17.27 15.48" stroke-width="1.824"/><path d="M8.15 17.71Q7.43 19.52 6.81 21.38" stroke-width="1.712"/><path d="M11.98 17.82Q11.56 19.53 11.03 21.19" stroke-width="1.424"/><path d="M15.94 17.88Q15.3 19.45 14.88 21.1" stroke-width="1.712"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { CloudRain } from '@matita/icons/react';
<CloudRain size={32} pencil />The file is icons/cloud-rain.svg in the package (pencil/cloud-rain.svg for the pencil variant). Matita 0.5.1.
02How it's drawn
The recipe for cloud-rain
Cloud rain is not stored as a drawing. It is a recipe of 3 arcs and 4 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 7.5 11.5 4 90 250;
A 12.5 8 5.5 195 330;
A 17 11 4.5 280 450;
L 7.5 15.5 17 15.5;
L 8 18.2 7 21;
L 12 18.2 11 21;
L 16 18.2 15 21
cloud-rain as a number: 1635631903
Shapes: L line, P polyline, Z closed shape, R rectangle, C circle, E ellipse, A arc, Q curve, 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 cloud-rain. Seed 0 is the default.
cloud-rain from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/cloud-rain.svg.
True pixel sizes.