diff --git a/decals-starter/CREDITS.md b/decals-starter/CREDITS.md
new file mode 100644
index 0000000..8d5a920
--- /dev/null
+++ b/decals-starter/CREDITS.md
@@ -0,0 +1,5 @@
+# Decals Starter — credits
+
+All 12 files are original work of theprototype.app, drawn as SVG in `tools/decals-kit/build.mjs`
+(sources in `tools/decals-kit/svg/`) and dedicated to the public domain under CC0 1.0.
+Rebuild: `node tools/decals-kit/build.mjs` (needs rsvg-convert and zip).
diff --git a/decals-starter/assets/arrow.png b/decals-starter/assets/arrow.png
new file mode 100644
index 0000000..c123f6f
Binary files /dev/null and b/decals-starter/assets/arrow.png differ
diff --git a/decals-starter/assets/chevrons.png b/decals-starter/assets/chevrons.png
new file mode 100644
index 0000000..8875063
Binary files /dev/null and b/decals-starter/assets/chevrons.png differ
diff --git a/decals-starter/assets/crack.png b/decals-starter/assets/crack.png
new file mode 100644
index 0000000..91814bb
Binary files /dev/null and b/decals-starter/assets/crack.png differ
diff --git a/decals-starter/assets/dirt-splat.png b/decals-starter/assets/dirt-splat.png
new file mode 100644
index 0000000..c644b3c
Binary files /dev/null and b/decals-starter/assets/dirt-splat.png differ
diff --git a/decals-starter/assets/footprint.png b/decals-starter/assets/footprint.png
new file mode 100644
index 0000000..47bc47c
Binary files /dev/null and b/decals-starter/assets/footprint.png differ
diff --git a/decals-starter/assets/hazard-stripes.png b/decals-starter/assets/hazard-stripes.png
new file mode 100644
index 0000000..fb53b48
Binary files /dev/null and b/decals-starter/assets/hazard-stripes.png differ
diff --git a/decals-starter/assets/impact-crack.png b/decals-starter/assets/impact-crack.png
new file mode 100644
index 0000000..416ae3e
Binary files /dev/null and b/decals-starter/assets/impact-crack.png differ
diff --git a/decals-starter/assets/mud-smear.png b/decals-starter/assets/mud-smear.png
new file mode 100644
index 0000000..7d7952d
Binary files /dev/null and b/decals-starter/assets/mud-smear.png differ
diff --git a/decals-starter/assets/no-entry.png b/decals-starter/assets/no-entry.png
new file mode 100644
index 0000000..72586e3
Binary files /dev/null and b/decals-starter/assets/no-entry.png differ
diff --git a/decals-starter/assets/scorch.png b/decals-starter/assets/scorch.png
new file mode 100644
index 0000000..dae8c04
Binary files /dev/null and b/decals-starter/assets/scorch.png differ
diff --git a/decals-starter/assets/turn-arrow.png b/decals-starter/assets/turn-arrow.png
new file mode 100644
index 0000000..d5194f7
Binary files /dev/null and b/decals-starter/assets/turn-arrow.png differ
diff --git a/decals-starter/assets/warning.png b/decals-starter/assets/warning.png
new file mode 100644
index 0000000..28c2b39
Binary files /dev/null and b/decals-starter/assets/warning.png differ
diff --git a/decals-starter/attribution.html b/decals-starter/attribution.html
new file mode 100644
index 0000000..32a4f49
--- /dev/null
+++ b/decals-starter/attribution.html
@@ -0,0 +1,17 @@
+
Decals Starter
+12 CC0 decals — arrows, signs, dirt and cracks — to project onto surfaces (right-click a surface, Add decal here).
+License: CC0 1.0 (Public Domain). Original work of this project; no attribution required.
+
+- Arrow — theprototype.app, drawn in tools/decals-kit
+- Chevrons — theprototype.app, drawn in tools/decals-kit
+- Turn arrow — theprototype.app, drawn in tools/decals-kit
+- Warning sign — theprototype.app, drawn in tools/decals-kit
+- No entry sign — theprototype.app, drawn in tools/decals-kit
+- Hazard stripes — theprototype.app, drawn in tools/decals-kit
+- Dirt splat — theprototype.app, drawn in tools/decals-kit
+- Mud smear — theprototype.app, drawn in tools/decals-kit
+- Footprint — theprototype.app, drawn in tools/decals-kit
+- Crack — theprototype.app, drawn in tools/decals-kit
+- Impact cracks — theprototype.app, drawn in tools/decals-kit
+- Scorch mark — theprototype.app, drawn in tools/decals-kit
+
diff --git a/decals-starter/decals-starter.zip b/decals-starter/decals-starter.zip
new file mode 100644
index 0000000..02aa94f
Binary files /dev/null and b/decals-starter/decals-starter.zip differ
diff --git a/decals-starter/licences.json b/decals-starter/licences.json
new file mode 100644
index 0000000..8bbdc9e
--- /dev/null
+++ b/decals-starter/licences.json
@@ -0,0 +1,92 @@
+{
+ "assets/arrow.png": {
+ "licence": "CC0-1.0",
+ "author": "theprototype.app",
+ "source": "tools/decals-kit/svg/arrow.svg",
+ "sha256": "278b0c75895a9a042d0a6b1472ada7b1768539a0dd8844635bab4cc375111954"
+ },
+ "assets/chevrons.png": {
+ "licence": "CC0-1.0",
+ "author": "theprototype.app",
+ "source": "tools/decals-kit/svg/chevrons.svg",
+ "sha256": "f2163d20b16f9a8134fc382da7230b66ae62127955e88b18259191973c5e40cc"
+ },
+ "assets/turn-arrow.png": {
+ "licence": "CC0-1.0",
+ "author": "theprototype.app",
+ "source": "tools/decals-kit/svg/turn-arrow.svg",
+ "sha256": "0a610756da3386276b3e96be545c6d81f8e984457f059921825bcb5290dae7aa"
+ },
+ "assets/warning.png": {
+ "licence": "CC0-1.0",
+ "author": "theprototype.app",
+ "source": "tools/decals-kit/svg/warning.svg",
+ "sha256": "b378dbb65eee1e4f725dad6324f3168a0449987948bad2360614717b555012bf"
+ },
+ "assets/no-entry.png": {
+ "licence": "CC0-1.0",
+ "author": "theprototype.app",
+ "source": "tools/decals-kit/svg/no-entry.svg",
+ "sha256": "cb99e38cedbf9e44df6132d7fd93fe378d68a9997b0f99de66c6b51073712db3"
+ },
+ "assets/hazard-stripes.png": {
+ "licence": "CC0-1.0",
+ "author": "theprototype.app",
+ "source": "tools/decals-kit/svg/hazard-stripes.svg",
+ "sha256": "1c0380764c1434334b36a2e649b6528e8d96885709404c394ba0dd30f99c8d0a"
+ },
+ "assets/dirt-splat.png": {
+ "licence": "CC0-1.0",
+ "author": "theprototype.app",
+ "source": "tools/decals-kit/svg/dirt-splat.svg",
+ "sha256": "021487521ab7d5f1bc51ce7cf34ef25a969f19417ee888f7a1c1160046348678"
+ },
+ "assets/mud-smear.png": {
+ "licence": "CC0-1.0",
+ "author": "theprototype.app",
+ "source": "tools/decals-kit/svg/mud-smear.svg",
+ "sha256": "ef4dc0ec40129fb7d8ec12d8acf4db81d58746df4e39bb10eca2a35ffc35a54b"
+ },
+ "assets/footprint.png": {
+ "licence": "CC0-1.0",
+ "author": "theprototype.app",
+ "source": "tools/decals-kit/svg/footprint.svg",
+ "sha256": "35204473679cfa6388b58583658d9746670ca03da3f7819a022fc621f87c2ec2"
+ },
+ "assets/crack.png": {
+ "licence": "CC0-1.0",
+ "author": "theprototype.app",
+ "source": "tools/decals-kit/svg/crack.svg",
+ "sha256": "ae29035a23031b10d9971d59efc187120302bd587cbfbf6e2b9d0032ab5598f8"
+ },
+ "assets/impact-crack.png": {
+ "licence": "CC0-1.0",
+ "author": "theprototype.app",
+ "source": "tools/decals-kit/svg/impact-crack.svg",
+ "sha256": "ed2dee56aa71c1e2cfc45a96d0264509c028362150b8cf3bba66d2845f9450cd"
+ },
+ "assets/scorch.png": {
+ "licence": "CC0-1.0",
+ "author": "theprototype.app",
+ "source": "tools/decals-kit/svg/scorch.svg",
+ "sha256": "db5bd9c9cf11df5082f5ee47996c33e50d5b0f9327ec424e7fddd4591df609b5"
+ },
+ "manifest.json": {
+ "licence": "CC0-1.0",
+ "author": "theprototype.app",
+ "source": "tools/decals-kit/build.mjs",
+ "sha256": "32ebd4a8c0c4fc41512e4b2a18b9badf965dedb99ebb076f0266563d1cb0e4d9"
+ },
+ "CREDITS.md": {
+ "licence": "CC0-1.0",
+ "author": "theprototype.app",
+ "source": "tools/decals-kit/build.mjs",
+ "sha256": "169a90e9bcf854ce30bf709b67b4243b0f75ab502d131d7bcc12a6811b5f0add"
+ },
+ "decals-starter.zip": {
+ "licence": "CC0-1.0",
+ "author": "theprototype.app",
+ "source": "tools/decals-kit/build.mjs",
+ "sha256": "c27e5fdcf9e847bf2dd0261690ef070dbdc16b494400f5125e32573a0c91c8d4"
+ }
+}
diff --git a/decals-starter/manifest.json b/decals-starter/manifest.json
new file mode 100644
index 0000000..ccddaa6
--- /dev/null
+++ b/decals-starter/manifest.json
@@ -0,0 +1,154 @@
+{
+ "id": "decals-starter",
+ "name": "Decals Starter",
+ "author": "theprototype.app (CC0)",
+ "license": "CC0-1.0",
+ "homepage": "https://github.com/theprototype-app/packs",
+ "description": "Arrows, signs, dirt and cracks to project onto surfaces: right-click a surface, Add decal here, then pick one as the image.",
+ "items": [
+ {
+ "name": "Arrow",
+ "file": "assets/arrow.png",
+ "kind": "texture",
+ "tags": [
+ "decal",
+ "arrows"
+ ],
+ "license": "CC0-1.0",
+ "author": "theprototype.app",
+ "source": "https://github.com/theprototype-app/packs/tree/main/tools/decals-kit"
+ },
+ {
+ "name": "Chevrons",
+ "file": "assets/chevrons.png",
+ "kind": "texture",
+ "tags": [
+ "decal",
+ "arrows"
+ ],
+ "license": "CC0-1.0",
+ "author": "theprototype.app",
+ "source": "https://github.com/theprototype-app/packs/tree/main/tools/decals-kit"
+ },
+ {
+ "name": "Turn arrow",
+ "file": "assets/turn-arrow.png",
+ "kind": "texture",
+ "tags": [
+ "decal",
+ "arrows"
+ ],
+ "license": "CC0-1.0",
+ "author": "theprototype.app",
+ "source": "https://github.com/theprototype-app/packs/tree/main/tools/decals-kit"
+ },
+ {
+ "name": "Warning sign",
+ "file": "assets/warning.png",
+ "kind": "texture",
+ "tags": [
+ "decal",
+ "signs"
+ ],
+ "license": "CC0-1.0",
+ "author": "theprototype.app",
+ "source": "https://github.com/theprototype-app/packs/tree/main/tools/decals-kit"
+ },
+ {
+ "name": "No entry sign",
+ "file": "assets/no-entry.png",
+ "kind": "texture",
+ "tags": [
+ "decal",
+ "signs"
+ ],
+ "license": "CC0-1.0",
+ "author": "theprototype.app",
+ "source": "https://github.com/theprototype-app/packs/tree/main/tools/decals-kit"
+ },
+ {
+ "name": "Hazard stripes",
+ "file": "assets/hazard-stripes.png",
+ "kind": "texture",
+ "tags": [
+ "decal",
+ "signs"
+ ],
+ "license": "CC0-1.0",
+ "author": "theprototype.app",
+ "source": "https://github.com/theprototype-app/packs/tree/main/tools/decals-kit"
+ },
+ {
+ "name": "Dirt splat",
+ "file": "assets/dirt-splat.png",
+ "kind": "texture",
+ "tags": [
+ "decal",
+ "dirt"
+ ],
+ "license": "CC0-1.0",
+ "author": "theprototype.app",
+ "source": "https://github.com/theprototype-app/packs/tree/main/tools/decals-kit"
+ },
+ {
+ "name": "Mud smear",
+ "file": "assets/mud-smear.png",
+ "kind": "texture",
+ "tags": [
+ "decal",
+ "dirt"
+ ],
+ "license": "CC0-1.0",
+ "author": "theprototype.app",
+ "source": "https://github.com/theprototype-app/packs/tree/main/tools/decals-kit"
+ },
+ {
+ "name": "Footprint",
+ "file": "assets/footprint.png",
+ "kind": "texture",
+ "tags": [
+ "decal",
+ "dirt"
+ ],
+ "license": "CC0-1.0",
+ "author": "theprototype.app",
+ "source": "https://github.com/theprototype-app/packs/tree/main/tools/decals-kit"
+ },
+ {
+ "name": "Crack",
+ "file": "assets/crack.png",
+ "kind": "texture",
+ "tags": [
+ "decal",
+ "cracks"
+ ],
+ "license": "CC0-1.0",
+ "author": "theprototype.app",
+ "source": "https://github.com/theprototype-app/packs/tree/main/tools/decals-kit"
+ },
+ {
+ "name": "Impact cracks",
+ "file": "assets/impact-crack.png",
+ "kind": "texture",
+ "tags": [
+ "decal",
+ "cracks"
+ ],
+ "license": "CC0-1.0",
+ "author": "theprototype.app",
+ "source": "https://github.com/theprototype-app/packs/tree/main/tools/decals-kit"
+ },
+ {
+ "name": "Scorch mark",
+ "file": "assets/scorch.png",
+ "kind": "texture",
+ "tags": [
+ "decal",
+ "cracks"
+ ],
+ "license": "CC0-1.0",
+ "author": "theprototype.app",
+ "source": "https://github.com/theprototype-app/packs/tree/main/tools/decals-kit"
+ }
+ ]
+}
diff --git a/index.json b/index.json
index e5892aa..330d44d 100644
--- a/index.json
+++ b/index.json
@@ -35,6 +35,15 @@
"license": "CC0-1.0",
"source": "https://github.com/theprototype-app/packs"
},
+ {
+ "name": "decals-starter",
+ "title": "Decals Starter",
+ "zip": "/decals-starter/decals-starter.zip",
+ "attribution": "decals-starter/attribution.html",
+ "copyright": "",
+ "license": "CC0-1.0",
+ "source": "https://github.com/theprototype-app/packs/tree/main/tools/decals-kit"
+ },
{
"name": "nature-kit",
"title": "Nature & Terrain",
diff --git a/tools/decals-kit/build.mjs b/tools/decals-kit/build.mjs
new file mode 100644
index 0000000..6db3621
--- /dev/null
+++ b/tools/decals-kit/build.mjs
@@ -0,0 +1,258 @@
+// tools/decals-kit/build.mjs — the Decals Starter pack (core roadmap 102 M3): 12 decals drawn here
+// as SVG (original work of this project, dedicated CC0-1.0), rendered to transparent 512 px PNGs
+// with rsvg-convert, and zipped with a manifest for the app's ".zip pack" path.
+//
+// node tools/decals-kit/build.mjs (needs rsvg-convert and zip on PATH)
+//
+// Deterministic: every random shape comes from a seeded generator, so a rebuild is byte-stable
+// (rsvg-convert and zip -X permitting).
+import fs from 'node:fs';
+import path from 'node:path';
+import crypto from 'node:crypto';
+import { execFileSync } from 'node:child_process';
+import { fileURLToPath } from 'node:url';
+
+const ROOT = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '../..');
+const PACK = path.join(ROOT, 'decals-starter');
+const SVG_DIR = path.join(ROOT, 'tools/decals-kit/svg');
+const S = 512;
+
+/** mulberry32 @param {number} seed */
+function rng(seed) {
+ let a = seed >>> 0;
+ return () => {
+ a = (a + 0x6d2b79f5) >>> 0;
+ let t = a;
+ t = Math.imul(t ^ (t >>> 15), t | 1);
+ t ^= t + Math.imul(t ^ (t >>> 7), t | 61);
+ return ((t ^ (t >>> 14)) >>> 0) / 4294967296;
+ };
+}
+const f = (/** @type {number} */ v) => +v.toFixed(1);
+/** @param {string} body */
+const svg = (body) => `\n`;
+
+/** a closed organic blob: radius wobbles with a few sine terms plus noise @param {number} cx @param {number} cy @param {number} r @param {() => number} rand @param {number} rough */
+function blob(cx, cy, r, rand, rough = 0.25, n = 48) {
+ const k = [1 + Math.floor(rand() * 3), 3 + Math.floor(rand() * 3), 6 + Math.floor(rand() * 4)];
+ const ph = k.map(() => rand() * Math.PI * 2);
+ const amp = [rough * 0.5, rough * 0.3, rough * 0.2];
+ const pts = [];
+ for (let i = 0; i < n; i++) {
+ const t = (i / n) * Math.PI * 2;
+ let m = 1;
+ for (let j = 0; j < 3; j++) m += amp[j] * Math.sin(k[j] * t + ph[j]);
+ m += (rand() - 0.5) * rough * 0.25;
+ pts.push([cx + Math.cos(t) * r * m, cy + Math.sin(t) * r * m]);
+ }
+ // a smooth closed path through the points (Catmull-Rom as cubic Béziers)
+ let d = `M${f(pts[0][0])},${f(pts[0][1])}`;
+ for (let i = 0; i < n; i++) {
+ const p0 = pts[(i - 1 + n) % n], p1 = pts[i], p2 = pts[(i + 1) % n], p3 = pts[(i + 2) % n];
+ const c1 = [p1[0] + (p2[0] - p0[0]) / 6, p1[1] + (p2[1] - p0[1]) / 6];
+ const c2 = [p2[0] - (p3[0] - p1[0]) / 6, p2[1] - (p3[1] - p1[1]) / 6];
+ d += `C${f(c1[0])},${f(c1[1])} ${f(c2[0])},${f(c2[1])} ${f(p2[0])},${f(p2[1])}`;
+ }
+ return d + 'Z';
+}
+
+/** a jagged crack: a main line with branches @param {() => number} rand */
+function crack(rand, x0, y0, angle, len, width, depth = 0) {
+ let out = '';
+ let x = x0, y = y0, a = angle;
+ const steps = 10 + Math.floor(rand() * 6);
+ const pts = [[x, y]];
+ for (let i = 0; i < steps; i++) {
+ a += (rand() - 0.5) * 0.55;
+ const step = len / steps;
+ x += Math.cos(a) * step;
+ y += Math.sin(a) * step;
+ pts.push([x, y]);
+ if (depth < 1 && rand() < 0.16) out += crack(rand, x, y, a + (rand() < 0.5 ? -1 : 1) * (0.35 + rand() * 0.5), len * 0.4, width * 0.55, depth + 1);
+ }
+ const d = 'M' + pts.map((p) => `${f(p[0])},${f(p[1])}`).join(' L');
+ return `` + out;
+}
+
+/** @type {{ id: string, name: string, group: string, make: () => string }[]} */
+const DECALS = [
+ {
+ id: 'arrow',
+ name: 'Arrow',
+ group: 'arrows',
+ make: () => svg(``)
+ },
+ {
+ id: 'chevrons',
+ name: 'Chevrons',
+ group: 'arrows',
+ make: () =>
+ svg(
+ [0, 1, 2]
+ .map((i) => ``)
+ .join('')
+ )
+ },
+ {
+ id: 'turn-arrow',
+ name: 'Turn arrow',
+ group: 'arrows',
+ make: () =>
+ svg(
+ ``
+ )
+ },
+ {
+ id: 'warning',
+ name: 'Warning sign',
+ group: 'signs',
+ make: () =>
+ svg(
+ `` +
+ ``
+ )
+ },
+ {
+ id: 'no-entry',
+ name: 'No entry sign',
+ group: 'signs',
+ make: () => svg(``)
+ },
+ {
+ id: 'hazard-stripes',
+ name: 'Hazard stripes',
+ group: 'signs',
+ make: () => {
+ let stripes = '';
+ for (let i = -4; i < 8; i++) stripes += ``;
+ return svg(`${stripes}`);
+ }
+ },
+ {
+ id: 'dirt-splat',
+ name: 'Dirt splat',
+ group: 'dirt',
+ make: () => {
+ const r = rng(102001);
+ let body = ``;
+ for (let i = 0; i < 26; i++) {
+ const a = r() * Math.PI * 2, d = 170 + r() * 70, s = 6 + r() * 20;
+ body += ``;
+ }
+ return svg(body);
+ }
+ },
+ {
+ id: 'mud-smear',
+ name: 'Mud smear',
+ group: 'dirt',
+ make: () => {
+ const r = rng(102002);
+ let body = '';
+ for (let i = 0; i < 9; i++) {
+ const x = 90 + i * 40 + (r() - 0.5) * 20, y = 256 + (r() - 0.5) * 60;
+ body += ``;
+ }
+ return svg(`${body}`);
+ }
+ },
+ {
+ id: 'footprint',
+ name: 'Footprint',
+ group: 'dirt',
+ make: () =>
+ svg(
+ `` +
+ `` +
+ `${[90, 130, 170, 210, 250].map((y) => ``).join('')}`
+ )
+ },
+ {
+ id: 'crack',
+ name: 'Crack',
+ group: 'cracks',
+ make: () => {
+ const r = rng(102003);
+ return svg(crack(r, 40, 230, 0.15, 440, 9) + crack(r, 260, 250, 1.6, 200, 6));
+ }
+ },
+ {
+ id: 'impact-crack',
+ name: 'Impact cracks',
+ group: 'cracks',
+ make: () => {
+ const r = rng(102004);
+ let body = '';
+ for (let i = 0; i < 9; i++) body += crack(r, 256, 256, (i / 9) * Math.PI * 2 + r() * 0.3, 160 + r() * 70, 7);
+ for (const rad of [60, 120]) {
+ let d = '';
+ for (let i = 0; i <= 18; i++) {
+ const a = (i / 18) * Math.PI * 2, m = rad * (0.9 + r() * 0.2);
+ d += (i ? ' L' : 'M') + `${f(256 + Math.cos(a) * m)},${f(256 + Math.sin(a) * m)}`;
+ }
+ body += ``;
+ }
+ return svg(body + ``);
+ }
+ },
+ {
+ id: 'scorch',
+ name: 'Scorch mark',
+ group: 'cracks',
+ make: () => {
+ const r = rng(102005);
+ return svg(
+ `` +
+ ``
+ );
+ }
+ }
+];
+
+fs.mkdirSync(SVG_DIR, { recursive: true });
+fs.mkdirSync(path.join(PACK, 'assets'), { recursive: true });
+const items = [];
+/** @type {Record} */
+const licences = {};
+for (const d of DECALS) {
+ const svgPath = path.join(SVG_DIR, d.id + '.svg');
+ fs.writeFileSync(svgPath, d.make());
+ const png = path.join(PACK, 'assets', d.id + '.png');
+ execFileSync('rsvg-convert', ['-w', String(S), '-h', String(S), '-b', 'none', '-o', png, svgPath]);
+ const sha256 = crypto.createHash('sha256').update(fs.readFileSync(png)).digest('hex');
+ items.push({ name: d.name, file: 'assets/' + d.id + '.png', kind: 'texture', tags: ['decal', d.group], license: 'CC0-1.0', author: 'theprototype.app', source: 'https://github.com/theprototype-app/packs/tree/main/tools/decals-kit' });
+ licences['assets/' + d.id + '.png'] = { licence: 'CC0-1.0', author: 'theprototype.app', source: 'tools/decals-kit/svg/' + d.id + '.svg', sha256 };
+}
+const manifest = {
+ id: 'decals-starter',
+ name: 'Decals Starter',
+ author: 'theprototype.app (CC0)',
+ license: 'CC0-1.0',
+ homepage: 'https://github.com/theprototype-app/packs',
+ description: 'Arrows, signs, dirt and cracks to project onto surfaces: right-click a surface, Add decal here, then pick one as the image.',
+ items
+};
+fs.writeFileSync(path.join(PACK, 'manifest.json'), JSON.stringify(manifest, null, '\t') + '\n');
+const SRC = 'https://github.com/theprototype-app/packs/tree/main/tools/decals-kit';
+fs.writeFileSync(
+ path.join(PACK, 'attribution.html'),
+ `Decals Starter
\n12 CC0 decals — arrows, signs, dirt and cracks — to project onto surfaces (right-click a surface, Add decal here).
\n` +
+ `License: CC0 1.0 (Public Domain). Original work of this project; no attribution required.
\n\n` +
+ items.map((it) => `- ${it.name} — theprototype.app, drawn in tools/decals-kit
`).join('\n') +
+ '\n
\n'
+);
+fs.writeFileSync(
+ path.join(PACK, 'CREDITS.md'),
+ '# Decals Starter — credits\n\nAll 12 files are original work of theprototype.app, drawn as SVG in `tools/decals-kit/build.mjs`\n' +
+ '(sources in `tools/decals-kit/svg/`) and dedicated to the public domain under CC0 1.0.\nRebuild: `node tools/decals-kit/build.mjs` (needs rsvg-convert and zip).\n'
+);
+const zip = path.join(PACK, 'decals-starter.zip');
+fs.rmSync(zip, { force: true });
+// fixed file times: zip stores them, and a rebuild must be byte-identical
+const EPOCH = new Date('2026-11-21T00:00:00Z');
+for (const f of ['manifest.json', ...items.map((it) => it.file)]) fs.utimesSync(path.join(PACK, f), EPOCH, EPOCH);
+execFileSync('zip', ['-X', '-q', '-r', zip, 'manifest.json', 'assets'], { cwd: PACK });
+const own = (/** @type {string} */ f) => ({ licence: 'CC0-1.0', author: 'theprototype.app', source: 'tools/decals-kit/build.mjs', sha256: crypto.createHash('sha256').update(fs.readFileSync(path.join(PACK, f))).digest('hex') });
+for (const f of ['manifest.json', 'CREDITS.md', 'decals-starter.zip']) licences[f] = own(f);
+fs.writeFileSync(path.join(PACK, 'licences.json'), JSON.stringify(licences, null, '\t') + '\n');
+console.log(`decals-starter: ${items.length} decals, zip ${fs.statSync(zip).size} bytes`);
diff --git a/tools/decals-kit/svg/arrow.svg b/tools/decals-kit/svg/arrow.svg
new file mode 100644
index 0000000..b626b38
--- /dev/null
+++ b/tools/decals-kit/svg/arrow.svg
@@ -0,0 +1 @@
+
diff --git a/tools/decals-kit/svg/chevrons.svg b/tools/decals-kit/svg/chevrons.svg
new file mode 100644
index 0000000..9568dfb
--- /dev/null
+++ b/tools/decals-kit/svg/chevrons.svg
@@ -0,0 +1 @@
+
diff --git a/tools/decals-kit/svg/crack.svg b/tools/decals-kit/svg/crack.svg
new file mode 100644
index 0000000..931a3ab
--- /dev/null
+++ b/tools/decals-kit/svg/crack.svg
@@ -0,0 +1 @@
+
diff --git a/tools/decals-kit/svg/dirt-splat.svg b/tools/decals-kit/svg/dirt-splat.svg
new file mode 100644
index 0000000..cb1410a
--- /dev/null
+++ b/tools/decals-kit/svg/dirt-splat.svg
@@ -0,0 +1 @@
+
diff --git a/tools/decals-kit/svg/footprint.svg b/tools/decals-kit/svg/footprint.svg
new file mode 100644
index 0000000..a34af53
--- /dev/null
+++ b/tools/decals-kit/svg/footprint.svg
@@ -0,0 +1 @@
+
diff --git a/tools/decals-kit/svg/hazard-stripes.svg b/tools/decals-kit/svg/hazard-stripes.svg
new file mode 100644
index 0000000..ede4855
--- /dev/null
+++ b/tools/decals-kit/svg/hazard-stripes.svg
@@ -0,0 +1 @@
+
diff --git a/tools/decals-kit/svg/impact-crack.svg b/tools/decals-kit/svg/impact-crack.svg
new file mode 100644
index 0000000..51af3fb
--- /dev/null
+++ b/tools/decals-kit/svg/impact-crack.svg
@@ -0,0 +1 @@
+
diff --git a/tools/decals-kit/svg/mud-smear.svg b/tools/decals-kit/svg/mud-smear.svg
new file mode 100644
index 0000000..a8e4a2e
--- /dev/null
+++ b/tools/decals-kit/svg/mud-smear.svg
@@ -0,0 +1 @@
+
diff --git a/tools/decals-kit/svg/no-entry.svg b/tools/decals-kit/svg/no-entry.svg
new file mode 100644
index 0000000..3e063c9
--- /dev/null
+++ b/tools/decals-kit/svg/no-entry.svg
@@ -0,0 +1 @@
+
diff --git a/tools/decals-kit/svg/scorch.svg b/tools/decals-kit/svg/scorch.svg
new file mode 100644
index 0000000..e3d05ff
--- /dev/null
+++ b/tools/decals-kit/svg/scorch.svg
@@ -0,0 +1 @@
+
diff --git a/tools/decals-kit/svg/turn-arrow.svg b/tools/decals-kit/svg/turn-arrow.svg
new file mode 100644
index 0000000..e19cfdc
--- /dev/null
+++ b/tools/decals-kit/svg/turn-arrow.svg
@@ -0,0 +1 @@
+
diff --git a/tools/decals-kit/svg/warning.svg b/tools/decals-kit/svg/warning.svg
new file mode 100644
index 0000000..554ce01
--- /dev/null
+++ b/tools/decals-kit/svg/warning.svg
@@ -0,0 +1 @@
+