Monorepo for Aesthetic.Computer aesthetic.computer
README.md

📚 Function Drilldowns #

Detailed documentation for specific KidLisp functions.

Transformation Functions #

Core Transformations #

  • scroll - Pixel translation with wrapping
  • zoom - Scale transformation from center point
  • spin - Canvas rotation around center
  • suck - Radial displacement transformation
  • blur - Gaussian blur effect
  • contrast - Contrast adjustment

Camera & View #

  • pan - Camera movement and positioning
  • unpan - Reset camera to default position

Specialized #

Graphics Functions #

Drawing Primitives #

  • line - Line drawing with various modes
  • box - Rectangle drawing (filled and outlined)
  • circle - Circle drawing with radius control
  • tri - Triangle drawing from three points

Color & Fill #

  • ink - Color setting and management
  • wipe - Screen clearing and background
  • flood - Flood fill operations

Control & Logic Functions #

Variables & Functions #

  • def - Variable definition and scoping
  • later - Function definition and parameters

Flow Control #

  • if - Conditional execution
  • once - Execute-once semantics
  • repeat - Loop and iteration control

Math & Utility Functions #

Arithmetic #

  • + - Addition with multiple arguments
  • * - Multiplication operations
  • random - Random number generation
  • wiggle - Random variation around zero

System #

  • width - Canvas width access
  • height - Canvas height access
  • frame - Frame counter for animation

Each function guide includes syntax, parameters, examples, and implementation notes. Functions are documented at the same level of detail regardless of complexity.