📖 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