TiltShift.js - using jQuery & CSS3 to mimic tilt-shift photography (Chrome)
1–10 of 19 posts
Re: TiltShift.js - using jQuery & CSS3 to mimic tilt-shift photography (Chrome)
#2These 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.
Re: TiltShift.js - using jQuery & CSS3 to mimic tilt-shift photography (Chrome)
#3Nice effect! 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.
Re: TiltShift.js - using jQuery & CSS3 to mimic tilt-shift photography (Chrome)
#4Re: TiltShift.js - using jQuery & CSS3 to mimic tilt-shift photography (Chrome)
#5An 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.
Re: TiltShift.js - using jQuery & CSS3 to mimic tilt-shift photography (Chrome)
#6Re: TiltShift.js - using jQuery & CSS3 to mimic tilt-shift photography (Chrome)
#7Re: TiltShift.js - using jQuery & CSS3 to mimic tilt-shift photography (Chrome)
#8Why do you need jQuery ? Can't you use the :hover pseudo-class, along with CSS3 opacity transition on the mask ?
Re: TiltShift.js - using jQuery & CSS3 to mimic tilt-shift photography (Chrome)
#9Why do you need jQuery ? Can't you use the :hover pseudo-class, along with CSS3 opacity transition on the mask ?
Re: TiltShift.js - using jQuery & CSS3 to mimic tilt-shift photography (Chrome)
#10It'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. 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.