{"id":50938685,"url":"https://github.com/corychainsman/sprite-rasterizer","last_synced_at":"2026-06-17T11:38:00.674Z","repository":{"id":311057843,"uuid":"1042292118","full_name":"corychainsman/sprite-rasterizer","owner":"corychainsman","description":"Render your camera with sprites","archived":false,"fork":false,"pushed_at":"2025-08-21T20:29:58.000Z","size":26381,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-21T22:47:43.709Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://corychainsman.github.io/sprite-rasterizer/","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/corychainsman.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}},"created_at":"2025-08-21T19:28:41.000Z","updated_at":"2025-08-21T20:30:01.000Z","dependencies_parsed_at":"2025-08-21T22:57:49.669Z","dependency_job_id":null,"html_url":"https://github.com/corychainsman/sprite-rasterizer","commit_stats":null,"previous_names":["corychainsman/sprite-rasterizer"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/corychainsman/sprite-rasterizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corychainsman%2Fsprite-rasterizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corychainsman%2Fsprite-rasterizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corychainsman%2Fsprite-rasterizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corychainsman%2Fsprite-rasterizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/corychainsman","download_url":"https://codeload.github.com/corychainsman/sprite-rasterizer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corychainsman%2Fsprite-rasterizer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34447266,"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-06-17T02:00:05.408Z","response_time":127,"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-06-17T11:37:59.983Z","updated_at":"2026-06-17T11:38:00.669Z","avatar_url":"https://github.com/corychainsman.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sprite Rasterizer\n\nA real-time webcam sprite rasterizer that converts live video feeds into ASCII-art style representations using custom sprites.\n\n## Demo\n\nhttps://github.com/user-attachments/assets/5a1063e3-e87f-49fb-9e7f-85739df26242\n\n## Features\n\n- **Real-time Processing**: Live webcam feed converted to sprite-based art in real-time\n- **Custom Sprites**: Upload your own images or use text characters/emojis as sprites\n- **Webcam Capture**: Instantly capture sprites directly from your webcam\n- **Multiple Matching Algorithms**: Choose between color-based or brightness-based sprite selection\n- **Interactive Controls**: Adjust scale, posterization effects, and color schemes\n- **Responsive Design**: Works on desktop browsers with WebGL support\n\n## Getting Started\n\n### Prerequisites\n\n- Modern web browser with WebGL support\n- Webcam (optional, can also use static images)\n\n### Running Locally\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/corychainsman/sprite-rasterizer.git\n   cd sprite-rasterizer\n   ```\n\n2. Start a local web server:\n   ```bash\n   # Using Python 3\n   python -m http.server 8000\n   \n   # Using Node.js\n   npx serve .\n   \n   # Using PHP\n   php -S localhost:8000\n   ```\n\n3. Open your browser and navigate to `http://localhost:8000`\n\n### Live Demo\n\nTry it online: [https://corychainsman.github.io/sprite-rasterizer/](https://corychainsman.github.io/sprite-rasterizer/)\n\n## How to Use\n\n1. **Add Sprites**: \n   - Enter text characters or emojis in the TextSprites input\n   - Upload image files using the \"📁 Upload Sprites\" button\n   - Capture sprites directly from your webcam with \"📷 Capture from Webcam\"\n\n2. **Grant Camera Permission**: Allow webcam access when prompted for live video processing\n\n3. **Adjust Settings**:\n   - **Scale**: Control the grid density (more sprites = higher detail)\n   - **Threshold**: Adjust posterization intensity for different artistic effects\n   - **Matching Algorithm**: Choose between color or brightness-based sprite selection\n   - **Colors**: Customize background and text colors\n\n4. **Source Options**:\n   - Use live webcam feed for real-time effects\n   - Drop static images for processing\n   - Right-click the output canvas to save your creation\n\n## Technical Details\n\n- **WebGL Rendering**: High-performance GPU-accelerated sprite rendering\n- **Real-time Processing**: Optimized for smooth frame rates\n- **Sprite Atlas**: Efficient texture packing for multiple sprites\n- **Mirrored Webcam**: Natural camera preview experience\n- **Responsive Grid**: Automatic aspect ratio handling\n\n## Browser Compatibility\n\n- Chrome/Chromium (recommended)\n- Firefox\n- Safari\n- Edge\n\nRequires WebGL and getUserMedia API support.\n\n## Contributing\n\nPull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.\n\n## License\n\nThis project is open source and available under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorychainsman%2Fsprite-rasterizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcorychainsman%2Fsprite-rasterizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorychainsman%2Fsprite-rasterizer/lists"}