๐Ÿ“– Story Grammar

Interactive Examples & Demonstrations

Explore the power of combinatorial grammar for generative and narrative-based projects.
๐Ÿ”ฎ Tarot Three-Card Spread
Generate mystical three-card tarot readings with Past โ€ข Present โ€ข Future spreads using Story Grammar's combinatorial rules.
  • Complete 78-card tarot deck (Major & Minor Arcana)
  • Dynamic card combinations and interpretations
  • Suit-specific meanings and positional context
  • 474,552 possible combinations
โš”๏ธ Weapon Loot Table Generator
Generate RPG weapon loot with authentic rarity distribution using Story Grammar's weighted rules system.
  • 17 weapon types including throwing weapons
  • Realistic drop rates: Common (38.06%), Magic (50%), Rare (10.44%), Unique (1.5%)
  • Dynamic stats and special effects by rarity
  • Color-coded rarity system with visual effects
๐Ÿ“ฆ CDN Usage Examples
Learn how to use Story Grammar directly in a web browser via CDN - no build tools or npm required!
  • Multiple CDN options (jsDelivr, unpkg, GitHub Pages)
  • 5 interactive examples with working demos
  • Copy-paste ready code snippets
  • Complete HTML template for quick start
๐Ÿงช Compatibility Test Page
Verify that Story Grammar loads and runs correctly across browsers and module formats.
  • UMD / ESM bundle smoke tests
  • Quick generation sanity checks
  • Browser environment diagnostics
๐Ÿ“œ A History of Combinatorial Grammars
A series of pages tracing print experiments and digital projects in combinatorial literature, from 1850 to 2026, with academic references and citations.
  • 1850โ€“1899: Mechanical verse & permutational print
  • 1900โ€“1949: Dada, cut-ups, and chance operations
  • 1950โ€“1999: Oulipo, Markov text, and computer poetry
  • 2000โ€“2026: Generators, grammars, and the open web