
We share the same eye level but cannot meet. In order to enter, visitors must go down a huge flight of nearly 20 steps that are undeniably monumental − all the time wishing perhaps that one might just be permitted to go straight ahead, where children can be seen playing outside the first-floor classrooms. This does little to differentiate the flat-roofed school beyond, which sits so low in the ground that the facade barely registers in between the five-storey housing blocks. Love it.Unfortunately this generosity of public spirit seems difficult to export outside Switzerland, and here the school is surrounded by a long fence. GreenSock was an order of magnitude easier. “Spent today converting an animation to pure CSS, and then into GSAP.It should literally be part of the next Javascript update.” “GSAP should be the default when it comes to Javascript animations.

GOATLICK OVERLOOP GNP CODE
GOATLICK OVERLOOP GNP HOW TO
You can make your code more DRY by using a function! I talk more about how to do that in my article on animating efficiently.Īltogether, I think it functions better and is a bit cleaner: You have a good bit of repetition comparing your two loops. For example "none" instead of Power0.easeNone. In GSAP 3, we recommend using the condensed string form of eases. You can create a new timeline using gsap.timeline(). In GSAP 3, you don't need Max/Lite stuff. It looks like you tried to do that, but you misspelled it as "easy" and put it inside of the morphSVG object whereas it should just be part of the tween vars. I don't really understand why you're using delay and repeatDelay - why not just make use of the fact that elements in timelines are fired after the one before it ends by default? That's causing the jump that you're seeing because the first loop timeline is being repeated before the last one ends and they share the same target (unlike the demos above in this thread)Īnother big improvement you can make in terms of the overall smoothness is to use an ease of none.


We couldn't do what we do without people like you. Hey welcome to the GreenSock forums! Thanks for being a Club GreenSock member.
