Experiments in light,
space and play.
3D, shaders, games and interactive pieces by Nir Peretz. Each one is its own little world.
Shader Garden
Four fragment shaders on one fullscreen triangle. Raw WebGL2, no build step, no libraries.
Let the Sunshine In
A sun built from custom GLSL, driven by the scroll wheel. TypeScript and three.js r104.
Ray Tracer
A 2013 C++ ray tracer (soft shadows, glass, reflections, textures) rebuilt as a progressive GPU tracer: one path per pixel per frame, refining while you hold still.