# AyaanScript+ GUI Demos

Run any of these with `ayaan demos/<name>.ayaan` to see what the native GUI can do.

| Demo | What it shows |
|------|--------------|
| `bounce.ayaan` | 8 balls bouncing with gravity, damping, shadow + highlight |
| `starfield.ayaan` | 50 stars warping past a 3D camera — UP/DOWN to change speed |
| `clock.ayaan` | Live analog clock — hour/minute/second hands, ticks, digital readout |
| `plasma.ayaan` | Classic demoscene plasma effect with 16-color palette |
| `fireworks.ayaan` | Click to launch fireworks — physics, particles, alpha fade |

Press **ESC** in any demo to quit.

## Features showcased

- Vector math via `fasteval` — `sin`, `cos`, `sqrt`, `atan2`, etc.
- New shape commands — `gui_fill_triangle`, `gui_ellipse`, `gui_thick_line`, `gui_gradient_rect`
- Pixel-level ops — `gui_pixel`, `gui_alpha_pixel`, `gui_get_pixel`
- Text scaling — `gui_text_big x y "msg" color scale`
- Lists with `lset` / `list_at` / `lsize` for per-frame mutable state
- Mouse + keyboard input — `gui_mouse_x/y`, `gui_mouse_down`, `gui_key_down`
- Frame pacing — `gui_fps N` for smooth animation
