January 30, 2024

GSAP Timelines in Bricks with Bricksforge

Hey everyone, Brendan here! In today’s tutorial, we’ll dive into the exciting world of GSAP (GreenSock Animation Platform) using Bricks Forge. We’ll explore GSAP interactions and the Timeline Builder to create captivating animations. Whether you’re a beginner or looking to enhance your animation skills, this tutorial is for you. So, let’s jump right in!

Introduction to GSAP and Bricks Forge

If you’re familiar with Bricks Forge, you know that one of its standout features is the inclusion of the GSAP library for creating powerful animations. GSAP, or GreenSock Animation Platform, is a robust animation library used for creating smooth and performant animations on the web.

In today’s tutorial, we’ll cover some basics of GSAP and demonstrate how to build different animations using Bricks Forge. We won’t just stick to theory; we’ll create practical animations that you can use on your projects.

Getting Started

Let’s open up Bricks Forge and start by creating a new animation. I have a simple square div with a background color that we’ll use as our animation element. We’ll explore various GSAP methods, such as to, from, and combining them.

Basic Translation Animation

  1. Open Bricks Forge and create a new animation under your desired category.
  2. Select your animation element using the picker.
  3. Start with a simple translation animation using the to method. For instance, translate the div by 300 pixels on the Y-axis.

You can play and adjust the animation duration within the Bricks Forge interface, providing flexibility in tweaking your animations.

From and To Animations

Now, let’s explore the from and to methods separately.

  1. Delete the existing animation and create a new one.
  2. Choose the from method and animate the element back to its original position. This method selects the starting position and animates from there.

Combining From and To

Combine the from and to methods to create a sequence of animations. For example, animate the element diagonally by setting an initial state with from and animating to a different state with to.

You can stack multiple animations, adjusting timings and delays for a more complex sequence.

Adding Rotation, Blur, and Color

Explore additional properties like rotation, blur, and background color changes. Mix and match these properties to create dynamic and visually appealing animations.

Building a Sunrise Animation

Let’s apply our knowledge to create a practical animation. Imagine a sunrise animation using a circular div with class sun.

  1. Create a new animation timeline named “sunrise.”
  2. Use the class selector for the sun element.
  3. Animate the sun to rise by adjusting its position on the X and Y-axis (x: 300, y: 700) [these are just random values and you’ll want to spend time seeing where the animation is in your page]
  4. Change the background color to simulate the sunrise glow. (select a random yellow shade or use a variable)
  5. Add a blur effect for a smooth transition, to simulate the suns rays (blur: 50px or so)

Extend the duration and play with easing options to achieve the desired sunrise effect.

Advanced Techniques

Explore advanced techniques such as changing background colors on different elements within the same animation timeline. Play around with easing options to fine-tune the animation’s feel.


Congratulations! You’ve just scratched the surface of GSAP and Bricks Forge animation possibilities. Experiment with different properties, timings, and easing options to create stunning and engaging animations for your web projects.

Remember, practice makes perfect, so keep experimenting and refining your animation skills. Stay tuned for more tutorials, and happy animating!

Peace, Brendan

Brendan O'Connell

Brendan is a longtime WordPress user and has built and managed hundreds of websites over the last decade.

Recent Posts

You're still here? Wow, dedication. Here are some of my latest ramblings.

I am a heading

If you’re curious, this is Website Ipsum. It was specifically developed for the use on development websites. Other than being less confusing than other Ipsum’s, Website Ipsum is also formatted in patterns more similar to how real copy is formatted on the web today.

  • This is a list item.
  • This is a list item.
  • This is a list item.

No spam, ever.