Questions tagged [animation]

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

Filter by
Sorted by
Tagged with
2
votes
2answers
68 views

Track a moving peak on a periodic ListAnimate plot

I have a ListAnimate plot and I want to track the position of the peak as it moves. Is there any way to do this which takes into account the fact that the peak of the wave moves past the window of ...
2
votes
1answer
76 views

Animation of an oscillating ball

I need to represent the oscillation of a ball within a well. The well is represented by y=x^2 on [-1,1] and the position of the ball is x=Sin[t]. How can I overlay the animation on a static graph? ...
0
votes
0answers
38 views

Why won't my PlotRange change?

I'm trying to expand the x-axis, but it won't change: ...
0
votes
0answers
43 views

Problem with animation

I am trying to animate an elastic collision and i don't how to code to describe the motion after the impact. Here's a piece of code: ...
0
votes
0answers
71 views

Elastic Collision Animation

So I am trying to animate an elastic collision, but I have a problem with the ruler when using Manipulatefunction: ...
0
votes
0answers
25 views

Improvement of a method to plot values of a section of a line that moves with time

I have this code which animates a layer of fluid moving on the outside of an ellipse with a moving black point on the cylinder surface itself. I want to plot a line from the origin to the outer layer ...
1
vote
1answer
63 views

How to make an animation of a body when I know its coordinates in time as a table [closed]

I'm trying to numerically solve a system of differential equations describing two pendula connected to each other by a spring, and then make an animation of their evolution in time. What I have now, ...
4
votes
1answer
58 views

Manipulate control with trackingfunction under autorun

I'm writing a demonstration that has complicated inter-dependencies among controls that can be time-consuming to evaluate. It's working well, except that it breaks when I try to use autorun. I think ...
12
votes
6answers
1k views

How to plot a bicycle with square wheels

I want to draw a bicycle with square wheels similar to this picture, but I can't plot the trajectory along the curve. enter link description here ...
5
votes
2answers
103 views

Multiple animations in the same Notebook cause lag

I am using Mathematica to simulate a simple pendulum. I used the Animate command to create an animation of the pendulum, which runs smootly. But when i run any other Manipulate, Animate or ListAnimate ...
16
votes
2answers
1k views

How to write a drag-n-drop reorderable gui?

Most modern GUI building libraries (e.g. cocoa) support this basic operation in tables or lists: reordering items with a mouse. For example, the drag-and-drop of items in a MacOS finder or app window: ...
2
votes
0answers
38 views

Exporting Manipulate objects as .mov without UI controls [duplicate]

For a video project I am using Mathematica to create graphic mathematical visuals. However, I can't quite find the necessary setting in order to get a good looking image. I am using ...
0
votes
1answer
133 views

How to create an animation of charged particles' motion in an electric field

I am trying to create an animation of 3 particles' motion in an electric field. The electric field is created by a needle attached to a top plate both of which are at -3800V with a grounded plate ...
4
votes
1answer
480 views

Merging two 2D wave animations into one 3D animation?

I have an electric field, Elec[d_, w_, q_, r_, t_] = -((q accel)/(4 \[Pi] Subscript[\[Epsilon], 0] r c^2)) Subscript[\[Epsilon], 0] := 8.85*10^-12 c := 3*10^8 ...
1
vote
0answers
51 views

Having issues trying to animate an electric and magnetic field of a moving point charge [duplicate]

I'm currently trying to plot an electric and magnetic field using Mathematica, but I'm quite new to the program and I've run into a wall. I start out with a moving point charge, and this is what I've ...
1
vote
2answers
106 views

Plotting the electric field from a moving charge in 3D

I want to show a 3D electric field changing with time in response to the path of a moving charged particle. I have an animation of a particle traveling along a helical path using the parametrization ...
4
votes
2answers
452 views

How to draw a phasor animation with Mathematica?

There is a nice animation on the Phasor Wikipedia page: I wonder if (and how) one could draw such animation with Mathematica? I'm not necessary interested in the code required to draw the exact same ...
3
votes
1answer
124 views

Trying to understand Electromagnetism using mathematica

I was wondering if there was a possible way to animate electric and magnetic field lines using Mathematica? I'm currently doing a physics major and taking an upper level electromagnetism course. I'm ...
0
votes
0answers
41 views

Importing text file to plot animation in 1D

I have .txt file with data that I want import into mathematica and then create a 1D animation/simulation of 3 curves. The format of the ...
-1
votes
1answer
83 views

Plot of falling body [closed]

I'm new into Mathematica and I need to help with animated plot of falling body: Including mass of the body and the force of air resistance $F = -k*v(t)$, slowing down the body with positive contant k,...
0
votes
0answers
20 views

Export Graphics3D Object as .fbx file with animation

Suppose I have a Graphics3D object named objanim that is a function of some variable t. I can export this animation to a ...
0
votes
0answers
41 views

Extracting plot from notebook

I'm trying to save animations in this notebook as a gif, but when I try to save them or create a new notebook it saves a blank image. How can I extract the code which creates these animations?
7
votes
1answer
357 views

Speed up animation

For a project I need to make a little animation showing what happens when you put two hexagonal lattices on top of each other and rotate one of them(Moiré pattern), and my advisor sugested using ...
1
vote
1answer
86 views

Export Mathematica Animation With Retina

Right now I have: ...
1
vote
2answers
88 views
0
votes
0answers
31 views

