News for hackers. Stuff that matters.
Re:Module that casts photorealistic shadows by misnome on Wednesday July 03, 2013 @12:57PM (#5985865)
"Photorealistic" is a big, big stretch here. Why is the shadow the colour of the object that is shadowing it? Why doesn't the softness of the shadow relate to the distance to the light source? Why don't adjacent objects affect each other shadow colours? Also, the inset shadow doesn't seem to work - the cursor can hover directly over shadow area.

It mostly seems to be a css shape-repeater to give a 'shadow-like' visual appearance in a dynamic direction.

I mean, I'm not trying to put down the writers js/css skills, but when I read "Photorealistic shadows", I think of something like LuxRender. So, probably, just marketing skills.

Re:Module that casts photorealistic shadows by jasallen on Wednesday July 03, 2013 @12:57PM (#5985864)
Well I didn't notice any performance issues, but based on the other comment I checked out perfmon, and yeah, its pegging a core.

Maybe less sprites on the demo page?

Re:Module that casts photorealistic shadows by jlgreco on Wednesday July 03, 2013 @01:02PM (#5985907)
It's laggy as hell for me on a i5-3427U. Not a beefy machine, but unless your target audience is gamers with tricked out PCs...
Re:Module that casts photorealistic shadows by pplante on Wednesday July 03, 2013 @01:14PM (#5986007)
its incredibly slow on my mbpr with chrome 27.
Re:Module that casts photorealistic shadows by orbitur on Wednesday July 03, 2013 @02:15PM (#5986456)
Runs just fine here on a regular mid-2012 MBP15. I can see one thread/core is working full time, but the animation is buttery smooth.
Re:Module that casts photorealistic shadows by EGreg on Wednesday July 03, 2013 @02:45PM (#5986659)
Yep! Macs rule now :)
Re:Module that casts photorealistic shadows by seanmcdirmid on Wednesday July 03, 2013 @05:24PM (#5987623)
Didn't seem to work at all on an iPad.
Re:Module that casts photorealistic shadows by atjoslin on Wednesday July 03, 2013 @01:39PM (#5986204)
This is a cool idea :-) You should make a demo with just one object though, so it doesn't lag so much.
Re:Module that casts photorealistic shadows by nkwiatek on Wednesday July 03, 2013 @02:25PM (#5986514)
I bet if you `s/box-shadow/text-shadow/` a lot more people will find ways to use it.
Re:Module that casts photorealistic shadows by hyborg787 on Wednesday July 03, 2013 @12:47PM (#5985777)
Perfect for making me click the back button when your landing page performs abysmally slow.