# Example art — sources and licences

Every sprite used as a teaching example in these lessons is **human-made** and
**CC0 (public domain)**. Nothing here is machine-generated. Where a lesson shows a
deliberately *broken* version of a sprite, it is the real sprite put through a stated
transformation (mirrored, squashed, shadow removed) — never a redrawn imitation.

---

## Ninja Adventure — Asset Pack

- **Artists:** Pixel-Boy and AAA
- **Licence:** Creative Commons Zero (CC0 1.0). *"You can use any and all of the assets
  found in this package in your own games, even commercial ones."* Attribution is not
  required; the authors ask only that you link their page if you feel like it.
- **Source:** <https://pixel-boy.itch.io/ninja-adventure-asset-pack>
- **Mirror:** <https://github.com/pixel-boy/NinjaAdventure>
- **Files vendored:** `ninja-adventure/crate.png`, `ninja-adventure/pot.png`
  (from `content/destroyable/` in the upstream repo)
- **Why these:** they are the clearest small examples in any CC0 pack of a top face and a
  front face on one object, with a real contact shadow underneath. The pot additionally
  has a genuine left-side highlight, which makes it usable for teaching light direction.

## Kenney — Tiny Town

- **Artist:** Kenney (kenney.nl)
- **Licence:** Creative Commons Zero (CC0 1.0). *"This content is free to use in personal,
  educational and commercial projects."* See `kenney-tiny-town/License.txt`.
- **Source:** <https://kenney.nl/assets/tiny-town>
- **Files vendored:** `kenney-tiny-town/tilemap_packed.png` (12 × 11 grid of 16 × 16
  tiles, no margin), `License.txt`, `Sample.png`
- **Why these:** the most readable 16 × 16 top-down art available under CC0. Used for the
  "same camera, many objects" figure, because it contains a chest, a log, a fence post
  and a tree that all sit at wildly different top-face-to-front-face ratios.
- **Honest caveat:** Kenney's style is deliberately flat — minimal shading, no light
  direction, no contact shadows. It is excellent for teaching *projection* and terrible
  for teaching *light*. The lessons say so where it matters.

---

## A note on mood

Neither pack is western, and neither is horror. Both are bright and friendly. They are
here to teach the **craft** — camera, proportion, light, shadow — not the **tone**.
Tone references for the actual game live in `RESOURCES.md`, as links to shipped work
rather than as vendored art.

## Reproducing the sprite library

`assets/sprite-library.js` is generated from these PNGs by `assets/build-sprites.py`:

```
python3 assets/build-sprites.py
```

It reads the vendored art, encodes each sprite as a character grid plus its own palette,
and derives the broken variants. Do not hand-edit `sprite-library.js`.
