No updates detected yet. GitHub releases will appear here.
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗A web-based 2D flower generator built from geometry and creative coding. Every flower sits on a grid of concentric rings (core, middle, petal), cut into a number of identical, mirrored slices, so the pattern repeats exactly from slice to slice.
Live: https://floral-generator.vercel.app
Each direction is a tab in the top nav, numbered from 0:
The first tab, All style overview, shows every direction in a 2×2 grid. Randomize gives all four a new design (one shared seed, each at its own petal count); click a card to randomize just that one. Back undoes the last change. The ↗ button on a card opens it in its own tab.
L) — on by default; turn it off and Randomize also picks
a petal count suited to the current direction. While it is off, a row underneath sets the
fewest and most petals Randomize may pick for that direction (it starts at the direction's
own range; Reset goes back to it). The overview cards use these ranges too.Space) / Back — a new design, or the previous one.G) — overlays the rings and slice lines. With the grid on, drag the inner
rings to resize the pattern (the outer petal ring stays fixed).The current direction, seed, petal count and any resized rings are kept in the URL, so a link
reopens the same flower. (In code and in the URL the petal count is still called folds.)
The panel descriptions were shortened. The full original text for each direction, as shown in the panel (the last sentence was shared by all four):
The panel has a Specimen section that describes each flower in words (petal, middle and
core recipe, plus its palette). It is hidden for now: to show it again, remove the hidden
attribute from <section class="recipe"> in index.html. The app keeps it up to
date either way.
No build step. Open index.html in a browser, or serve the folder:
python3 -m http.server 5178
Reference images live in visual-ref/, which is git-ignored.