Sign In

@uuon-foundation/phyllotaxis-seed-engine

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uuon-foundation/phyllotaxis-seed-engine

Phyllotaxis Seed Engine — parametric golden-angle field renderer modeling recursive growth and spatial self-organization via phi. Reproductive System / Seed Propagation layer of the clouud biological architecture. F=(P,E,M,R,C).

latest
Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
38
-85.44%
Maintainers
1
Weekly downloads
 
Created
Source

Phyllotaxis Seed Engine

UUON Foundation Inc. — Phillip Aguilar Ruiz III @uuon-foundation/phyllotaxis-seed-engine · USAL-1.0 · v1.0.0

Reproductive System / Seed Propagation — clouud ecosystem Layer 10

Live: https://uuon-foundation.github.io/phyllotaxis-seed-engine/

Phyllotaxis Seed Engine

What This Engine Does

Models recursive growth and spatial self-organization using a single irrational constant — φ (the golden ratio). Seeds are placed in a polar field where angle increments by the golden angle (≈137.507°) and radius scales by a tunable growth exponent. The result is the densest possible packing of a plane by discrete elements without periodic repetition.

This is not a visualization of Fibonacci numbers. It is the mechanism by which nature determines where new growth nodes appear before any vascular or structural system connects them. The Pythagorean Graph Engine (Layer 08) models the veins. This engine models the seeds that precede them.

Biological Role — clouud Layer 10

LayerSystemEngine
01Spine / CNSuuon-clouud routing
03SkeletonWave Field 3D Engine
04ProprioceptionPropagation Engine
05Visual CortexRecursive Fractal Engine
06Decision LayerBoundary State Engine
07Fractal SkeletonKleinian-Hybrid IFS Engine
08Vascular BranchingPythagorean Graph Engine
10Reproductive SystemPhyllotaxis Seed Engine

F = (P, E, M, R, C)

P — Parameters (Seed Vector, 88 bytes)

SymbolParameterDefaultRange
nSeed count4000100–4000
ΔθAngle offset−8° to +8°
cSpread scale3.41–14
wWarp power2.500.2–3.0
kArm count131–13
γGrowth exponent0.500.1–1.0
τArm twist0.680.5–3.0
Δφφ mutation0−0.05 to +0.05
offxField offset X0−200 to +200
offyField offset Y0−200 to +200
fscaleField scale1.00.3–2.5

E — Encoding

r = pow(i/n, γ)^w · R_max
θ = i · (GOLD_ANGLE + Δθ) · τ
GOLD_ANGLE = 2π · (1 − 1/φ) ≈ 2.39996… rad ≈ 137.507°

γ=0.5 is classical √n packing (Vogel 1979). Any other value changes the density law structurally, not aesthetically.

M — Mapping

index → polar(r, θ) → Cartesian(x, y) → canvas vertex
x = CX + offx + r·cos(θ + rot)
y = CY + offy + r·sin(θ + rot)

Field offset and scale are first-class M-layer parameters, not rendering shortcuts.

R — Representation

  • Canvas 2D (live, current)
  • JSON P-vector (exportable via Save State button)
  • SVG export (planned v1.1.0)
  • GLB point cloud (planned v1.2.0)

C — Compression

P = 88 bytes (11 float64 parameters)
R = W × H × 4 bytes (pixel buffer)
C = R / P — computed structurally per frame, displayed live in sidebar

At 1920×1080: C ≈ 94,371 : 1. This is a structural property, not a marketing claim.

Three Laws

I. Law of Irrational Packing φ is used because it is maximally irrational — worst approximable by rationals. Any deviation from GOLD_ANGLE produces visible arm locking. The Δφ parameter makes this physically auditable in real time. Move Δφ away from zero and watch the arms lock.

II. Law of Parametric Provenance Every visual state must be reconstructible from P alone. The Save State button exports the complete P-vector as a signed JSON file. Load State restores the exact state and syncs every control. This is compliance, not a feature.

III. Law of Compression Fidelity C must be computed as a structural property, not estimated. The live C ratio in the sidebar reads the actual canvas dimensions and computes the ratio from first principles on every frame.

Render Layers

LayerDescription
SEEDSCore dots with radial glow — brightness encodes index depth
SPIRALArm tracings connecting seeds in planting order
LATTICEPolar grid at golden-angle multiples — shows the underlying coordinate structure
VORONOIProximity mesh — connects seeds within threshold distance

Theme System

Default: warm paper (#f5f3ef), black geometry at graded opacity, monotone throughout. Dark: void black (#0a0a0a), white geometry at matching opacity grades. Toggle: ◐ INVERT button. Grain texture regenerates on switch to avoid inversion artifacts.

Textures: GRAIN (256×256 canvas noise), HATCH (diagonal ruled lines at 45°), NOISE (sparse pixel scatter).

P-Vector JSON Schema

{
  "engine": "phyllotaxis-seed-engine",
  "version": "1.0.0",
  "license": "USAL-1.0",
  "author": "Phillip Aguilar Ruiz III",
  "org": "UUON Foundation Inc.",
  "repo": "https://github.com/UUON-Foundation/phyllotaxis-seed-engine",
  "timestamp": "2026-08-05T00:00:00.000Z",
  "P": { "seeds": 4000, "angle": 0, "spread": 3.4, "warp": 2.5, "arms": 13 },
  "E": { "gamma": 0.5, "twist": 0.68, "phimut": 0 },
  "M": { "offx": 0, "offy": 0, "fscale": 1.0 },
  "R": { "radius": 4.2, "layers": ["dots","spiral","lattice","voronoi"],
         "textures": ["grain","hatch"], "fring": 1, "rings": 17 },
  "anim": { "speed": 0.0, "pulse": 1.0, "t": 0 }
}

npm

npm install @uuon-foundation/phyllotaxis-seed-engine

Prior Art

  • Fibonacci sequence, Binet's formula: Jacques Philippe Marie Binet, 1843
  • Phyllotaxis polar model: Helmut Vogel, 1979 — Mathematical Biosciences 44(3–4)
  • Golden angle: public domain mathematics
  • Sin-hash grain noise: public domain GLSL technique

The individual mathematics is prior art. The F=(P,E,M,R,C) architecture, the three-law compliance framework, the Δφ audit mechanism, and the clouud biological assignment are original to Phillip Aguilar Ruiz III / UUON Foundation Inc. under USAL-1.0.

API

See api/README.md for the planned server layer specification.

UUON Foundation Inc. · Phillip Aguilar Ruiz III · phi1@uuonfoundation.com USAL-1.0 · Commercial licensing: phi1@uuonfoundation.com

Keywords

uuon

FAQs

Package last updated on 05 Aug 2026

Related posts