GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

07Shading That Moves a Sphere's Light and Shadow Into Glyph Density

Each screen point is treated as a point on the sphere, brightness comes from the dot product of the surface normal and the light direction (only when positive) and is written as a pixel, then the cell mean is printed as one of twelve ramp glyphs. The bright face follows the light as it circles the sphere while the striped sphere spins and a small moon orbits.

Best forGlyph logos and hero objects that need depth

normalDotLIGHT_ANGLERAMP_SHADE
Shading That Moves a Sphere's Light and Shadow Into Glyph Density
Open in a new tab

07 Shading That Moves a Sphere's Light and Shadow Into Glyph Density — Measured area 15.562% · moving frames 23/23Original by GODRICH · SCSS and React ship in the zip · ASCII Art JavaScript: 9 Canvas Glyph Scenes

The post this demo lives in

ASCII Art JavaScript: 9 Canvas Glyph Scenes - preview of all 9 demosASCII Art JavaScript: 9 Canvas Glyph ScenesHow does ASCII art turn a picture into characters? 01 picks a glyph by each cell's mean brightness, 05 chooses slash or See all demos in this post

If you like this effect - similar demos