Jump to content
Search Community

Different Numbers Explosion

celli test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts



I am trying to achieve an effect where the numbers zero and one are scattered around.

I wanted to see if I could achieve these things with GSAP:


1. There are about 50 instances of the numbers zero and 1

2. Each number starts out from zero opacity, and at a random size (some large and some small)

3. Each number reaches a random opacity up-to 100% and a random size maybe up-to 500%

4. Each number fades out to opacity 0

5. The animation bursts out the numbers from a wide radius, so not just from one center point. Maybe a radius of 200x200 pixels--and they reach about 360x360 pixels when they are fading away

6. The numbers are animating in a staggered fashion, so they all start at slightly different start times to cause a scattered effect.


I created a code pen with circles, but to add two numbers to it , expand the area radius where the particles start from, and making the numbers start out at zero opacity, and then randomly enlarge with random opacity is where I am stuck. I am trying to make the numbers look sort of like this static image: http://www.visualla.com/sandbox/stock.jpg

See the Pen Ietgy by celli (@celli) on CodePen

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...