Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Boyd Rehorst
Boyd Rehorst
4,454 Points

Canvas, How to animate an drawn image

Hi guys,

I'm wondering if anyone has a suggestion or an idea how i can create this "progress bar"

The idea is as following, you load the page and after a few secs the path will be filled with one color as far as the progress is done. Its a kind of loading bar.

http://i.imgur.com/U3CJrUW.png

I'm totally new to canvas.

Best Regards,

Boyd

Consider using Raphael's JS Library ( raphaeljs.com ). It's a library used to help make svg graphics responsive and interactive.