Jump to content
Search Community

GSAP for Medical Domain Application

akhibam 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 guys, my project is to make an application like game but using GSAP(js) and combined it with Myo Thalmic. Is it possible to use GSAP? This is my sequence :


Splash Screen > Start Page(click button) > Check User Data(determine age) > Display 10 seconds countdown while fetch data > display another 10 seconds countdown > Calculate data(gear animation/loading) > Display checking result to user(save to mysql)

Is it possible? Which function I should use mainly? Timeline?

Link to comment
Share on other sites

I'm doubtful that it makes sense to incorporate all the application logic and data submission / retrieval tasks into a timeline.

 

My advice is to get all the application logic built without any animation.

After your app functions, then identify and build each animation separately.

Trigger the animations using callbacks or events in your app.

 

If you have questions about the animation aspects, let us know. Its best to provide a small demo with some basic assets in order to get the best help.

http://greensock.com/forums/topic/9002-read-this-first-how-to-create-a-codepen-demo/

  • Like 1
Link to comment
Share on other sites

I'm doubtful that it makes sense to incorporate all the application logic and data submission / retrieval tasks into a timeline.

 

My advice is to get all the application logic built without any animation.

After your app functions, then identify and build each animation separately.

Trigger the animations using callbacks or events in your app.

 

If you have questions about the animation aspects, let us know. Its best to provide a small demo with some basic assets in order to get the best help.

http://greensock.com/forums/topic/9002-read-this-first-how-to-create-a-codepen-demo/

 

Tq for your response, I think its possible if we call run an animation according to jquery coding. 10s in jquery can be sync with 10s of animation delay right.

Link to comment
Share on other sites

Everything in GSAP runs off a central ticker (or heartbeat).

if you need perfect synchronization between animations, timers or delayed function calls you should use GSAP for everything.

 

In this simple example a single tween, timeline and delayedCall all have the same duration and will absolutely, positively, always complete in perfect unison.

 

http://codepen.io/GreenSock/pen/QwXLyE?editors=001

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