# Performing effects with animation

**URL:** <https://forums.swift.org/t/performing-effects-with-animation/37901>\
**Category:** Swift Composable Architecture\
**Created:** [June 25, 2020, 10:53am UTC](https://forums.swift.org/t/performing-effects-with-animation/37901 "2020-06-25T10:53:09Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mbrandonw](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/mbrandonw/32/349_2.png) [@mbrandonw](https://forums.swift.org/u/mbrandonw)\
**Post date:** [June 25, 2020, 2:22pm UTC](https://forums.swift.org/t/performing-effects-with-animation/37901/2 "2020-06-25T14:22:55Z")

</div>

As long as the animation can be driven off of state I think you can just use the `.animation()` view modifiers. We just updated our animation case study to have the circle change colors on a timer, which is driven off of effects (see [here](https://github.com/pointfreeco/swift-composable-architecture/pull/198)).

Do you have an example of animation that doesn't fall into this simple use case? Could you share a lil demo app to show what you are dealing with?

---

_[View the full topic](https://forums.swift.org/t/performing-effects-with-animation/37901)._
