Animation generation. WIP.