Documentation

Research and development documentation for @jim/spandex.

Quick Links by Role

New to rectangle decomposition? Start with RECTANGLE-DECOMPOSITION-PRIMER - explains three strategies for handling overlapping rectangles.

Using the library?

Contributing?

Interested in the research?

Structure

docs/
├── core/                            # Theory + validated findings
├── analyses/                        # Individual experiment results
├── diagrams/                        # Visual explanations (ASCII)
├── active/experiments/              # In-progress work (empty when idle)
│
├── RECTANGLE-DECOMPOSITION-PRIMER.md  # Educational introduction
├── IMPLEMENTATION-LIFECYCLE.md        # Add/archive/restore workflows
├── BENCHMARK-FRAMEWORK.md             # Performance testing guide
└── TELEMETRY-GUIDE.md                 # Production instrumentation

archive/docs/experiments/            # Rejected experiments (preserved)

Core Research

Executive summary: RESEARCH-SUMMARY provides overview of all findings (5 min read)

Theory: theoretical-foundation contains mathematical proofs and complexity analysis

Key Experiments

Each analysis document includes hypothesis, methodology, data, and conclusions:

Related work: alternatives-analysis (quadtrees, grids, etc.) • related-work (modern techniques)

Failed experiments: See archive/docs/experiments/ for rejected approaches and lessons learned