From 3530055f59e01ce8d170004612be839da98eea6a Mon Sep 17 00:00:00 2001 From: Nils Pukropp Date: Sun, 17 May 2026 15:27:44 +0200 Subject: [PATCH] changed parameter --- frontend/src/lib/cybersigil.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/lib/cybersigil.ts b/frontend/src/lib/cybersigil.ts index 490ec00..ffd2c39 100644 --- a/frontend/src/lib/cybersigil.ts +++ b/frontend/src/lib/cybersigil.ts @@ -201,11 +201,11 @@ export function buildCybersigil(opts: SigilOptions = {}): string { // ── Terminal spike crown: long, straight, downward-converging needles // off the spine tail — the dripping barbed point that ends the growth. const tip = spinePts[spinePts.length - 1]; - const fan = 5 + Math.floor(rng() * 4); // 5–8 + const fan = 4 + Math.floor(rng() * 3); // 4–6 for (let s = 0; s < fan; s++) { - const spread = (s / (fan - 1) - 0.5) * 1.5; // ~±0.75 rad around straight-down + const spread = (s / (fan - 1) - 0.5) * 1.0; // ~±0.5 rad — tighter dagger const a = Math.PI / 2 + spread; // π/2 = +y (down) - const len = rnd(46, 78) * (1 - Math.abs(spread) * 0.35); // center longest + const len = rnd(64, 104) * (1 - Math.abs(spread) * 0.35); // center longest const base: Pt = [tip[0], tip[1] - rnd(0, 8)]; const tt: Pt = [base[0] + Math.cos(a) * len, base[1] + Math.sin(a) * len]; emit(`M${n(base[0])} ${n(base[1])}L${n(tt[0])} ${n(tt[1])}`, 'cs-sig-barb');