{"id":45822764,"url":"https://github.com/maggieappleton/kodachrome","last_synced_at":"2026-02-26T21:01:18.069Z","repository":{"id":336463757,"uuid":"1149716217","full_name":"MaggieAppleton/kodachrome","owner":"MaggieAppleton","description":null,"archived":false,"fork":false,"pushed_at":"2026-02-04T14:22:56.000Z","size":7953,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-02-05T01:38:58.612Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MaggieAppleton.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-02-04T12:45:15.000Z","updated_at":"2026-02-04T22:03:45.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/MaggieAppleton/kodachrome","commit_stats":null,"previous_names":["maggieappleton/kodachrome"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/MaggieAppleton/kodachrome","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaggieAppleton%2Fkodachrome","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaggieAppleton%2Fkodachrome/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaggieAppleton%2Fkodachrome/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaggieAppleton%2Fkodachrome/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MaggieAppleton","download_url":"https://codeload.github.com/MaggieAppleton/kodachrome/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaggieAppleton%2Fkodachrome/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29872669,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T18:42:30.764Z","status":"ssl_error","status_checked_at":"2026-02-26T18:41:47.936Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-26T21:00:53.456Z","updated_at":"2026-02-26T21:01:18.062Z","avatar_url":"https://github.com/MaggieAppleton.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kodachrome\n\nA playground for developing visual experiments. Contains isolated experiments exploring canvas gradients, grain, dithering, textures, and motion.\n\n## Getting Started\n\nInstall dependencies:\n\n```bash\nnpm install\n```\n\nStart the dev server with hot reloading:\n\n```bash\nnpm run dev\n```\n\nThen open [http://localhost:5173/explorations/](http://localhost:5173/explorations/)\n\nChanges to HTML, CSS, or JS files will reload automatically.\n\n### Generating Thumbnails\n\nTo automatically generate thumbnails for all explorations:\n\n```bash\nnpm run thumbnails\n```\n\nThis script:\n1. Starts a Vite dev server\n2. Opens each exploration in a headless browser\n3. Hides the control panel and UI elements\n4. Captures a screenshot of the canvas rendering\n5. Saves it as `thumb.png` in each exploration folder\n6. Stops the dev server\n\nThe thumbnails are 800×600px at 2× resolution for retina displays. The script automatically finds all `exploration-*` folders and will work for new explorations you add.\n\n## Project Structure\n\n```\nshared/\n  controls/           # Reusable Web Components for control panels\n    control-panel.js  # \u003ccontrol-panel\u003e container\n    slider-control.js # \u003cslider-control\u003e for numeric values\n    oklch-picker.js   # \u003coklch-picker\u003e visual color picker\n    index.js          # Import this to register all components\n\nexplorations/\n  index.html          # Grid of all explorations\n  exploration-01/     # Constellation Machine\n  exploration-02/     # Dithered Image\n```\n\n## Using the Control Components\n\nIn any exploration, import the shared controls:\n\n```html\n\u003cscript type=\"module\" src=\"../../shared/controls/index.js\"\u003e\u003c/script\u003e\n```\n\nThen use them in your HTML:\n\n```html\n\u003ccontrol-panel title=\"My Experiment\"\u003e\n  \u003cpanel-section title=\"Settings\"\u003e\n    \u003cslider-control key=\"size\" label=\"Size\" min=\"1\" max=\"100\" value=\"50\"\u003e\u003c/slider-control\u003e\n    \u003coklch-picker key=\"color\" label=\"Color\" lightness=\"0.5\" chroma=\"0.15\" hue=\"200\"\u003e\u003c/oklch-picker\u003e\n  \u003c/panel-section\u003e\n\u003c/control-panel\u003e\n```\n\nListen for changes in your JS:\n\n```js\ndocument.addEventListener('control-change', (e) =\u003e {\n  const { key, value } = e.detail;\n  // value is a number for sliders, { l, c, h } for color pickers\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaggieappleton%2Fkodachrome","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaggieappleton%2Fkodachrome","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaggieappleton%2Fkodachrome/lists"}