Output of function not showing

First up: Yes I'm a beginner with Mathematica although I have plenty of experience with other languages. Currently I'm trying to define a function, that when run animates a pendulum. When I try to ...
2
votes
1answer
124 views

Extract values of a ListAnimate plot that are moving at a fixed rate

I have this code which animates a layer of fluid moving on the outside of an ellipse with a moving black point on the cylinder surface itself. Is there a way to find the value of the blue outer line ...
0
votes
0answers
75 views

wave 3d animation

How to animate a 3D wave propagation similar to that in the following video ? enter link description here
1
vote
2answers
93 views

Animate Graphics3D plotting with color gradient

This is a bit of a two part question about optimizing some 3D plotting - it's pretty straightforward but after a while struggling with it I haven't made much headway. Assume some list of 3D points, i....
0
votes
1answer
72 views

Two animations on the same ListAnimate plot

I have a code that produces two lists to be animated using ListAnimate and I want to have these two animations taking place on the same plot but I can't see a clear way to do this and was wondering if ...
4
votes
2answers
195 views

Plotting moving dot in 2D graph

Hi I have a question on how can I create a moving dot that moves across my x-y graph? I have tried using this following method, but it didn't seem to be working. Appreciate some guidance in this ...
0
votes
1answer
53 views

Animating roots of complex numbers

I have a list with complex numbers and I want to animate them. How can i do this? I would like to have appearing lines between points. I hope you know what I mean. Here is my code: ...
7
votes
1answer
89 views

Detect sub figures and split (automatically?)

I would like to take a large figure showing a sequence of individual plots and automatically split the into series of images showing the individual sub-plots (to be exported as animated GIF later). ...
5
votes
1answer
43 views

How to extend the DefaultDuration of Manipulate[] when it has Bookmarks?

How to extend the DefaultDuration of Manipulate[x,{x,0,1},Bookmarks->{"beginning":>(x=0),"end":>(x=1)}] to 20 ...
0
votes
1answer
44 views

Animation in 2D graph

Hi I have a question on how can I create an animated 2 points (dot) that move across the n number of the data point, as shown in my 2D graph? ...
3
votes
1answer
52 views

How to build a movie of a chart in which Tooltip is used to display the labels associated with the points on the chart

I first need to build the following chart to explain what I'm trying to accomplish: ...
0
votes
0answers
143 views

How to animate this fluid flow over airfoil?

I found this website very interesting "http://bugman123.com/FluidMotion/index.html" here he provided various animations of fluid flow and some codes are given in Mathematica. I found this animation of ...
9
votes
1answer
212 views

Making a animation of multiple 3D objects rotating

I know that there is a similar question of taking an animation of 3D object, however since I'm not good at Mathematica nor English, I couldn't figure out how to make animation of multiple objects ...
2
votes
0answers
33 views

Animate: surprise over discrete lists

Consider Animate[xs, {xs, {0, 1, 2}}]. By my reading of the documentation, ...
1
vote
1answer
82 views

How to get ListAnimate to click at each step?

It would be nice if, at each step in ListAnimate, there could be a clicking sound to draw attention to the new step. I hope to use the single click sound sample ...
1
vote
2answers
37 views

How can I hide the controllers in ListAnimate?

Consider the following expression: ListAnimate[{1, 2, 3}, Paneled -> False] which produces: I can hide the panels with ...
8
votes
5answers
451 views

Rotating squares animation

Reference link: https://www.geogebra.org/m/RHYH3UQ8 , https://www.geogebra.org/m/xkzsqcyx , https://www.netpad.net.cn/svg.html#posts/55789 I want to generate an rotating squares animation like this, ...
5
votes
2answers
239 views

How to animate a function plot

How can I plot a function e.g. f[x_] := Sin[x], point by point (animation).
6
votes
2answers
136 views

Create an animation to pause at the specified location

How can I pause play at the specified location when export a gif file or using Animate? I want it to run automatically, no need to interact with the mouse. Here is an example: ...
9
votes
2answers
435 views

Animate flow lines of time-dependent 3D dynamical system

I've spent a bunch of time perusing Stack Exchange to try to find an answer and found nothing; hopefully this isn't a duplicate. I have a time-dependent vector field $\Phi_t(x,y,z)=(x\lambda^t,y\...
1
vote
3answers
88 views

Making a Square Animation [closed]

Can I use mathematica to show an animation of A 2x2 square ..with its lower left quadrant colored ..then with all of the square colored ?
2
votes
2answers
136 views

Animating the result of numerical integration

I've animated a dynamics as follows in Python. However, I'd like to have the same in Mathematica (whose graphics output, in my view, is fancier than Matplotlib). ...
1
vote
1answer
145 views

How to animate a cube with images on their faces?

From this code, how could I animate (speed given by the user) this cube at random so that each face shows me a different image. EDIT(The idea is that the cube rotates at random and shows different ...
3
votes
1answer
57 views

Manipulate too slow for rigid transformation of 3D object

I am trying to write a code that moves a cylinder inside another (a prismatic joint). Manipulate is very slow and I suspect that this is because the position of the movable part is being computed and ...
1
vote
0answers
37 views

Edit a code to become with combined animations

So in the following code, I would like to make the following animation. First: "t1" the blue line in the bottom together with "x,y,z" the blue lines in the top. So when "t1" finishes "z" finishes. ...

1 2 3 4 5 11