Forum

Multiple Canvas Elements / Multiple Animations

17 January 2017 05:34
Hello Blend4Web Community,

I am trying to create a page with two canvas elements that each play one of multiple animations I've created in Blender. I am wondering how best to go about this.

Do I create multiple canvas elements in my index file and then load multiple apps, specifying each canvas element in the respective app? This I tried and it seems not to work.

Alternatively, within one app, can I designate multiple animations, assigning each animation to a different canvas element?

My thanks in advance for any assistance!
18 January 2017 11:08
Hello.

Do I create multiple canvas elements in my index file and then load multiple apps, specifying each canvas element in the respective app?

Yes, I think so

Here is an example. It was created using 16.12 SDK version, just import it to your Project Manager

Feel free to ask about it
18 January 2017 19:06
Thank you, Roman! This is exactly what I was looking for. I may have more questions as time goes by, but for now this optimally suits my purposes.

You and your team are fantastic! Keep up the wonderful work.
 
Please register or log in to leave a reply.