Refactor animation example to be more readable