# Small Magic: what it is made of, and where it came from

The game's own code is under the Patch licence (`LICENSE`); versions up to 2.2.1 were published under MIT. What is by
others keeps its own licence, as the table says. The world is drawn by code in `src/`, the Warden who is every player's figure too: the meadow needs no model files. The repo includes Hyperion’s model and animation clips, and one font, the wizard's hand in his book of spells (all other text uses the fonts already on the player's PC).

| What | Where | Source and licence |
| --- | --- | --- |
| The game | `src/`, `index.html`, `tools/` | oddava and blendi, the Patch licence |
| three.js 0.186.1 | npm | MIT; its notice is written into each build as `THIRD-PARTY-NOTICES.md` |
| three-avbd | `vendor/three-avbd` | Steven Bobyn, MIT, at the commit named in its `VENDOR.md`, one kernel changed; third parties in its `THIRD_PARTY_NOTICES.md` |
| Hyperion, the Sun That Walks | `public/boss/`, `public/ui/boss-sun.webp`, `public/music/sun.ogg` | blendi and Patch. Locomotion by Quaternius, CC0 1.0. See `public/CREDITS.md` |
| How things are built to break | `src/physics/` | Patch's destruction block, MIT |
| Five footsteps on grass | `public/sfx/step1.ogg` to `step5.ogg` | Kenney's Impact Sounds, CC0 1.0 (`public/LICENSES/CC0-1.0.txt`) |
| The Warden, every player's figure | `src/warden.js` | Made in code; part of the game, the Patch licence |
| Eight spell medallions | `public/ui/1.webp` to `8.webp` | Made for this game with an image model (Nano Banana 2.1), from Patch's direction and the game's cover; no other source |
| The Cleave's medallion | `public/ui/9.webp` | Made for this game with an image model, in the style of the eight; no other source |
| Unlimited Void's medallion, and its page in the book | `public/ui/13.webp`, `public/book/study-domain.webp` | Made for this game with an image model, from Patch's direction; no other source |
| The Ashen King's medallion, and his page in the book | `public/ui/15.webp`, `public/book/study-king.webp` | Drawn in ink by `tools/king-ink.py` from renders of his in-game model (made in code); the medallion's ring is the Shrine medallion's (`public/ui/14.webp`). The character is this game's own |
| The Void Lance's, Nova Within's and Mahoraga's medallions | `public/ui/10.webp`, `11.webp`, `12.webp` | Drawn by `tools/spell-medallions.py` from renders of the game itself (`tools/spell-portraits.mjs`: the Void Lance's orb, Nova Within's barrier, Mahoraga's in-game body and wheel), set in the Shrine medallion's ring (`public/ui/14.webp`) as the Ashen King's is. All three are this game's own |
| The Shrine's medallion, and its page in the book | `public/ui/14.webp`, `public/book/study-shrine.webp` | Made with image models (GPT Image 2.6 and Nano Banana 2.1) from Patch's direction, in blendi/small-magic; no other source |
| The duel's medallions, the frame of a life, the name | `public/ui/lightning.webp`, `ward.webp`, `wall.webp`, `dash.webp`, `life-bar.webp`, `life-sockets.webp`, `life-window.webp`, `logo.webp` | Made for this game with an image model (Nano Banana 2.1), from Patch's direction and the game's own frames; no other source |
| The title's picture | `public/ui/loading.webp` | Made with Patch's cover generation (an image model) from the game's own title render (`tools/title-still.mjs`); the game's cover on Patch |
| The book of spells: the book, his drawing of each spell, his doodles | `public/book/book.webp`, `study-*.webp`, `doodle-*.webp` | Made for this game with an image model, from direction in words alone; no other source |
| The title's music: "Achaidh Cheide", "Enchanted Valley", "Evening Fall (Harp)" | `public/music/achaidh-cheide.ogg`, `enchanted-valley.ogg`, `evening-fall.ogg` | Kevin MacLeod (incompetech.com), CC BY 4.0 (`public/LICENSES/CC-BY-4.0.txt`); converted from MP3 to Ogg Vorbis by Patch, credit added to the Ogg comments. Full credits in `public/CREDITS.md` |
| The Shrine's music | `public/music/shrine.ogg` | Made for this game with a music model (ElevenLabs Music) from Patch's direction, in blendi/small-magic; no other source |
| The wizard's hand in the book | `public/book/DrSugiyama-Regular.ttf` | "Dr Sugiyama" by Alejandro Paul (Sudtipos), SIL Open Font License 1.1 (`public/book/DrSugiyama-OFL.txt`); the file as Google Fonts publishes it, unchanged |
| The game's type: IM FELL French Canon (roman, italic, small capitals) | `public/fonts/IMFeFC*.ttf` | Igino Marini's digitisation of the Fell types, SIL Open Font License 1.1 (`public/fonts/IMFELL-OFL.txt`), shipped unmodified |
| The game's type: Alegreya, Alegreya Sans and Alegreya Sans SC | `public/fonts/Alegreya*.ttf` | Huerta Tipográfica, SIL Open Font License 1.1 (`public/fonts/Alegreya-OFL.txt`, `AlegreyaSans-OFL.txt`) |
| Orvane's authored body | `public/king/orvane_model.glb` | Modelled in Blender for this game (`presence/redesign/a-regent/v2` in the design repo), exported by `tools/blender/export_model.py`; the Patch licence |
| Orvane's animation clips, the Ashen Verdict among them | `public/king/orvane_clips.glb` | Animated in Blender on his own rig for this game (`tools/blender/clips/`); the Patch licence |
| Sound made in code | `src/sound.js` | oddava and blendi, the Patch licence |
| Recordings laid over it in the published game | not in the repo | 78 recordings from the Sonniss GDC Game Audio Bundles, cut into 125 files, their own licence; see `MISSING_ASSETS.md` |
| The old wizard, with `?wizard` only | not in the repo | Mixamo (Adobe), its own terms; see `MISSING_ASSETS.md` |

Nothing here has no stated source.
