Skip to content

Instantly share code, notes, and snippets.

View bmorphism's full-sized avatar
🦍
annealing information lattice since *2069*

Barton Rhodes bmorphism

🦍
annealing information lattice since *2069*
View GitHub Profile
@bmorphism
bmorphism / PROJECT_SUMMARY.md
Created January 8, 2026 15:06
Gay-TOFU: Executive summary

Gay-TOFU: Executive Summary

Low-Discrepancy Color Sequences with Bijective TOFU Authentication

Version: 1.0
Status: ✅ Production Ready
Date: 2026-01-08


@bmorphism
bmorphism / QUICKSTART.md
Created January 8, 2026 15:06
Gay-TOFU: 5-minute quickstart guide

Gay-TOFU Quick Start Guide

Low-Discrepancy Color Sequences + Trust-On-First-Use Authentication

What You Have

Julia Implementation (3850+ lines)

  • Location: ~/ies/gay-tofu/low-discrepancy-sequences/
  • 8 sequences, 10 MCP tools, fully tested
@bmorphism
bmorphism / README.md
Created January 8, 2026 15:06
Gay-TOFU: Bijective color sequences - README

🌈 Gay-TOFU

Bijective Low-Discrepancy Color Sequences with TOFU Authentication

Status Tests Lines Docs

The only color sequence system with full bijection support. Given a color, recover the index that generated it.

@bmorphism
bmorphism / visualize-optimality.html
Created January 8, 2026 15:06
Gay-TOFU: Plastic constant optimality proof
<!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;
@bmorphism
bmorphism / hamming-codec.html
Created January 8, 2026 15:06
Gay-TOFU: Error-correcting codec demo
<!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;
@bmorphism
bmorphism / alphabet-tensor.html
Created January 8, 2026 15:06
Gay-TOFU: 3×3×3 Hamming swarm visualization
<!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;
@bmorphism
bmorphism / world.html
Created January 8, 2026 15:06
Gay-TOFU: Interactive color generation demo
<!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;
@bmorphism
bmorphism / gay-tofu.test.ts
Created January 8, 2026 15:06
Gay-TOFU: Test suite (45+ tests)
/**
* Tests for Gay-TOFU TypeScript implementation
* Run with: deno test gay-tofu.test.ts
* or with Node: npx tsx gay-tofu.test.ts
*/
import {
goldenAngleColor,
plasticColor,
haltonColor,
@bmorphism
bmorphism / gay-tofu.ts
Created January 8, 2026 15:06
Gay-TOFU: Bijective low-discrepancy color sequences (TypeScript)
/**
* Gay-TOFU: Low-Discrepancy Color Sequences for Visual Authentication
*
* TypeScript port of the Julia implementation for browser/Node.js use.
* Bijective color generation - you can recover the index from the color.
*
* @module gay-tofu
* @license MIT
*/
@bmorphism
bmorphism / CONTINUATION.md
Last active December 22, 2025 03:51
LocalSend MCP Skill - Live Session