TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Real Shadow: jQuery Plugin that casts photorealistic shadows

83 pointsby illdaveabout 13 years ago

19 comments

aw3c2about 13 years ago
Maybe it is the amount of shadow-casting items on that page but if your <i></i><i>landing page</i><i></i> maxes out my cpu and lags badly, I say goodbye faster than 20 frames render. (I use Opera.)<p>edit: They do look good though!
mxfhabout 13 years ago
This one even had lights. Illuminated.js – 2D lights and shadows rendering engine for HTML5 applications <a href="http://news.ycombinator.com/item?id=3958251" rel="nofollow">http://news.ycombinator.com/item?id=3958251</a>
Cushmanabout 13 years ago
The effect is cool, so I hate to ask this, but-- in what sense is this "photorealistic"? They look like normal soft shadows to me.
评论 #3987722 未加载
hamoidabout 13 years ago
Where is the cursor on my phone? :)
evrideabout 13 years ago
"Perfect for eye-catching demos and landing pages."<p>Can we stop creating stuff in JS/CSS that we would have ridiculed other people for doing in flash? I can't possibly think of any situation where this would be useful for a landing page.
评论 #3987544 未加载
alttababout 13 years ago
This pegged my duo core at 100% for both cores. Realtime shadows are great and all, but if I needed to achieve them I'd imagine I'd use WebGL if I didn't care about CPU or battery.<p>Using jQuery for this type of problem seems a little out of place to me. That said, this is certainly "neat." THAT said, I don't believe this has real world practical value. Its too computationally expensive considering what it adds.
评论 #3988613 未加载
评论 #3987733 未加载
评论 #3988124 未加载
ddonabout 13 years ago
On iPad I see shadows, but can't control them...
arsabout 13 years ago
I moved the cursor across the page and nothing of interest happened. This is Firefox 12. It did work on chrome though.
评论 #3986519 未加载
评论 #3986652 未加载
评论 #3986487 未加载
jgvabout 13 years ago
My company released this effect a couple of months ago: <a href="http://okfoc.us/okshadow/" rel="nofollow">http://okfoc.us/okshadow/</a> and <a href="https://github.com/okfocus/okshadow" rel="nofollow">https://github.com/okfocus/okshadow</a>
illdaveabout 13 years ago
Just to confirm, it's working well on Chrome 20 on Mac for me (no lag, not maxing out the CPU, very smooth). It's interesting from a technical perspective, although design-wise I can't really see any practical reason to use it. Fun though.
PhrosTTabout 13 years ago
2000 - drop shadows.<p>2005 - transparent drop shadows.<p>2012 - realtime drop shadows!
basseqabout 13 years ago
It may just be for demo purposes, but using the mouse cursor as a light source seems like the 2012 equivalent of animated GIF backgrounds. Might be cool it could you specify a point light source at a given coordinate and let the page render from there.
评论 #3987095 未加载
astoabout 13 years ago
Works quite nicely on Chrome. Too much lag on Firefox and Opera!
lucian1900about 13 years ago
Works on FF 12, but it's extremely slow.
评论 #3986429 未加载
jherikoabout 13 years ago
FYI doesn't work with IE 10
regnumabout 13 years ago
Looks very nice in Chrome.
happypeterabout 13 years ago
ubuntu1104+Chrome: perfect Mac+firefox13: a bit slow
savoriesabout 13 years ago
Needs more lens flare. And some bevels. Then we're back in 1998.
riotgibbonabout 13 years ago
well, I liked it, well done