Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
nbashiri95

convert time line lite to canvas animation

Recommended Posts

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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/

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