nicolasbully
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by nicolasbully
-
-
Hi everyone!
Let me start by saying GSAP is awesome.
I was wondering if anyone had ported the RoughEase library from AS to JS, or something similar to that? I'm working on a project where I need to randomly affect elements over time (smoothly), and I think RoughEase would be amazing for the job. More specifically, I'm trying to replicate some old film effects – grain, shifting picture, flickering bulb, etc.
My current solution is to start a tween for a random duration/value, then delay the next tween by a random amount, and have that process loop, effectively creating a sort of randomness to the flicker. I suppose it works, but it doesn't look great yet and doesn't feel as elegant as the RoughEease soltuion. Thanks in advance!
RoughEase for JS?
in GSAP
Posted
THAT. IS. AWESOME. I'll spend some time with this and let you know!
I was using Perlin noise in the interim to generate the randomness on TweenLite.tick, but I'm not entirely convinced it's the most efficient/best-looking method:
See the Pen rvuDo by hellonicolas (@hellonicolas) on CodePen
Thanks so much!