{"id":51585132,"url":"https://github.com/freddysae0/harry-potter-gallery","last_synced_at":"2026-07-11T09:33:05.857Z","repository":{"id":356268573,"uuid":"1230028055","full_name":"freddysae0/harry-potter-gallery","owner":"freddysae0","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-07T10:15:46.000Z","size":101509,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-11T09:33:01.631Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/freddysae0.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":null,"dco":null,"cla":null}},"created_at":"2026-05-05T15:54:31.000Z","updated_at":"2026-05-07T10:15:50.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/freddysae0/harry-potter-gallery","commit_stats":null,"previous_names":["freddysae0/harry-potter-gallery"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/freddysae0/harry-potter-gallery","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freddysae0%2Fharry-potter-gallery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freddysae0%2Fharry-potter-gallery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freddysae0%2Fharry-potter-gallery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freddysae0%2Fharry-potter-gallery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/freddysae0","download_url":"https://codeload.github.com/freddysae0/harry-potter-gallery/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freddysae0%2Fharry-potter-gallery/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35358880,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-11T02:00:05.354Z","response_time":104,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-07-11T09:33:04.397Z","updated_at":"2026-07-11T09:33:05.852Z","avatar_url":"https://github.com/freddysae0.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Harry Potter Gallery\n\n![](docs/demo.gif)\n\nAn interactive 3D gallery of Harry Potter-themed images, built with Three.js (WebGPU) and TypeScript.\n\n## Tech Stack\n\n- **Vite** + **TypeScript** — fast dev server and type safety\n- **Three.js** (WebGPU) — 3D rendering with `WebGPURenderer` and `RenderPipeline`\n- **TSL** (Three.js Shading Language) — custom post-processing effects\n- **NodeMaterial** — visible shader objects (glowing orbs)\n- **lil-gui** — interactive controls panel\n- **Zustand** (vanilla) — global state management\n\n## Features\n\n- **Infinite gallery wall** — 97 images scattered on an invisible wall with organic, non-grid layout\n- **Drag-to-pan** — click and drag anywhere to slide the gallery; smooth inertia on release\n- **Scroll zoom** — scroll up to zoom in (capped at 1000%), scroll down to zoom out (capped at 100%)\n- **Image tilt on drag** — pictures tilt in the direction you drag, simulating inertia\n- **Infinite tiling** — the gallery repeats seamlessly in all directions for an endless canvas\n- **Post-processing effects** (velocity-driven):\n  - **Pixelation** — image breaks into larger blocks at higher drag speed\n  - **Chromatic aberration** — R/B channels split along drag direction\n  - **Edge particle dissolve** — screen edges disintegrate into particles\n  - **Bloom** — glow triggered by zooming in/out\n- **Glowing orbs** (NodeMaterial / TSL) — two shimmering orbs flank the gallery with pulse and sparkle effects\n- **GUI panel** — tweak effect intensity, bloom, pixelation, chromatic aberration, tilt speed, and orb color in real-time\n- **Zoom HUD** — current zoom level displayed at the bottom of the screen\n\n## Controls\n\n| Input | Action |\n|---|---|\n| Click + drag | Pan the gallery |\n| Scroll | Zoom in / out |\n| R | Reset camera to center |\n| H | Toggle the GUI panel |\n| GUI sliders | Tweak post-processing effects |\n\n## Getting Started\n\n```bash\nnpm install\nnpm run dev\n```\n\nThe app requires a browser with **WebGPU** support (Chrome 113+, Edge 113+, Opera 99+). If unavailable, the renderer automatically falls back to **WebGL 2**.\n\n## Build\n\n```bash\nnpm run build\n```\n\nOutput in `dist/`.\n\n## Project Structure\n\n```\nsrc/\n  main.ts       — entry point\n  scene.ts      — WebGPU renderer, camera, drag/zoom logic, infinite wall\n  gallery.ts    — image loading, scatter layout, wall positioning\n  post.ts       — TSL post-processing shader (pixelation, CA, bloom, edge dissolve)\n  orb.ts        — glowing orb with NodeMaterial shader (pulse + sparkle)\n  store.ts      — Zustand store (loading state, wall dimensions)\n  assets/\n    gallery/    — 97 Harry Potter-themed images\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreddysae0%2Fharry-potter-gallery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreddysae0%2Fharry-potter-gallery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreddysae0%2Fharry-potter-gallery/lists"}