Gluten free icon
New Added in v0.6.0
A free pencil-style gluten free icon, drawn by code from 2 lines and 4 curves. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use gluten-free
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 { GlutenFree } from '@matita/icons/react';
<GlutenFree size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="gluten-free" />JavaScript
import { GlutenFree, toSvg } from '@matita/icons';
toSvg(GlutenFree, { 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-gluten-free" data-sketch="" aria-hidden="true"><path d="M11.97 23.28Q11.51 15.61 11.94 7.94" stroke-width="1.584"/><path d="M11.78 8.55Q15.33 5.48 11.66 2.38" stroke-width="1.808"/><path d="M12.12 8.57Q8.96 5.53 12.34 2.29" stroke-width="1.792"/><path d="M12.06 12.73Q11.46 7.77 6.19 7.49" stroke-width="1.536"/><path d="M12.45 12.67Q7.4 12.24 6.32 7.16" stroke-width="1.696"/><path d="M11.56 12.34C15.28 12.37 16.95 10.47 17.57 7.57C14.31 7.72 12.58 9.2 11.75 13.08" stroke-width="1.504"/><path d="M11.91 18.07C11.32 14.19 9.81 12.55 6.62 12.42C7.09 15.72 8.64 17.32 12.38 17.32" stroke-width="1.728"/><path d="M11.87 23.17C11.48 19.36 9.62 17.56 6.51 17.41C6.96 20.73 8.7 22.35 12.23 22.68" stroke-width="1.584"/><path d="M11.72 17.39C15.27 17.29 17.04 15.49 17.39 12.56C14.49 12.75 12.41 14.53 11.7 17.87" stroke-width="1.424"/><path d="M11.58 22.68C15.13 22.25 16.87 20.52 17.34 17.35C14.48 17.85 12.32 19.44 11.92 22.99" stroke-width="1.728"/><path d="M2.35 21.76Q11.76 11.8 21.56 2.25" stroke-width="1.632"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { GlutenFree } from '@matita/icons/react';
<GlutenFree size={32} pencil />The file is icons/gluten-free.svg in the package (pencil/gluten-free.svg for the pencil variant). Matita 0.6.0.
02How it's drawn
The recipe for gluten-free
Gluten free is not stored as a drawing. It is a recipe of 2 lines and 4 curves 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.
L 12 23 12 8.5;
Q 12 8.5 15.2 5.5 12 2.5;
Q 12 8.5 8.8 5.5 12 2.5;
Q 12 12.5 11.27 7.78 6.5 7.5;
Q 12 12.5 7.23 12.22 6.5 7.5;
B 12 12.5 15.18 12.31 17.01 10.65 17.5 7.5 14.32 7.69 12.49 9.35 12 12.5;
B 12 17.5 11.51 14.35 9.68 12.69 6.5 12.5 6.99 15.65 8.82 17.31 12 17.5;
B 12 22.5 11.51 19.35 9.68 17.69 6.5 17.5 6.99 20.65 8.82 22.31 12 22.5;
B 12 17.5 15.18 17.31 17.01 15.65 17.5 12.5 14.32 12.69 12.49 14.35 12 17.5;
B 12 22.5 15.18 22.31 17.01 20.65 17.5 17.5 14.32 17.69 12.49 19.35 12 22.5;
L 2.5 21.5 21.5 2.5
gluten-free as a number: 2180684533
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 gluten-free. Seed 0 is the default.
gluten-free from exact shapes (wobble 0) to the full hand (wobble 1, the default). The exact version is also a ready-made file: exact/gluten-free.svg.
True pixel sizes.