3
votes
1answer
67 views

Usage of algorithm inside animateinline creates unexplainable offset

Update: Using pgfmathsetmacro in combination with an actual function, inside tikzpicture seems to be the issue. Some of the white space can be circumvented by the usage of \relax inside ...
5
votes
2answers
147 views

Animating a plot with pgfplots

I'm creating a beamer presentation and I want to animate a plot with pgfplots. This is a MWE of the graphics: \documentclass{beamer} \usepackage{tikz,pgfplots} \begin{document} \begin{frame} ...
2
votes
1answer
82 views

Simple animation with tikz and gnuplot won't finish compiling

I got the following code: \documentclass[tikz,border=2pt]{standalone} \usepackage{pgfplots} \usetikzlibrary{calc} \usepackage{animate} \usepackage{fp} \newcommand*\tdist[1]{ \begin{tikzpicture} ...
0
votes
2answers
63 views

Missing endgroup in animation

Where is the missing endgroup in the next code ? \documentclass[tikz,margin=5pt]{standalone} \usepackage{calc,animate} \newcommand{\Cercle}[1]{% \begin{tikzpicture}[thick] ...
6
votes
1answer
185 views

Animation: How to move the position of an equation in a continuous manner?

I want to make equations (or words) to continuously move in a page for a beamer talk. A simple example would be we have "A" on the left margin and "B" on the right margin and then "A" moves towards ...
5
votes
1answer
104 views

Why does the Animate package inflate the file size of all of my externalized TikZ pictures?

I am using TikZ externalization to compile the figures in my thesis that use TikZ or PGF Plots. Ever since I included an animation using the animate package, the size of the PDFs of each of my ...
3
votes
1answer
146 views

Keep TikZ arrows on foreground with animategraphics

I am using beamer and I'd like to put an arrow with TikZ on a movie created with \animategraphics. No problem when I am using only one frame, for example: \begin{frame} ...
4
votes
1answer
466 views

Draw Animated line in beamer

I'd like to be able to draw Animated line in beamer in one frame with animation Thanks to @Kevin C for those pictures \documentclass[leqno,mathserif]{beamer} ...
2
votes
0answers
86 views

How to make travel smoothly a tikz picture across a slide?

The beamer frame below shows a tikz circle. I would like the tikz circle to travel smoothly across the frame according to some "random" path. Can you help me with the animateinline environment? ...
1
vote
0answers
77 views

I am trying to animate in two different coordinates using layers. But the animation happens in the same spot

\documentclass{beamer} \usepackage{tikz} \usepackage{animate} \newcommand\layerp{% \begin{tikzpicture} \path (1,.5) (1.5,.75); \end{tikzpicture} } \newcommand\layerq{% \begin{tikzpicture} ...
5
votes
1answer
180 views

Strange behavior with TikZ animation

I was trying to create an animated TaiChi symbol with TikZ and the animate package, and I encountered the following problem: If I don't add a bigger bounding box to the tikzpicture, then some frames ...
3
votes
1answer
137 views

Can use `animate` with `onslide` in Beamer

I saw one example. \documentclass{beamer} \usepackage{animate,tikz} \begin{document} \begin{frame} \begin{center} \begin{animateinline}[autoplay,loop]{1} \multiframe{15}{i=0+1}{% ...
4
votes
1answer
102 views

Problems combining tikz and storebox: Missing number, treated as zero. With animate, page shipped out with text `graphicx`,

When I load both tikz and storebox and compile the following MWE, I get an error message ! Missing number, treated as zero.. When I additionally load animate, I get no error message, but a spurious ...
3
votes
1answer
185 views

Wrong frame size in animation

Consider the following code (more or less this): \documentclass{article} \usepackage{lmodern} \usepackage[ hmargin=2.4cm, vmargin=3cm ]{geometry} \usepackage{tikz} \usetikzlibrary{calc} ...
4
votes
1answer
292 views

Animating perpetual motion with a forward moving line (TikZ/beamer)

I am trying to create an animation that gives a visual notion of a perpetual forward motion in time. What I would like to create is: An arrow starts moving towards the right of the x axis. Below ...
1
vote
1answer
126 views

Usage of final option with package animate

I'm currently animating some inline graphics (TikZ) on a beamer presentation with the animate package, and have come across some weird behavior. Since I still have lots of work to do, I set the ...
2
votes
1answer
213 views

TikZ drawing order when using animate

I've have a problem when I use animations in TikZ images: I like draw a figure over another figure by \path(fig) node[anchor = north, inner sep=0pt,outer sep=5pt] { FIGURE1 } \path(fig) node[anchor ...
23
votes
2answers
1k views

Draw Nuclear Reactor with moving flows

I want to draw a nuclear reactor. In texamples.net there is a template which is pretty much what I would like to do. The code is % Pressurized Water Reactor % Author: Gloria Faccanoni ...
2
votes
1answer
191 views

Rounding a coordinate in TikZ

I'm trying to combine animate's \multiframe command with a TikZ \fill command so that in every fourth frame, the top of my rectangle is moved by one unit: \multiframe{20}{rya=10+-0.25}{ ...
2
votes
2answers
549 views

Rotating around axes with tikz-3dplot

I'm a bit confused by the following code. I would think that the following would produce an animation of rotating 90-degrees around the x-, y-, and z-axes, but the first part of the animation looks ...
2
votes
1answer
173 views

Can't use animations with \input?

I have two different animations, made with TikZ and the animate package, that I want to include in a beamer presentation. When I had the code inside of my presentation's .tex file everything worked ...
6
votes
1answer
527 views

Strange error when combining Beamer, Animate, Tikz and Listings

I'm working on some slides where I show how code is actually executed in Java. Therefore I'm working with the animate package to generate animations. Without going into details, I've written a macro ...
4
votes
1answer
362 views

Documentation for the animate package with TikZ

I'm trying to locate some detailed documentation on the animate package. When I look at examples here and in other places, there is really way too much unknown syntax to figure out. I was hoping ...
9
votes
1answer
333 views

A hitch in my animation and tikz document

There's something strange going on with the animation at 135 degrees. I can't figure out what's going wrong. Here's the MWE: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{calc} ...
2
votes
3answers
1k views

Animate Line / Path using Tikz and 'animate' package

I would like to animate the following path from A to B. \begin{tikzpicture} \draw [->, draw=black!70, line width=2.5] (8,4) -- +(1,0) node (v4) {} -- +(1,-2) -- +(0,-2); \node at (7.5,4) {A}; ...
4
votes
1answer
757 views

How to loop through a list of tikzpicture within animateinline?

I have the following code which uses animateinline and several tikzpicture for it's animation effects: \documentclass{beamer} \usepackage[utf8]{inputenc} \usepackage{tikz} \usepackage{ifthen} ...
34
votes
2answers
977 views

How to make a diagram composed of superimposed layers where the viewer can make each layer visible or invisible independently of the other layers?

This question led to a new package: ocgx (I have edited the question as ocgtools looks like it is the right package to use, rather than animate.) I am trying to use LaTeX with the TikZ package ...
1
vote
1answer
392 views

Adding tikzpicture layers that can be viewed sequentially in the output (Motzkin graphs)

In a Beamer presentation it's possible to add elements to a tikzfigure on a page sequentially so that the viewer doesn't have to take in all of the complexity at once. You cannot use the Beamer ...
4
votes
1answer
472 views

How to animate a path or how to draw starting fraction of a complex but linear path?

I would like to reproduce something similar to Animating Protocols but with a compound path and not a straight one. \documentclass{standalone} \usepackage{tikz} \usepackage{animate} ...
2
votes
2answers
683 views

How to use preview and animate packages together?

I'm used to prepare tikz graphics with preview or standalone packages to crop them. Now I've started to experiment with animations and wanted to do the same. My first test was with Alexander Grahn's ...