GeoPattern — Examples
Hands-on walkthroughs with GeoPattern: generate a pattern from a seed, set type and color in custom mode, use it as a CSS background, and build a per-user pattern.
Back to the overview: GeoPattern · Open the tool: www.jpkc.com/tools/geopattern/
The manual explains every option and pattern type in detail. This page adds concrete workflows: typical tasks played through step by step. The interface is in English, so field and button names appear verbatim.
Example 1: Your first pattern from a seed
The starting point — you want to see how text becomes a pattern.
- Open GeoPattern. The Input String field already contains
GitHub, and the preview shows the pattern generated from it. - Replace the text with your own seed — your name or a domain, say — and press Enter (or click Generate Pattern). The preview changes instantly.
- Notice the principle: the
Use custom pattern & colorswitch is off — so your text alone determines both the pattern type and the color. The badge in the top right of the preview names the hex value used. - Type the same text again: an identical pattern. Change a single character: a completely different pattern. That's the deterministic logic — no randomness.
In seconds you have a reproducible graphic without designing anything.
Example 2: Same seed, different color — custom mode
You like the shape but need a color that fits your brand.
- Leave your seed in the Input String field.
- Turn on the Use custom pattern & color switch. The
Pattern TypeandCustom Colorfields become usable. - Click into Custom Color and pick a hex value in the Coloris picker — one of your brand colors or one of the eight swatches. The preview updates immediately.
- Read the result: the basic arrangement stays — it still comes from the seed — but the color is now yours. The badge shows exactly the value you chose, which also lands in the export.
This decouples recognizability (seed) from coloring (brand).
Example 3: Forcing a specific pattern type
Sometimes you want hexagons or triangles specifically, regardless of which type the hash would have picked.
- Turn on Use custom pattern & color.
- Open Pattern Type and pick one of the 16 types, e.g.
HexagonsorTriangles. The preview jumps to the chosen type at once. - Try the types out —
Sine Wavesfor a wavy line look,Plaidfor a tartan feel,Concentric Circlesfor rings. The seed still determines the specific expression within the type. - Combine this with a Custom Color from Example 2 until look and color are right.
Example 4: Embedding as a CSS background-image
The most common goal — you want the pattern in a page without a separate image file.
-
Generate your pattern (seed, optionally type/color in custom mode).
-
Expand the Base64 Data URLs area at the bottom and click Copy on SVG Data URL. You now have a
data:image/svg+xml;…string on the clipboard. -
Drop it into your CSS:
.hero { background-image: url("data:image/svg+xml;…"); background-repeat: repeat; } -
Because SVG is a vector, the pattern tiles cleanly and stays sharp at any screen size — and there's no extra HTTP request, because the image lives inside the stylesheet.
If you need a raster image instead (for an email or an old system), copy the PNG Data URL or use Save PNG.
Example 5: A unique pattern per user (avatars/banners)
The classic GitHub use case — every account should automatically get its own graphic.
- Leave the Use custom pattern & color switch off so that type and color come purely from the seed.
- Enter a stable identifier per user as the Input String — a username, email address, or ID.
- Generate Pattern — and you have a unique, recognizable graphic for exactly that identifier.
- Repeat for further identifiers: each gets its own pattern, and because the logic is deterministic, the same identifier will later look exactly the same again.
- Export per user with Save SVG or Save PNG; the file name automatically takes the seed (
alice.svg,bob.svg).
Example 6: Choosing SVG vs. PNG deliberately
Both formats have their place — here's how to decide.
- Generate your pattern.
- Save SVG when you need lossless scalability: as a CSS background, for large surfaces, or when the file will later vary in size. The file is small and sharp at any resolution.
- Save PNG when the target can't handle SVG: certain email clients, social media uploads, or legacy software. Bear in mind: the PNG is fixed to its rasterized size and won't scale losslessly.
- For a quick file-less embed, take the matching Data URL from the
Base64 Data URLsarea instead.
There's more depth on the other pages: the overview for the big picture, the manual for every option in detail, and the tips & tricks for pitfalls and combinations. You can try all of this directly in the tool.