Public Voice Network
- Apple Manufacturing 44
- I ♥ HOUSE 306306
- Name this design style 3131
- Flickr Redesign 2727
- DaftPunk 200200
- What are you listening to… 55785578
- The Useful Thread 361361
- Vid of the Day 1504815048
- Trailer Of The Day 795795
- Ray Manzarek, RIP : / 1515
- Car of The Day 807807
- Yahoo buying Tumblr 1212
- Bitcoin 114114
- Pic of the Day 7468974689
- FMT170513 1212
- the gif animation thread 1844118441
- e-cigarettes 3535
- Tornado season 101101
- Great motorcycles 243243
- Pic of the day - DESIGN 10341034
- Amy's Baking Company 106106
- Studio VS Agency VS Consu… 1414
- Angelina Joile boobs.. 3333
- Denver Area Web Designer… 77
Jquery - choppy animation 1313 Responses
Last post: 1 year, 1 month ago | Thread started: Apr 15, 12, 9:14 a.m.
- nosaj
Any tips on making smooth Jquery animations?
When I apply a few animations simultaneously to an image (slide, scale and opacity). I get a fair bit of choppy pixel shifting.Is there a technique to smooth this out. It looks similar to not having "bitmap smoothing" turned on in Flash.
- Apr 15, 12, 9:14 a.m. – Permalink
- mikotondria3
Does it matter if you're using, say, pngs with transparency over an image background, or just a jpeg over the top of a plain css color, or anything like that ?


- Dog-earApr 15, 12, 10:43 a.m. – Permalink
- NONEIS
Not a ton you can do, browser run time still blows, this is the thing everyone who chanted for the death of flash forgets. Pull back on opacity though, it's the most processor intensive thing you can do, try moving things faster upfront and popping things in instead of fades, trick the eye...

- Dog-earApr 15, 12, 2:38 p.m. – Permalink
- fadein11
Same problem here - opacity animations v.choppy.
Its worse on mac I have noticed - much smoother on Windows... weird.
It reminds me of how Flash used to run slower on mac than pc - something weird in the mac way of doing things that makes it jerky... i have no idea why though.

- Dog-earApr 16, 12, 1:38 a.m. – Permalink
- animatedgif
would be easier to help you if you put together a demo of the problem out of context


- Dog-earApr 16, 12, 4:27 a.m. – Permalink
- nosaj
Here's someone else's example of the same problem:
http://laveryrowe.com/Notice how the 75% becomes very distorted in some browsers (ie Safari).


- Dog-earApr 16, 12, 4:34 a.m. – Permalink
- nosaj
This is the discussion around the the link above:
http://stackoverflow.com/questio…

- Dog-earApr 16, 12, 4:35 a.m. – Permalink
- animatedgif
^ adding
"-webkit-transform-style: preserve-3d" to that element fixed it for me and made it run better too. Forces it into hardware accelerated mode I think.On modern browsers you should be using transform for these effects rather than changing the width.
http://developer.apple.com/libra…

- Dog-earApr 16, 12, 4:42 a.m. – Permalink
- animatedgif
http://lab.hakim.se/scroll-effec…
Just by looking at this page you can see this sort of thing is absolute childs play for Safari, so if it's running badly then it's been implemented wrong.

- Dog-earApr 16, 12, 4:45 a.m. – Permalink


