diff --git a/README.md b/README.md index d17042f..4437720 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Each experiment lives in its own isolated repository and gets listed here via [` 3. Publish it to the registry: ```sh - joyco lab + joyco lab create ``` This opens a PR adding your experiment to `experiments.json`. @@ -33,7 +33,7 @@ Each entry in `experiments.json` follows this shape: | `repo` | `string` | no | Source repository URL | | `template` | `string` | no | Template used (`3d` \| `motion`) | | `tags` | `string[]` | no | Freeform tags for filtering | -| `previewImage` | `string` | no | URL to a preview/thumbnail image | +| `hasControls` | `boolean` | no | Whether the experiment exposes controls | | `date` | `string` | yes | Publication date (`YYYY-MM-DD`) | The full JSON Schema is in [`schema.json`](./schema.json). diff --git a/experiments.json b/experiments.json index 5fc3692..3769fc1 100644 --- a/experiments.json +++ b/experiments.json @@ -19,6 +19,7 @@ "pattern", "post-processing" ], + "hasControls": true, "date": "2026-03-12" }, { @@ -38,6 +39,7 @@ "typography", "webgl" ], + "hasControls": false, "date": "2026-03-12" }, { @@ -58,6 +60,7 @@ "webgl", "creative tools" ], + "hasControls": true, "date": "2026-03-12" }, { @@ -72,6 +75,7 @@ "three.js", "susano" ], + "hasControls": false, "date": "2026-03-11" }, { @@ -84,6 +88,7 @@ "tags": [ "webgl" ], + "hasControls": true, "date": "2026-03-15" } ] diff --git a/schema.json b/schema.json index 94b39a5..ea92cce 100644 --- a/schema.json +++ b/schema.json @@ -45,10 +45,9 @@ "items": { "type": "string" }, "description": "Freeform tags for filtering" }, - "previewImage": { - "type": "string", - "format": "uri", - "description": "URL to a preview/thumbnail image" + "hasControls": { + "type": "boolean", + "description": "Whether the experiment exposes interactive controls" }, "date": { "type": "string",