Live data from Hacker News

FourShadows.js – Time-aware algorithm driven shadows for icons

github.com

1–10 of 25 posts

Re: FourShadows.js – Time-aware algorithm driven shadows for icons

#3
This feels unnecessary, although it's some cool code for sure. I think it ends up looking unnatural when the generated shadow doesn't match the shadow in the icon itself; in the demo on the github page, this would be at 1 o'clock and 5 o'clock.

Re: FourShadows.js – Time-aware algorithm driven shadows for icons

#5
Clever, but light comes from the sky (it always comes from the sky in nature...light from below weirds us out). It's probably poor design to have shadows rotating throughout the day. Might be more friendly to have the shadows play like real shadows (never going above the object).

Source: http://static.tvtropes.org/pmwiki/pub/images/TV_Tropes_Flash...

Re: FourShadows.js – Time-aware algorithm driven shadows for icons

#8
Google maps does this for shadows on buildings - check out something tall to see. It makes more sense there as the shadows actually fall in that location. As an interface it's a cool idea but we normally consider light to fall from top to bottom.
Post reply on HN