Replies: 1 comment 2 replies
-
Hi! That's a broad question that could be hard to explain in a single comment. It depends on what you mean by integration. You could create an iframe to embed the whole FlagWaver app onto a web page as-is. The flag image source, background image source, and some other options can be passed in via URL parameters. If you are wanting something more custom and are comfortable working with JavaScript, you could create your own canvas element and initialize your own instance. Everything related to physics and 3d rendering is contained within this app object, and objects like flags and wind effects are registered to this app object. Here is the one that is used for FlagWaver: https://github.com/krikienoid/flagwaver/blob/master/src/assets/js/app/globals/initApp.js |
Beta Was this translation helpful? Give feedback.
-
What a fantastic web app. I have played around with cloth modeling in Povray for a long time ego, so I understand the complexity. But...is there somewhere a instruction with an example how to integrate flagwaver in my private website? What files do I have to put on the webpage, is there a init file to select options and a link to the flag image?
Thanks and regards...
Wijnand
Beta Was this translation helpful? Give feedback.
All reactions