Jump to content
Search Community

Animation in canvas

Guest newdevide
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

It's not a server problem.

 

I have no idea why after a certain moment, the browser (Chrome/Safari) decide to load a new image instead of setting replacing the current one by the cached one...

 

Here is the codepen : http://codepen.io/magister/details/sGAym

 

If there is no solution for this I did the DOM replacement way... with .replaceChild()

 

This problem doesn't exist on Firefox.

 

Screen%20Shot%202014-08-01%20at%2010.16.

Link to comment
Share on other sites

Are you seeing this on Chrome/Safari on a Mac or IOS computer?

 

I am on PC - Windows 7 ()64-BIT - Chrome 36

 

When i look at your codepen example in codepen EDITOR mode i see the cancelled requests.

 

But if i look at your codepen example in codepen FULL PAGE mode:

 

See the Pen sGAym by magister (@magister) on CodePen

 

then I do not see the extra HTTP requests.

Link to comment
Share on other sites

Maybe someone else here on the forum can see if they see that same behavior on Mac OSX Chrome.

 

I only saw this behavior in codepen editor mode in Chrome Windows 7. But codepen full mode view does not output or make extra http request like in your photo above.

 

Weird stuff...

 

To me it looks like an issue with codepen's EDIT mode in Chrome on OSX.

 

Do you still see the extra  HTTP requests on your local testing environment or outside of codpen?

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...