ReproducibleExample

Rose, k = 5/4

CG-005C-D906-99E4

A rose curve whose petals overlap because k is fractional; it closes after 8π.

Artist
Colors Gravity (example)
Created
2026-11-17
Medium
Algorithmic drawing, HTML canvas 2D
Collection
Waves and oscillation
Algorithm
Rose curve (open in studio)

Why it looks like this

r = cos(k · θ), k = n / d

A rose is a sine wave wrapped around a point. Guido Grandi named the family in the 1720s. With k = n/d in lowest terms, the curve closes after π·d turns when n·d is odd and 2π·d when it is even, and it has n petals or 2n petals respectively. Fractional k makes the petals overlap and weave.

n
5
d
4
Line width
1.4
Seed
0 (not used by this algorithm)

Provenance

  • ✓ID matches the recipe hash.
  • ✓Algorithm source is the registered version.
  • ✓Signed with key e63de6aa3cd0fd53 (ed25519) on 2026-11-17.
  • ✓In the public hash log as entry 1.
Record hash and recipe
record_sha256 a907137ba6510162c34004351c4d649a28b0bccef2f2165cbcb62a5008dacf81
{
  "algorithm": "rose",
  "params": {
    "d": 4,
    "n": 5,
    "stroke": 1.4
  },
  "seed": 0,
  "source_sha256": "aefa5e6692462e8c83165d5ef3e03b68df67e6073a16aa44a0836ffa3ff482be",
  "spec": "cg-recipe/1"
}
JSON record

Verify in your browser

Recomputes the ID from the recipe, checks the algorithm source is the registered one, then re-renders at 480 × 480 and hashes the pixels.