Jump to content
Search Community

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

Posted

HI!

 

I want to convert timeline lite elements with their animations into canvas animation, I mean the whole dom element and its children that contains timeline lite animations.

 

an animation like this one 

 

is there way to do that?

 

I've found some libraries that only take a screen shot of the page but no animations.

See the Pen QboVVV by ihatetomatoes (@ihatetomatoes) on CodePen.

Posted

It would be better to just use canvas from the start. If you're only trying to make a video, you can step through the animation one frame at a time, and take a screen shot, just like this.

http://plnkr.co/edit/oZjPbgo9hvqwUYEV7RLi?p=preview

THANKS!

That's sort of what I wanted but in this example it's processing svg , my object are dom elements.

Can I them process into frames like this?

Posted

Yup. It's the same process, although DOM elements are little bit harder to do than SVG. Have you looked at html2canvas? That's the easiest way I know of to convert DOM elements to canvas.

http://html2canvas.hertzen.com/

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