The 'createAppearingAnimation' function is just for this specific example and only serves as a example. You should only use the examples as a reference how to work with the Wikitude SDK but then impl. your own functions that are more suited for your specific use case.