Monorepo for Aesthetic.Computer aesthetic.computer
at main 63 lines 2.2 kB view raw view rendered
1# 📚 Function Drilldowns 2 3Detailed documentation for specific KidLisp functions. 4 5## Transformation Functions 6 7### Core Transformations 8- **[scroll](scroll.md)** - Pixel translation with wrapping 9- **[zoom](zoom.md)** - Scale transformation from center point 10- **[spin](spin.md)** - Canvas rotation around center 11- **[suck](suck.md)** - Radial displacement transformation 12- **[blur](blur.md)** - Gaussian blur effect 13- **[contrast](contrast.md)** - Contrast adjustment 14 15### Camera & View 16- **[pan](pan.md)** - Camera movement and positioning 17- **[unpan](unpan.md)** - Reset camera to default position 18 19### Specialized 20- **[sort](sort.md)** - Sort pixels by brightness 21- **[resetSpin](resetSpin.md)** - Reset rotation state 22- **[smoothspin](smoothspin.md)** - Smooth rotation animation 23 24## Graphics Functions 25 26### Drawing Primitives 27- **[line](line.md)** - Line drawing with various modes 28- **[box](box.md)** - Rectangle drawing (filled and outlined) 29- **[circle](circle.md)** - Circle drawing with radius control 30- **[tri](tri.md)** - Triangle drawing from three points 31 32### Color & Fill 33- **[ink](ink.md)** - Color setting and management 34- **[wipe](wipe.md)** - Screen clearing and background 35- **[flood](flood.md)** - Flood fill operations 36 37## Control & Logic Functions 38 39### Variables & Functions 40- **[def](def.md)** - Variable definition and scoping 41- **[later](later.md)** - Function definition and parameters 42 43### Flow Control 44- **[if](if.md)** - Conditional execution 45- **[once](once.md)** - Execute-once semantics 46- **[repeat](repeat.md)** - Loop and iteration control 47 48## Math & Utility Functions 49 50### Arithmetic 51- **[+](add.md)** - Addition with multiple arguments 52- **[*](multiply.md)** - Multiplication operations 53- **[random](random.md)** - Random number generation 54- **[wiggle](wiggle.md)** - Random variation around zero 55 56### System 57- **[width](width.md)** - Canvas width access 58- **[height](height.md)** - Canvas height access 59- **[frame](frame.md)** - Frame counter for animation 60 61--- 62 63*Each function guide includes syntax, parameters, examples, and implementation notes. Functions are documented at the same level of detail regardless of complexity.*