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

02A Metal Rim Painted From Edge Thickness and Light Direction

Tilt the coin and a rim band shows between the two discs; the rim is split into 40 pieces and each piece is shaded by the dot product of its normal and the light direction. As it turns, the bright pieces slide to one side along the edge, and with zero thickness the rim pieces vanish and the coin looks paper thin.

Best forScenes that show the edge thickness of coins, medals and buttons

THICK_RIMRIM_NdotLight
A Metal Rim Painted From Edge Thickness and Light Direction
Open in a new tab

02 A Metal Rim Painted From Edge Thickness and Light Direction — Measured area 13.775% · moving frames 23/23Original by GODRICH · SCSS and React ship in the zip · Coin Flip: 9 Canvas Toss Scenes

The post this demo lives in

Coin Flip: 9 Canvas Toss Scenes - preview of all 9 demosCoin Flip: 9 Canvas Toss ScenesHow does a coin flip pick a side? 03 multiplies airtime by spin rate and reads the parity of half turns, 05 draws a rati See all demos in this post

If you like this effect - similar demos