https://github.com/pshycodr/phosphor-cam
Real-time ASCII art camera that transforms your webcam feed into glowing terminal aesthetics. Built with React + Canvas API.
https://github.com/pshycodr/phosphor-cam
Last synced: 5 months ago
JSON representation
Real-time ASCII art camera that transforms your webcam feed into glowing terminal aesthetics. Built with React + Canvas API.
- Host: GitHub
- URL: https://github.com/pshycodr/phosphor-cam
- Owner: pshycodr
- License: mit
- Created: 2025-12-13T13:47:01.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-12-26T19:16:25.000Z (6 months ago)
- Last Synced: 2025-12-28T09:05:20.957Z (6 months ago)
- Language: TypeScript
- Homepage: https://phosphor.pshycodr.me
- Size: 12.8 MB
- Stars: 49
- Watchers: 1
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Phosphor Cam
Transform your camera feed into real-time ASCII art
[](https://github.com/pshycodr/phosphor-cam/stargazers)
[](https://github.com/pshycodr/phosphor-cam/network/members)
[](https://github.com/pshycodr/phosphor-cam/watchers)
[](https://opensource.org/licenses/MIT)
[](https://www.typescriptlang.org/)
[](https://reactjs.org/)
[](https://vitejs.dev/)
[](https://github.com/pshycodr/phosphor-cam/issues)
[](https://github.com/pshycodr/phosphor-cam/pulls)
[](https://github.com/pshycodr/phosphor-cam/commits/main)
---
## โจ Features
- **Real-Time Rendering** โ Live ASCII conversion with performance optimization (60+ FPS)
- **High-Quality Capture** โ Export 4K resolution ASCII art images
- **Customizable Settings**
- 5 character sets (standard, simple, blocks, matrix, edges)
- Adjustable font size/resolution (6-30px)
- Contrast and brightness controls
- Color mode and invert options
- **Camera Controls**
- Front/back camera switching
- High-quality snapshot export
- ASCII text copy to clipboard
- Video recording capability
- **Performance Monitoring** โ Real-time FPS and render time display
## ๐ธ Demo
## ๐ Quick Start
```bash
# Clone the repository
git clone https://github.com/pshycodr/phosphor-cam.git
cd phosphor-cam
# Install dependencies
npm install
# Start development server
npm run dev
```
Visit `http://localhost:5173` to see the app in action!
## ๐ Usage
1. **Grant Camera Access** โ Allow browser to access your camera when prompted
2. **Adjust Settings** โ Click the settings icon (โ๏ธ) to customize the ASCII effect
3. **Capture Images** โ Press the shutter button for high-quality exports
4. **Switch Cameras** โ Use the flip button (๐) to toggle between front/back cameras
5. **Record Video** (COMMING SOON) โ Click the record button (๐น) to start/stop video capture
## ๐ ๏ธ Tech Stack
- **React 18** โ UI framework
- **TypeScript** โ Type safety
- **Vite** โ Build tool
- **Canvas API** โ Real-time rendering
- **MediaStream API** โ Camera access
- **Tailwind CSS** โ Styling
- **Lucide React** โ Icons
## ๐ Browser Support
Requires a modern browser with support for:
- `getUserMedia` API
- `Canvas 2D` rendering context
- ES6+ JavaScript features
โ
Chrome 90+ | โ
Firefox 88+ | โ
Safari 14+ | โ
Edge 90+
## ๐ License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## ๐ค Contributing
Contributions are welcome! Please read [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
1. Fork the repository
2. Create your feature branch (`git checkout -b feature/AmazingFeature`)
3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request
## โญ Show Your Support
If you found this project helpful, please consider giving it a star! It helps others discover the project.
[](https://github.com/pshycodr/phosphor-cam)
## ๐ฌ Contact
Have questions or suggestions? Open an issue or reach out!
---
Made with โค๏ธ using React and Canvas API
[Report Bug](https://github.com/pshycodr/phosphor-cam/issues) ยท [Request Feature](https://github.com/pshycodr/phosphor-cam/issues)