Jump to content
Search Community

Circle Jelly effect

Haisan 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

Hello everyone. I'm learning to mess with GSAP for about 5 days. So I'm sorry if my questions are anything but simple.

 

I want to do something like the jelly animation to the bottom of the planets at the top of this site: https://cuberto.com/.

At first I'm testing in 2 circles. But I've come across a problem that I can not solve. The circle moves laterally and horizontally and when it hits the edges it is cut off.

 

1 - Would I have to create the SVG with a spacing predicting the movement of the circle?

 

2 - To make the jelly effect I noticed that I will have to deal with the value of the paths. Would I have to manually do the value of each path or would I have some more sophisticated way of changing the values of the path of the element?

 

Thank you. I'm sorry for google's english

See the Pen ZMemOR by Haisan (@Haisan) 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...