{"id":18936936,"url":"https://github.com/qc20/pinportrait","last_synced_at":"2026-04-29T20:12:16.188Z","repository":{"id":249580574,"uuid":"831897110","full_name":"QC20/PinPortrait","owner":"QC20","description":"PinPortrait: An immersive 3D webcam pixelation experiment. Transform your live video feed into an interactive, three-dimensional pixel art portrait. Explore the intersection of computer vision and creative coding.","archived":false,"fork":false,"pushed_at":"2026-04-05T07:14:39.000Z","size":2361,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-04-05T09:05:02.547Z","etag":null,"topics":["3d-graphics","computer-vision","creative-coding","css3-animations","data-visualization","hci","html5","interactive","interactive-art","javascript","pixel-art","real-time-processing","threejs","ux-design","web-experiment","webgl"],"latest_commit_sha":null,"homepage":"https://qc20.github.io/PinPortrait/","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/QC20.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":"2024-07-21T23:46:38.000Z","updated_at":"2026-04-05T07:14:42.000Z","dependencies_parsed_at":"2024-12-31T21:27:22.010Z","dependency_job_id":"5cf4ffc5-7ef2-4c6e-848f-62b5f9b8c5f1","html_url":"https://github.com/QC20/PinPortrait","commit_stats":null,"previous_names":["qc20/pinportrait"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/QC20/PinPortrait","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QC20%2FPinPortrait","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QC20%2FPinPortrait/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QC20%2FPinPortrait/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QC20%2FPinPortrait/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QC20","download_url":"https://codeload.github.com/QC20/PinPortrait/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QC20%2FPinPortrait/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32441764,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T18:12:22.909Z","status":"ssl_error","status_checked_at":"2026-04-29T18:11:33.322Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["3d-graphics","computer-vision","creative-coding","css3-animations","data-visualization","hci","html5","interactive","interactive-art","javascript","pixel-art","real-time-processing","threejs","ux-design","web-experiment","webgl"],"created_at":"2024-11-08T12:09:22.113Z","updated_at":"2026-04-29T20:12:16.170Z","avatar_url":"https://github.com/QC20.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PinPortrait: 3D Webcam Pixelation Experiment\n\nPinPortrait is an interactive web experiment that transforms your webcam feed into a dynamic 3D pixel art portrait. This project explores the intersection of computer vision, 3D graphics, and interactive design, offering a unique and engaging user experience.\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"./src/assets/gif/example.gif\" alt=\"\"\u003e\n  \u003cp\u003e\u003c/p\u003e\n\u003c/div\u003e\n\n## Features\n\n- Real-time webcam input processing\n- 3D representation of pixelated video feed\n- Interactive camera controls for exploring the 3D space\n- Customizable pixel size and color mapping\n\n## How It Works\n\nPinPortrait uses the following technologies and techniques:\n\n1. **Webcam Input**: Captures live video feed from the user's webcam.\n2. **Canvas Pixelation**: Processes the video feed and calculates average color values for each pixel block.\n3. **Three.js 3D Rendering**: Creates a 3D scene with cubes representing each pixel.\n4. **Dynamic Updates**: Continuously updates cube colors and heights based on the processed video data.\n5. **Interactive Controls**: Allows users to orbit, zoom, and pan around the 3D scene.\n\n## Customization\n\nPinPortrait is designed to be easily customizable. Here are some ways you can modify the project:\n\n- Adjust the `size` variable in `sketch.js` to change the pixel/cube size\n- Modify the color mapping in the `setupColors()` function for different visual effects\n- Experiment with different 3D geometries by replacing the cube mesh in `setupCubes()`\n- Add post-processing effects using Three.js post-processing library\n- Implement additional interactivity, such as click events on individual cubes\n\n## Getting Started\n\nTo run PinPortrait locally:\n\n1. Clone this repository\n2. Open `index.html` in a modern web browser\n3. Allow access to your webcam when prompted\n\n## Performance Considerations\n\nThe performance of PinPortrait depends on the capabilities of the user's device. For optimal perfo","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqc20%2Fpinportrait","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqc20%2Fpinportrait","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqc20%2Fpinportrait/lists"}