Jump to content
Search Community

Physics2DPlugin

PlacidoPossam 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

Hi, Greenies!

 

I'm trying to use Physics2D to do a Sideral Space effect, with this wonderful plugin as stars (small round bubbles).

 

But I don't even know how to get started on using the Plugin.  

 

Do I have to define a CSS bubble?

 

Could I do it from starting at the center of the banner to outside? (300x250.)

 

Help me!  :-o

 

 

P.S.: Sorry for the bad English, i`m from Brazil.

 

Link to comment
Share on other sites

Hi PlacidoPossam :)

 

Welcome to the forum and thanks for joining Club GreenSock.

 

Please take a look at this GreenSock demo using the Physics plugin.

 

See the Pen emjgxw by GreenSock (@GreenSock) on CodePen

 

I think you can fork that to help you get started. The docs are also here:

 

https://greensock.com/docs/#/HTML5/GSAP/Plugins/Physics2DPlugin/

 

Happy tweening and welcome aboard.

:)

  • Like 4
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...