Is there a way to create "Animations" for devices?

Please start at the beginning. Get to know openHAB concepts and read the docs first before asking for help.
Links in here:
How to ask a good question / Help Us Help You - Tutorials & Examples - openHAB Community