Generates deterministic colors using low-discrepancy sequences (Golden Angle, Plastic Constant, Halton, Sobol) with bijective index recovery for uniform coverage and reafference.
From asi-skillsnpx claudepluginhub plurigrid/asiThis skill uses the workspace's default tool permissions.
DEPLOYMENT.mdINTEGRATION_GUIDE.mdLowDiscrepancySequences.jlManifest.tomlProject.tomlREADME.mdSUMMARY.mdawareness_visualization.jlexamples.jllow-discrepancy-sequences.orgmcp_integration.jlGuides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Analyzes BMad project state from catalog CSV, configs, artifacts, and query to recommend next skills or answer questions. Useful for help requests, 'what next', or starting BMad.
Deterministic color generation via low-discrepancy sequences with bijective index recovery.
Extends beyond the golden angle (φ) with multiple low-discrepancy sequences for uniform color space coverage. All sequences maintain bijectivity: given a color and seed, you can recover the index n.
All sequences are bijective on index: Given (color, seed), you can recover n.
This enables:
These sequences extend the existing gay-mcp MCP server tools:
gay_golden_thread: Current φ-based generationgay_plastic_thread: New φ₂-based 2D generationgay_halton_color: Direct RGB via Haltongay_r_sequence: n-dimensional R-sequencegay_sobol_color: High-dimensional Sobolgay_invert_color: Recover index from colorTrit: 0 (ERGODIC)
Low-discrepancy sequences are infrastructure for uniform space coverage - neither generative (+1) nor analytical (-1), but foundational coordination (0).
using LowDiscrepancySequences
# Golden angle (current method)
color1 = golden_angle_color(69, seed=42)
# Plastic constant (2D: hue + saturation)
color2 = plastic_color(69, seed=42)
# Halton (direct RGB)
color3 = halton_color(69)
# R-sequence (3D)
color4 = r_sequence_color(69, dim=3, seed=42)
# Invert: recover index
n = invert_color(color2, method=:plastic, seed=42)
@assert n == 69
Continued fractions provide geodesic paths in hyperbolic geometry (PSL(2,ℝ) action on ℍ²). This connects to:
The Farey sequence F_n = {p/q : gcd(p,q)=1, 0≤p≤q≤n} gives rational approximations to irrationals via continued fractions, mirroring the discrete approximations to geodesic flows.