Four interactive demonstrations of Gay-TOFU color sequences and error correction
Purpose: Introduction to plastic constant color generation
File: world.html (12KB)
The Hamming Swarm is a clever overlay structure on the 3×3×3 alphabet tensor that creates an error-correcting network using Hamming distance relationships. By mapping 26 letters + 1 sigil (🌈) to a 27-position cube and connecting them via Hamming distances in 5-bit binary encodings, we create a self-organizing swarm with natural error detection and correction properties.
For optimal uniform coverage in n dimensions, use the root of x^(n+1) = x + 1
| Dimension | Equation | Constant | Value | Use Case |
|---|---|---|---|---|
| 1D | x² = x + 1 | Golden Ratio (φ) | 1.618... | Just hue rotation |
| 2D | x³ = x + 1 | Plastic Constant (φ₂) | 1.3247... | Hue + saturation |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Why Plastic Constant is 2D Optimal</title> | |
| <style> | |
| body { | |
| font-family: monospace; | |
| background: #0a0a0a; | |
| color: #e0e0e0; |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Hamming Swarm Error-Correcting Codec</title> | |
| <style> | |
| body { | |
| margin: 0; | |
| background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%); | |
| color: #e0e0e0; | |
| font-family: 'SF Mono', 'Consolas', monospace; |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>3×3×3 Alphabet Tensor with Hamming Swarm</title> | |
| <script src="https://enkimute.github.io/ganja.js/ganja.js"></script> | |
| <style> | |
| body { margin: 0; background: #0a0a0a; color: #e0e0e0; font-family: 'SF Mono', monospace; } | |
| .controls { | |
| position: fixed; top: 10px; left: 10px; z-index: 100; | |
| background: rgba(0,0,0,0.8); padding: 15px; border-radius: 8px; |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Gay-TOFU Demo - Bijective Color Sequences</title> | |
| <style> | |
| * { | |
| margin: 0; | |
| padding: 0; |