# Animation on the cloud not working

**URL:** <https://community.wolfram.com/t/animation-on-the-cloud-not-working/18387>\
**Category:** Questions\
**Tags:** graphics-and-visualization, interface-construction, wolfram-cloud\
**Created:** [July 5, 2021, 6:39pm UTC](https://community.wolfram.com/t/animation-on-the-cloud-not-working/18387 "2021-07-05T18:39:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonshock](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@jonshock](https://community.wolfram.com/u/jonshock)\
**Post date:** [July 5, 2021, 6:39pm UTC](https://community.wolfram.com/t/animation-on-the-cloud-not-working/18387/1 "2021-07-05T18:39:56Z")

</div>

I am trying to deploy a very simple animation on the cloud, but it does not show up.

[This is the deployment with the full code](https://www.wolframcloud.com/obj/jon.shock/Published/animationtest)

Does anybody know why this may be?

For context, the Mathematica file that I deployed simply has two lines (exactly as in the link above):

```
sol[t_]=theta[t]/.DSolve[{theta''[t]==-Sin[theta[t]], theta[0]==-1, theta'[0]==0.1}, theta,t][[1]];
Animate[Show[ListPlot[Re[{{Sin[sol[t]],-Cos[sol[t]]}}],PlotStyle->PointSize[0.02],PlotRange->{{-2,2},{-2,2}},AspectRatio->1],Graphics[Line[{{0,0},{Sin[sol[t]],-Cos[sol[t]]}}]]],{t,0,10}]

```

To deploy to the cloud I clicked File: Publish to cloud.

---

<div class="post-metadata">

**Author:** ![ahmed](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/ahmed/32/5858_2.png) [@ahmed](https://community.wolfram.com/u/ahmed)\
**Post date:** [July 6, 2021, 1:32pm UTC](https://community.wolfram.com/t/animation-on-the-cloud-not-working/18387/2 "2021-07-06T13:32:53Z")

</div>

Hi Jonathan,

Use the option SaveDefinitions-\>True in Animate[] as shown here  
[https://www.wolframcloud.com/obj/2a7f3668-8a95-4291-8209-3edaca3b3d51](https://www.wolframcloud.com/obj/2a7f3668-8a95-4291-8209-3edaca3b3d51)

---

<div class="post-metadata">

**Author:** ![jonshock](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@jonshock](https://community.wolfram.com/u/jonshock)\
**Post date:** [July 6, 2021, 1:46pm UTC](https://community.wolfram.com/t/animation-on-the-cloud-not-working/18387/3 "2021-07-06T13:46:59Z")

</div>

Ah, brilliant, thank you enormously!

---

<div class="post-metadata">

**Author:** ![jonshock](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@jonshock](https://community.wolfram.com/u/jonshock)\
**Post date:** [July 30, 2021, 7:40am UTC](https://community.wolfram.com/t/animation-on-the-cloud-not-working/18387/4 "2021-07-30T07:40:59Z")

</div>

Hi Ahmed, I wonder if you might be able to help with a similar problem. I have some manipulate commands at the end of this document: [https://www.wolframcloud.com/obj/jon.shock/MAM1043part4a](https://www.wolframcloud.com/obj/jon.shock/MAM1043part4a) and they are just impossibly slow. In addition the animations are very very jumpy. Any help would be gratefully received!
