📚 KidLisp Dictionary#
Comprehensive API documentation organized by concept
🎯 What is the Dictionary?#
The KidLisp Dictionary organizes all 118 functions into logical, concept-based groupings. Instead of hunting through alphabetical lists, you can explore by the type of creative work you want to do.
🗺️ Navigation by Concept#
🎨 Visual Creation#
- 🌈 Color - CSS colors, gradients, effects (140+ dynamic functions)
- 🎯 Drawing - Lines, shapes, primitives, pixels
- 🌪️ Transformations - Scroll, zoom, spin, blur, suck effects
- 🖼️ Canvas - Screen setup, resolution, masking
- 🖼️ Images - Loading, pasting, stamping, copying
- ✍️ Text - Typography, labels, text rendering
🎵 Audio & Media#
- 🎵 Audio - Microphone, melody, noise, amplitude
- 🎮 3D Graphics - Cubes, forms, camera control
🧮 Programming Fundamentals#
- 🧮 Math - Arithmetic, trigonometry, random numbers
- 🔀 Control Flow - Functions, conditionals, special forms
- 📊 Data - System properties, manipulation, caching
- ⏰ Timing - Frames, clocks, delays, fps
🎮 Interaction & System#
- 🎮 Input - Touch, tap, gesture handling
- 🧭 Navigation - Jumping between pieces, embedding
- 🔧 Debugging - Logging, inspection, development tools
- 🛠️ Utilities - Miscellaneous helper functions
🎨 Getting Started Paths#
"I want to draw things"#
Start with Drawing → Color → Transformations
"I want to make interactive art"#
Start with Input → Drawing → Control Flow
"I want to create animations"#
Start with Timing → Transformations → Math
"I want to work with sound"#
Start with Audio → Math → Timing
"I want to make 3D graphics"#
Start with 3D Graphics → Math → Timing
🎯 Function Coverage#
| Concept | Functions | Status |
|---|---|---|
| Color | ~145 (CSS + effects) | 📋 Planned |
| Drawing | 9 core primitives | 📋 Planned |
| Transformations | 11 pixel effects | 📋 Planned |
| Math | 14 operations | 📋 Planned |
| Control Flow | 7 language constructs | 📋 Planned |
| Canvas | 5 screen functions | 📋 Planned |
| Images | 5 image operations | 📋 Planned |
| Audio | 6 sound functions | 📋 Planned |
| 3D Graphics | 16 3D functions | 📋 Planned |
| Data | 8 system properties | 📋 Planned |
| Input | 1 interaction function | 📋 Planned |
| Timing | 4 temporal functions | 📋 Planned |
| Text | 3 typography functions | 📋 Planned |
| Debugging | 4 development tools | 📋 Planned |
| Navigation | 3 system functions | 📋 Planned |
| Utilities | 4 misc functions | 📋 Planned |
Total: 118 functions across 16 conceptual areas
🔍 Cross-Reference System#
Functions often work together across concepts:
- Color + Drawing = Colorful shapes and lines
- Math + Transformations = Dynamic movement patterns
- Timing + Audio = Rhythm and musical sequences
- Input + Control Flow = Interactive behavior
- 3D Graphics + Math = Complex spatial relationships
Each dictionary page includes a "Related Concepts" section linking to complementary functionality.
🚀 Contributing#
This dictionary is generated from the live KidLisp API and should be kept in sync with function implementations. See TODO.md for the complete implementation plan and progress tracking.
The Dictionary approach makes KidLisp's 118 functions discoverable through creative intent rather than alphabetical searching. Start with what you want to create, not what you remember the function name to be.