WOAH

Tagged: shaders

3 articles

· 6 min read

Escher's Print Gallery zooms forever in a shader

One WebGL fragment shader bends a flat drawing into the endless Escher spiral with log-polar coordinates and a rotation. It takes your own image and prints its source.

#webgl#shaders#math#creative-coding

· 5 min read

Type a formula and the GPU paints every pixel

The Book of Shaders teaches GLSL in a live editor where each pixel's color is computed in parallel from its own coordinate. Change a line, the whole image recompiles.

#shaders#creative-coding#graphics

· 6 min read

Drag your cursor and the GPU solves real fluid

WebGL Fluid Simulation runs the Navier-Stokes equations on your graphics card, twenty pressure iterations a frame, in about fifty kilobytes of JavaScript.

#webgl#shaders#simulation