It's possible to have such filters with Firefox as well if you use {filter:url(#svgFilter)} (see https://developer.mozilla.org/en-US/docs/CSS/filter). But I have to admit it's not as simple as webkit does.
Yeah, you definitely don't need jQuery if you're doing it image for image. I did it this way so that I had a method to quickly pass settings on and generate the necessary effects on the fly.
Like other post-processed tilt shift effects, this will look best when objects are very short when measured perpendicular to the blur. If you have an object that spans most of the frame and crosses the blur then you will have parts of the shot which are at the same focal length but have different blurs which will give away the effect.
These examples were well chose to avoid this issue. The Empire State Building actually has the blur running vertically which is why you don't see it there. And the airplane is a great example because the front of the plane and the jetway are in a plane and the falloff was well chosen to start just above the top of the jetway.
Heh, fair enough. Certainly not trying to avoid the "issue" :) I think like you point out, tilt shift only works for certain shots, the same way I'm not going to use on-camera flash to try and light up a mountain at night :)
These kind of effects always seem kind of pointless at first, until a company like Instagram comes around and almost defines their whole product around them (same with Pinterest and the Masonry layout). I'm sure very cool things will come out of the new CSS blur features too.
Thanks Sacha! Definitely pointless now :) Think there are some cool opportunities down the line though (i.e. mixing with jQuery facial recognition on profile pages, etc.). Really looking forward to seeing how these sort of CSS3 filters develop in production...
I agree, but at the same time, the naming will resonate quite well for people searching this sort of "result", even if they are technically different. Good spot though :)
[+] [-] paulrouget|13 years ago|reply
An example: http://jsbin.com/ekekug/2 (only Firefox, and I didn't reproduce OP's tilt-shift effect)
Also, I'm wondering if it's not better to use Canvas for performance reasons.
[+] [-] noeltock|13 years ago|reply
[+] [-] arcatek|13 years ago|reply
[+] [-] noeltock|13 years ago|reply
[+] [-] nchuhoai|13 years ago|reply
[+] [-] stuaxo|13 years ago|reply
[+] [-] gagan2020|13 years ago|reply
[+] [-] mason55|13 years ago|reply
These examples were well chose to avoid this issue. The Empire State Building actually has the blur running vertically which is why you don't see it there. And the airplane is a great example because the front of the plane and the jetway are in a plane and the falloff was well chosen to start just above the top of the jetway.
[+] [-] noeltock|13 years ago|reply
[+] [-] arvidjanson|13 years ago|reply
[+] [-] sgdesign|13 years ago|reply
These kind of effects always seem kind of pointless at first, until a company like Instagram comes around and almost defines their whole product around them (same with Pinterest and the Masonry layout). I'm sure very cool things will come out of the new CSS blur features too.
[+] [-] noeltock|13 years ago|reply
[+] [-] gregwebs|13 years ago|reply
[+] [-] Evbn|13 years ago|reply
Tilt is a lens technique for miniature faking.
Shift is not related to miniature faking.
It is bizarre to name one faking technique after a different one, instead of after the end effect you are faking.
[+] [-] noeltock|13 years ago|reply