Questions tagged [animations]
{animations} is about creating or including animations in (La)TeX documents.
427
questions
5
votes
1
answer
257
views
Viscosity of a fluid (second version)
Starting from this link with this MWE
\documentclass[tikz,border=3mm]{standalone}
\usetikzlibrary{perspective}
\makeatletter
\tikzset{recycle bounding box/.style={%
execute at end picture={%
\...
0
votes
0
answers
11
views
onslide and overprint: manual animation [duplicate]
I am on a mac using Preview, so the gif approach doesn't work for me when animating images in beamer.
Instead, I am using \onslide<> and \includegraphics.
Since I have 10+ images, I was ...
0
votes
2
answers
66
views
How to display (or animate) three figures one by one for certain times, in Tikz/PGF?
In this post, I have learned to plot the following three interesting figures in mathematics (p-adic numers):
\begin{tikzpicture}
\draw[ ] (0,0) circle [radius=3];
\node at (0,2) {0};
...
4
votes
1
answer
96
views
TikZ animations key `end on` is interpreted as `begin on`
PGF/TikZ Manual describes a key called /tikz/animate/options/end on. I understood that it should define a trigger for ending the timeline. However, I haven't been able to make it work. When I try to ...
1
vote
1
answer
57
views
Beamer: How to represent movement of an object along a line?
Need to represent a moving car through a service center in beamer. A motion is depicted on the link How to make the length of a car moving on a roller coaster track remain unchanged?. Need a similar ...
3
votes
2
answers
121
views
Beamer: Revealing cells one by one, striking off a list at the same time
The entries in cells need to appear one by one and at the same time content (entire row) in the reference table no. 1 needs to be struck through.
%\documentclass[aspectratio=169, handout]{beamer}
\...
3
votes
2
answers
223
views
How to "animate" a pgfplot picture to slide in a beamer slide
I have the following beamer slide:
\documentclass[10pt]{beamer}
\usepackage{tikz}
\usepackage{pgfplots}
\begin{document}
\begin{frame}
\begin{figure}[h]
\centering
\begin{tikzpicture}
...
1
vote
1
answer
26
views
Overlay animation with multiple pictures
I'm writing my thesis presentation on beamer. I need to write a frame which, in order
starts with some initial text and a picture
then adds more text
keep the same text, change the picture to a ...
3
votes
3
answers
200
views
animation from Random Polygon to Ellipse
For an animation with TikZ and Asymptote (that I am somehow familiar with), its size is accumulative with the number of steps. I am mimicking animation for From Random Polygon to Ellipse, take a ...
0
votes
0
answers
49
views
Creating GIF using Tikz animations
I am trying to create a GIF using Tikz "animations" library. I want to create snapshots of frames of the GIF as latex PDF and then merge them into a GIF using online tools. Below is my code. ...
0
votes
0
answers
53
views
Save animation from LATEX as a gif [duplicate]
I have an animated PDF as I created an animated figure using:
\begin{animateinline}[controls, autoplay]{12}
\multiframe{65}{i=1+1}{%
\begin{tikzpicture}
#
# Something here
#
\end{axis}
\end{...
3
votes
1
answer
151
views
Tikz: create animation by interpolation of two images
I’d love to generate a small video by creating an interpolation between two tikz figures, for instance to animate between these frames:
I recently discovered the nice animate package that allows the ...
2
votes
1
answer
63
views
Using spy with Beamer animations?
TikZ spy and Beamer \pause, \onslide, ... do not seem to work well together. This has been observed in several previous, albeit older questions (in particular, 1 and 2 ), but the workarounds shown ...
1
vote
1
answer
42
views
Add captions that respect figure numbering to "animated" images in columns in one slide
I need to have captions under images, I'm using the columns environment so I can put images on top of eachother and create an "animation", but by doing that I had to get rid of figures and ...
1
vote
0
answers
82
views
animate package cannot find the png file
I use Ubuntu 22.04 and TeX 3.141592653 (TeX Live 2022).
I want to embed this "GIF" file as animation in output PDF file. I followed this post:
$ convert ./Fourier_series_and_transform.gif -...
4
votes
1
answer
119
views
Animation: How to move a parabola in a continuous manner?
How can I draw a graph of parabola $f(x)=x^2$ and make vertical animation of this.So the graph moves to right and left side.This is my minimal working example.
\documentclass{standalone}
\usepackage{...
0
votes
0
answers
40
views
Animate frame series with hyperlinks
I would like to show 20 (or more) separate frames of an animation and let the user "plays" the frames to create the animation illusion. For each cases I provide a MWE taken from here.
By ...
1
vote
0
answers
21
views
Help me to Combine two Tex into one Tex to Become Multiple Pages PDF that can be Converted to GIF with ImageMagick
I have this piston animation from here:
Improve code for four stroke engine in TikZ
\documentclass[tikz]{standalone}
\usetikzlibrary{shapes}
\tikzset{
relative to node/.style={
shift={(#1....
1
vote
2
answers
133
views
Tikz: Your graphic driver pgfsys-pdftex.def does not support animations
I have a problem with animations in Tikz.
I get the following error message: Package pgf Warning: Your graphic driver pgfsys-pdftex.def does not support animations.
Here is a MWE:
\documentclass[10pt,...
1
vote
1
answer
48
views
Zooming out gradually to fit slide [closed]
I want to zoom out gradually content to fit the slide like in this video (time: 1:11 to 1:15) https://www.coursera.org/learn/robotics-flight/lecture/C7PTa/rotations
How can I do it in beamer ...
3
votes
2
answers
119
views
Help Me to Create Animation from Still Tikz-3D Image with changing value of one variable
I am just learning tikz with still image. This is my first trying to create animation.
I have this code:
\documentclass{article}
\usepackage{tikz}
\usepackage{tikz-3dplot}
\tdplotsetmaincoords{0}{0}
\...
2
votes
1
answer
212
views
How can I play asciinema screen-recording inside Beamer slide?
I was wondering, is it possible to play asciinema.org screen recordings inside LaTeX Beamer frame?
Here is an example link of a screen recording: https://asciinema.org/a/418574. Note that its original ...
0
votes
1
answer
58
views
Animate a Rotation in Beamer animateinline
I wanted to animate some steam engine and got some trouble. I reduced the problem and realised a fundamental problem.
When I try to rotate a simple square with animateinline, the square gets scaled. (...
0
votes
0
answers
145
views
How to add GIF in beamer and view in Pympress
I'm using Pympress 1.5.1, I tried to add a gif file in beamer with two methods
1- Using \movie command
\documentclass[serif,12pt,aspectratio=169,compress,xcolor={dvipsnames}]{beamer}
\mode<...
0
votes
0
answers
57
views
How to Create animation to create torus from circle?
I have created this:
\documentclass[tikz]{standalone}
\begin{document}
\begin{tikzpicture}
% big circle
\draw(2,-1) arc (-90:90:2.5 and 2);% half circle facing left
...
0
votes
0
answers
47
views
animategraphics only produces a still image on overleaf
I'm trying to combine a series of 13 .png files together to create a gif on Overleaf for my dissertation. I have tried a number of things and the best code I can come up with for the actual animation ...
0
votes
0
answers
91
views
Animate a chess line
I would like to animate a line of a chess opening but the only way I found is kinda difficult or repetitive so I would like to write a command that allows me to do so.
Here is an example:
\...
0
votes
0
answers
50
views
Animating all possible rotations of a cube
This cube in the MWE below is only rotating about the x-axis and I would like to show all possible rotations of a cube. I will be really grateful if I can be helped on time.
\documentclass[border=5pt,...
1
vote
1
answer
25
views
Beamer uncovering a table columnwise
I want to uncover a table columnwise in beamer. I am doing the following thing:
\documentclass[10pt]{beamer}
\usepackage{colortbl}
\usepackage{booktabs}
\usepackage{array}
\begin{document}
\begin{...
0
votes
0
answers
74
views
Animating equations using latex
I want to make an animation with equations such that one repeats after other. Say I have, x+y=2 and x-y=1 then I want to make an animation such that I get first
x+y=2 then it vanishes and
x-y=1 ...
1
vote
1
answer
218
views
Tikzplotlib and animation
I have a numerical simulation that I run with a short python code. I would like to know if it's possible to use tikzplotlib to produce a .tex file including the whole simulation (and not just one ...
3
votes
2
answers
477
views
How to create animated figures with TikZ
I'm trying to make an animated picture. In the two pictures below, I want the ball to move inside the semicircle for the first one, and on arc for the pendulum, and alongside the center mass ...
3
votes
1
answer
144
views
How can I show the items in the given code in a beamer presentation in order after each other by clicking?
I am a beginner in beamer. How can I show the items in the beamer in order by clicking after each other?
More precisely, in the given code and picture, I want that first, the items in the red path ...
0
votes
0
answers
46
views
"Fade In" effect for text when they appear after \pause [duplicate]
How can I make a "fade in" effect of text after being paused in Beamer. For example
\documentclass{beamer}
\begin{document}
\begin{frame}
\begin{itemize}
\...
0
votes
0
answers
121
views
Combining BEAMER frames/slides and TIKZ animations
I'm using the method described here to produce a presentation in SVG format. Ideally I would like some frames to contain multiple slides (using <1->,<2->... for example) some of which ...
1
vote
0
answers
207
views
How to insert gif animation in beamer presentation latex? [closed]
I've searched here this question, but the options I found was not useful.
I need to insert gif figure in beamer presentation.
To be more precisely, I need to insert this animation I found in Wikipedia,...
0
votes
0
answers
62
views
Showing "Runaway Argument?" error
\documentclass[25pt]{article}
\usepackage{animate}
\usepackage{tikz}
\usepackage{pgfplots}
\begin{document}
\begin{frame}
\begin{animateinline}[loop, controls]{4}
\newcounter{x}
\setcounter{x}{0}
\...
0
votes
0
answers
198
views
Interactive barplot in latex
How can I implement an interactive bar chart in latex,
specifically in overleaf ? In R I can use the plotly library, and in latex what library can I use and how can I implement it?
If you select the ...
15
votes
1
answer
1k
views
Animate mass-spring-damper TikZ
I've create a TikZ of a mass-spring-damper system that is described by the following ODEs
dx1/dt = x2
dx2/dt = -w0^2*x1 -2*zeta*w0*x2 + u
y = K*w0*x1 + 2*zeta*w0*x2
wherein u is the input and y is ...
3
votes
3
answers
332
views
Multipage PDF and graphicx's \includegraphics
I'm working with multiple animations inside a single Beamer frame, and I wish to include only the last page of a multipage PDF page inside an \only<n>{\includegraphics[opt]{args}}. The problem ...
1
vote
0
answers
53
views
Animation of Logical and Mathematical Proofs [closed]
I have 2 questions regarding animations of mathematical proofs:
I know that one can create a presentation using the Beamer package. I would also like to use animations. Is there an option to present ...
3
votes
1
answer
104
views
Slide for animation with beamer an TikZ
With the commands \pause of beamer and \foreach of tikz together is possible to create slides that work as layers for an animation in video.
For example:
\documentclass{beamer}
\usepackage{pgf,tikz}
\...
3
votes
2
answers
182
views
Avoid recomputing addplot in beamer with animate
Using beamer and animate, is it possible to avoid recomputing some static expensive parts at each step?
MWE:
\documentclass[10pt]{beamer}
\usepackage{pgfplots}
\usepackage{animate}
\begin{document}
\...
0
votes
1
answer
313
views
Animating side-by-side figures in Beamer slide
Supposing there are three images that represent the three steps of a process, it will then be desirable to have them appear sequentially, side-by-side, and also in the same horizontal alignment.
How ...
1
vote
1
answer
156
views
how to put 4 animations next to each other in a presentation?
I am creating a presentation in Latex where I have 2 slides which would contain 4-4 slides in a window-like setup. I found this link: Add four images on a beamer frame and tried to put the animations ...
2
votes
2
answers
150
views
How to animate two moving dots joined by a line in tikzpicture
Can someone explain how to animate (using tikz animation, chapter 26 in pgfmanual 3.1.9a) two small colored dots (small filled circles) moving slowly in different directions (along position ...
2
votes
0
answers
304
views
Including Geogebra with slider in Latex
I made a very simple animation in Geogebra that uses the slider to show the position of the objects at different times, and thought it would be really cool to include this in my Beamer presentation. I ...
2
votes
1
answer
116
views
Making an animation of moving dots between sites
How can I make an animation from this picture with dots moving according to the arrows?
In the picture, there are two lattices. The lattice on the bottom is the result of the top lattice after moving ...
1
vote
1
answer
146
views
Using animate package, with an animation set to loop, is it possible to set the frame that will be physically printed?
I have successfully managed to integrate an animation using several .png files into my pdf. However, I have noticed that when I tried to print the pdf, the frame printed was the one shown at the exact ...
0
votes
1
answer
89
views
Appearing bullet points and parts of tikz drawing at the same time
I struggle to get the following working. I would like to animate a tikz pictue and bullet points at the same time, i.e. the first bullet point appears with the first part of the drawing, then the ...