Skip to content
Lab

Gravitational lens

A movable centre of mass bends a procedural star field.

A lensing shader made to look right, with no real physics behind it. The dark centre follows the pointer, light bends around it, and the distortion strength responds to how close the pointer is to the middle of the frame.

Built with
GLSL, Procedural stars, React Three Fiber
Roles
Design

Written about it

Next experimentAsteroid field