5. External resources for learning about GSAP

We use the GreenSock GSAP JavaScript animation library to animate SVG images in the CTGames framework.

Many web-based resources are available to learn about the capabilities of GSAP, and how to use it. The following are some of the top search results as of early 2022. Using GSAP through Brython mirrors exactly how to use it through JavaScript, so all tutorials/blogs/books about GSAP are potentially useful.

Tip

Make sure to consult this section in the context of the examples in section “Basic usage of GSAP in web apps”. It may be more efficient to first try to modify one of the examples in that section to get what you need. If you don’t find an example that matches your use case, or the example you modify has different behaviour compared to what you want, or you get a syntax error when using the GSAP library, then come back to this section.

Tip

GSAP received a major update with GSAP version 3 in November 2019. Any tutorials/blogs/books written before that date may use outdated syntax or more verbose ways to achieving the same result. For example, any code that uses objects TweenLite or TimelineMax would pre-GSAP version 3 code.

See also

For an analysis of the different web app animation technologies considered for CTGames before GSAP was chosen, see section “Choice of web app animation framework”.

Overviews of GSAP features

Reference docs

Informal docs

SVG-related

Advanced: Plugins

Plugins add extra capabilities to GSAP’s core. Many plugins are automatically included with GSAP. The full list of plugins includes