Questions tagged [animation]

Questions on Mathematica's ability to create "moving pictures" from its graphical output, including exporting these animations to other formats.

Mathematica can not only produce high-quality 2D and 3D graphics and allow the user to manipulate them; it can also automate that manipulation to produce an animation.

Useful links

728 questions
34
votes
4 answers

Is it possible to prerender animation in Wolfram Mathematica?

I have a DensityPlot which is evaluated for a long time. I wish to use it with animation, but it is absolutely inapropriate. Is it possible to render animation first and then run it smoothly?
Suzan Cioc
  • 2,023
  • 1
  • 16
  • 21
16
votes
3 answers

How do I display the parameter value in animate, similar to how it's done in manipulate?

When I use manipulate, there is a 'plus sign' in the top right that, if I click on, shows my parameter value. I used animate, because other posts suggested that it solved other issues I had, but now there is no 'plus sign'. I'm sure I could add…
Joe
  • 457
  • 1
  • 4
  • 10
10
votes
2 answers

Exporting a Mathematica animation as a GIF and and controlling the animation rate and the direction

I am making a Mathematica animation, and exporting it to create a GIF file. However, I cannot seem to control the animation rate (speed) and the animation direction, using the "AnimationRate" and "AnimationDirection" options under the Export…
user6009
  • 151
  • 5
9
votes
2 answers

How do I animate arms on my triple pendulum?

I have three Euler-Lagrange equations which describe the dynamics of a triple pendulum and I have managed to plot the pendulum's pivot points parametically but I cannot figure out how to put arms on the pendulum and make the plot look more…
8
votes
1 answer

Simulation of a Camshaft

This is a new question which I will reuse the codes of a previous question (When to use GeometricTransformation or Rotate) that belongs to me. I am doing this way because these questions have different goals and I am progressing this way. With the…
LCarvalho
  • 9,233
  • 4
  • 40
  • 96
6
votes
1 answer

How can I combine my 3D graphics and animate them?

I'm just a beginner but can someone tell me how I can take my image of an Elf and put it together with a 3d background and I'm trying to animate it snowing but I wanna use a "play" button. Trying to do a short ten second one. Any…
6
votes
1 answer

How can I avoid animations getting "dancy"?

I've done this animated GIF image. The trouble with it is that it gets "dancy" as you can see. For the organization of the items, I'm using the following code: Which can be copied here: TableForm[{ {TableForm[ {{ Style[Length[c], "Title", 16],…
Red Banana
  • 5,329
  • 2
  • 29
  • 47
6
votes
2 answers

How to stop Animate animation when reaching a defined value

I have following code Animate[ Plot[myvariable x,{x,0,100} ], {myvariable,0.1,1},AnimationRunning->If[myvariable==1,False,True] ] How do I make the animation stop automatically when reaching a defined value? NOTE: I tried to make it stop by…
elhombre
  • 367
  • 2
  • 7
5
votes
1 answer

Setting an initial value for ListAnimate?

ListAnimate is fairly similar to Manipulate, but while Manipulate has a simple way to request an initial value for the manipulation parameter, I haven't found a way to tell ListAnimate to start with a certain value. Consider a simple example: …
Steve
  • 1,153
  • 7
  • 17
5
votes
3 answers

Animate does not end (possible bug?)

This test code is working and displays always the same histogram and stops at n=5. nbars = 20; data = Array[0 &, nbars]; Animate[ data = RandomInteger[1, nbars]; BarChart[data], {n, 1, 5, 1}, AnimationRepetitions -> 1 ] The following code in…
lio
  • 2,396
  • 13
  • 26
4
votes
1 answer

What are advantages or disadvantages of Animate versus Animator

I am curious what are advantages/disadvantages of using Animator instead of the Animate? Why and for what purpose the Animator has been introduced? Who knows? To address the question of @Kuba: There is the classical situation of making…
Alexei Boulbitch
  • 39,397
  • 2
  • 47
  • 96
3
votes
1 answer

What is the order of execution of Animate?

I used to think the execution order of Animate is the same as For until I find: Animate[var++,{n,0,10,1}]; the var increases while n not. But Animate[var=n,{n,0,10,1}]; the n keeps increasing. Why would this happen? If I want a expression which…
user18935
  • 31
  • 2
3
votes
2 answers

plotting sequence of points

I am new to Mathematica, and I am trying to plot a sequence of 2D points so that the resulting video shows 1, then 2, then 3, ... points on the screen. Here is a simple minded version of what I am trying to do. It plots the first 3 points of the 20…
3
votes
1 answer

Aligning points in different plots

I am trying to get the red dot track vertically the green point on the graph, but they are different plots. And because of this I am experiencing difficulty. There is a technique best to do this? There is something about Piecewise, but didn't know…
LCarvalho
  • 9,233
  • 4
  • 40
  • 96
3
votes
1 answer

Reevaluation issue in Animate

I have an animation coded like this: plt[t_] := ParametricPlot[{Cos[s] + t, Sin[s] + t (t + 2 Cos[s])}, {s, 0, 2 Pi}]; spp = StreamPlot[{1, 2 x}, {x, -1.2, 2.0}, {y, -1.2, 2.0}, StreamStyle -> {"Line"}]; Animate[Show[plt[u], spp, PlotRange ->…
Pirx
  • 4,139
  • 12
  • 37
1
2 3 4 5