I sketched some rough mathematical image of Eve, a landscape and some lighting this weekend, inspired by the first shot we see her in Wall-E.

She’s made with some ellipsoids and spheres smoothly intersecting each other, described with distance functions. Coloring and lighting is done with some dot products as usual. Shadows are captured by raymarching the distance functions, fade is done with ellipses, reflections are faked with a gradient, the terrain is two sine waves and a texture, fog is an exponential color gradient. All things together, make you think you are seeing Eve in a shot of the movie.

It’s incomplete and not necessarily super efficient, but it’s certainly real-time and runs on your web browser. I won’t complain about the lack of time to do something better, but be gratefull because it had been months with no time at all to doodled mathematical images, I finally got some time. And it felt really good!

Image, realtime animation, code and maths, here: https://www.shadertoy.com/view/llsXRX