pixelsrc 0.2.0

Pixelsrc - GenAI-native pixel art format and compiler
Documentation
<!-- Generated by scripts/generate-demos.sh -->
<!-- Do not edit manually - regenerate with: ./scripts/generate-demos.sh -->

# alias Demos

## Basic Alias Extraction

Extracts common tokens into single-letter aliases based on frequency.

<div class="demo-source">

```jsonl
{"type": "palette", "name": "robot", "colors": {"{transparent}": "#00000000", "{metal_light}": "#CCCCCC", "{metal_dark}": "#666666", "{eye_glow}": "#00FF00", "{antenna}": "#FF0000"}}
{"type": "sprite", "name": "robot_head", "palette": "robot", "grid": ["{transparent}{antenna}{transparent}", "{metal_light}{metal_light}{metal_light}", "{metal_dark}{eye_glow}{metal_dark}", "{metal_light}{metal_light}{metal_light}"]}
```

</div>

<div class="demo-container" data-demo="basic">
</div>

## Verbose Token Compression

Long descriptive token names are compressed to single letters.

<div class="demo-source">

```jsonl
{"type": "palette", "name": "robot", "colors": {"{transparent}": "#00000000", "{metal_light}": "#CCCCCC", "{metal_dark}": "#666666", "{eye_glow}": "#00FF00", "{antenna}": "#FF0000"}}
{"type": "sprite", "name": "robot_head", "palette": "robot", "grid": ["{transparent}{antenna}{transparent}", "{metal_light}{metal_light}{metal_light}", "{metal_dark}{eye_glow}{metal_dark}", "{metal_light}{metal_light}{metal_light}"]}
```

</div>

<div class="demo-container" data-demo="verbose_tokens">
</div>