Cloud sun icon
New Added in v0.5.0
A free pencil-style cloud sun icon, drawn by code from 4 arcs and 4 lines. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use cloud-sun
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 { CloudSun } from '@matita/icons/react';
<CloudSun size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="cloud-sun" />JavaScript
import { CloudSun, toSvg } from '@matita/icons';
toSvg(CloudSun, { 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-sun" data-sketch="" aria-hidden="true"><path d="M9.83 20.91C9.58 20.9 8.82 20.99 8.35 20.86C7.88 20.74 7.34 20.5 6.99 20.16C6.65 19.82 6.43 19.28 6.27 18.82C6.12 18.35 6.04 17.84 6.07 17.37C6.09 16.89 6.21 16.38 6.41 15.95C6.62 15.52 6.93 15.09 7.29 14.77C7.66 14.44 8.38 14.14 8.6 14.02" stroke-width="1.584"/><path d="M9.09 13.66C9.22 13.38 9.52 12.48 9.87 11.99C10.23 11.5 10.69 11.04 11.2 10.74C11.71 10.44 12.34 10.26 12.93 10.18C13.52 10.1 14.17 10.1 14.75 10.25C15.33 10.4 15.91 10.72 16.39 11.09C16.88 11.47 17.45 12.26 17.66 12.49" stroke-width="1.408"/><path d="M17.87 13.94C18.11 14.04 18.86 14.29 19.29 14.56C19.73 14.83 20.24 15.12 20.5 15.54C20.77 15.95 20.82 16.53 20.89 17.04C20.96 17.55 21.06 18.11 20.93 18.6C20.79 19.08 20.44 19.55 20.08 19.92C19.73 20.29 19.27 20.62 18.8 20.81C18.33 21.01 17.5 21.05 17.25 21.1" stroke-width="1.568"/><path d="M9.15 21.19Q13.57 21.4 17.98 21.05" stroke-width="1.632"/><path d="M12.26 10.43C12.2 10.23 11.94 9.63 11.9 9.22C11.87 8.81 11.9 8.34 12.04 7.96C12.19 7.57 12.47 7.19 12.76 6.92C13.06 6.64 13.46 6.46 13.84 6.33C14.21 6.19 14.61 6.12 15 6.11C15.39 6.1 15.83 6.12 16.19 6.27C16.55 6.42 16.85 6.73 17.13 7.01C17.42 7.29 17.78 7.6 17.93 7.97C18.08 8.33 18.05 8.8 18.03 9.21C18 9.63 17.81 10.24 17.77 10.45" stroke-width="1.504"/><path d="M15.06 2.18Q15.13 3.15 15.13 4.12" stroke-width="1.44"/><path d="M20.54 9.15Q21.29 9.21 22.05 9.19" stroke-width="1.616"/><path d="M18.82 5.1Q19.47 4.52 20.1 3.92" stroke-width="1.68"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { CloudSun } from '@matita/icons/react';
<CloudSun size={32} pencil />The file is icons/cloud-sun.svg in the package (pencil/cloud-sun.svg for the pencil variant). Matita 0.5.1.
02How it's drawn
The recipe for cloud-sun
Cloud sun is not stored as a drawing. It is a recipe of 4 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 9.5 17.5 3.5 90 250;
A 13.5 14.5 4.5 195 330;
A 17.5 17.5 3.5 280 450;
L 9.5 21 17.5 21;
A 15 9 3 160 380;
L 15 2.5 15 3.5;
L 21 9 22 9;
L 19.3 4.7 20 4
cloud-sun as a number: 1538811133
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-sun. Seed 0 is the default.
cloud-sun from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/cloud-sun.svg.
True pixel sizes.