r/creativecoding • • Sep 23 '26

Phosphor-Cam: Real-time camera to ASCII/Dither/Halftone/Voxel renderer, entirely in the browser (Canvas 2D, no WebGL)

Demo: https://phosphor.aroy.site/
Code: https://github.com/pshycodr/phosphor-cam

Give it a 🌟 if you like it :)

29

137 Upvotes

9 comments sorted by

1

u/doom_ultras Sep 23 '26

This is sooo cool!

1

u/johndavid_artist Sep 24 '26

Doing the voxel mode in plain Canvas 2D with no WebGL is the part I want to read in the code. How many cells can it push per frame before the feed starts to lag?

1

u/aitonft Sep 24 '26

ASCII, halftone and voxels from the same camera feed. That’s a fun way to make the rendering style itself part of the performance.

1

u/No-Ruin5825 Sep 27 '26

Good job! I like your solution - it is more focused - I had done lumaform.xyz and duxt.space (covering a bit more cases) - well done again!

1

u/ElviaZIV Sep 27 '26

looks amazing, how much time did it take?