{"id":51389503,"url":"https://github.com/usini/depth","last_synced_at":"2026-07-03T22:07:19.570Z","repository":{"id":333853036,"uuid":"1138977753","full_name":"usini/depth","owner":"usini","description":"µsini Depthmap 3D Viewer","archived":false,"fork":false,"pushed_at":"2026-01-21T11:35:14.000Z","size":5076,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-21T22:58:21.221Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://usini.github.io/depth/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/usini.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-01-21T11:07:53.000Z","updated_at":"2026-01-21T11:35:18.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/usini/depth","commit_stats":null,"previous_names":["usini/depth"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/usini/depth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usini%2Fdepth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usini%2Fdepth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usini%2Fdepth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usini%2Fdepth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/usini","download_url":"https://codeload.github.com/usini/depth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usini%2Fdepth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35102797,"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-03T02:00:05.635Z","response_time":110,"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-03T22:07:15.762Z","updated_at":"2026-07-03T22:07:19.553Z","avatar_url":"https://github.com/usini.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![logo](docs/logo.png)\n# µsini Depth Map Real Time 3D Viewer\n\n# Use it here : https://usini.github.io/depth/\n\nA real-time 3D depth map visualization tool built with Three.js. Load depth map images or capture your screen to create interactive 3D relief visualizations.   \nNo installation required!\n\nhttps://github.com/user-attachments/assets/5b3162d5-6978-4fef-966f-f2e33e9603df\n\n## Features\n\n- **Image Loading**: Load local depth map images (PNG, JPG, etc.)\n- **Screen Capture**: Capture your screen in real-time with configurable intervals\n- **3D Visualization**: GPU-accelerated displacement mapping with Gaussian/Max kernel smoothing\n- **Picture-in-Picture**: View the 3D canvas in a floating PiP window\n- **Gold Filter**: Optional gold tint overlay for aesthetic effect\n- **Persistent Settings**: Depth and capture interval settings are saved between sessions\n- **Multi-language Support**: English and French included, easy to add more\n\n## Screen Capture\n\n1. Click **Start** to begin continuous screen capture\n2. Select the screen, window, or tab you want to capture\n3. The 3D view updates automatically at the specified interval\n4. Click **Stop** to end capture\n\nUse **Single Capture** for one-time captures without continuous updates.\n\n## Controls\n\n| Control | Description |\n|---------|-------------|\n| **Depth** | Adjusts the height/intensity of the 3D displacement (0-5) |\n| **Capture interval** | Time between screen captures in milliseconds |\n| **Gold filter** | Toggles a golden color tint on the visualization |\n| **Picture-in-Picture** | Opens the 3D view in a floating window |\n| **Language** | Switch between available languages |\n\n### Mouse Controls\n\n- **Left drag**: Rotate view\n- **Right drag**: Pan view\n- **Scroll**: Zoom in/out\n\n## Adding a New Language\n\nThe i18n system makes adding translations simple:\n\n1. Open `i18n.js`\n2. Copy the `en` translation block\n3. Paste it with a new language code (e.g., `es`, `de`, `ja`)\n4. Translate all values\n5. The language automatically appears in the selector\n\nExample:\n```javascript\nes: {\n    _name: 'Español',\n    _flag: '🇪🇸',\n    appTitle: 'Mapa de Profundidad',\n    uploadLabel: 'Imagen local',\n    // ... translate remaining keys\n}\n```\n\n## Technical Details\n\n- **Three.js** for WebGL rendering\n- **Custom GLSL shaders** for GPU-based displacement mapping\n- **Hybrid Gauss/Max kernel** for edge-preserving depth smoothing\n- **LocalStorage** for settings persistence\n\n## Browser Support\n\nRequires a modern browser with:\n- WebGL support\n- ES6 modules\n- Screen Capture API (for screen capture feature)\n- Picture-in-Picture API (for PiP feature)\n\n## AI Disclosure\nThis application was partly built using GPT4.1 and Claude Opus 4.5\n\n## License\nMade by [µsini](https://usini.eu)   \nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusini%2Fdepth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fusini%2Fdepth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusini%2Fdepth/lists"}