70 votes

How to make this beautiful animation

Edit: Added the reversal and some refinements ...
Quantum_Oli's user avatar
  • 7,839
68 votes
Accepted

How to make this beautiful animation

I'd like to expand on Quantum_Oli's answer to give an intuitive explanation for what's happening, because there's a neat geometric interpretation. At one point in the animation it looks like there is ...
C. E.'s user avatar
  • 69.8k
44 votes

Face Morphing with Mathematica

MMA version: 12.0 I'll use the following images, found on the internet under open licence (if you know how to share the images themselves, please let me know). I originally had chosen two more but ...
anderstood's user avatar
  • 14.1k
39 votes
Accepted

Animating wave motion in water

...
Kuba's user avatar
  • 136k
30 votes
Accepted

How can I better mimic the graphics at earth.nullschool.net?

I think you might be better off creating Graphics directly instead of using the StreamPlot style options. In this example I use ...
Simon Woods's user avatar
  • 84.4k
29 votes
Accepted

How to plot a bicycle with square wheels

This question is too interesting to resist, so I'll talk about how to analyze the problem. Take a look at sketch above. It describes an arbitrary moment during the rolling. From the kinematics view, $...
Silvia's user avatar
  • 27.3k
28 votes
Accepted

Bouncy Bubbles animation

This is my port of the Processing code that you referenced. It doesn't try to optimize, so I didn't try it either, for example I didn't use Nearest to find ...
C. E.'s user avatar
  • 69.8k
27 votes
Accepted

Create GIF looping animation

As partly mentioned in this: Add delay to the final frame of a GIF? we can use "AnimationRepetitions" -> ∞ to loop a GIF indefinitely: ...
Ali Hashmi's user avatar
  • 8,860
26 votes
Accepted

How to make this Möbius Torus animation?

Update: I have managed to fix the distortion of the polygons, so now only the glow is missing Update 2: I have added a hacky "glow" to the polygons by adding partially transparent polygons ...
Lukas Lang's user avatar
  • 33.4k
25 votes

Bouncy Bubbles animation

data generates n balls, here: 10 Note that it might be wise to make the box larger, if ...
Feyre's user avatar
  • 8,547
23 votes
Accepted

Obtaining a 3D animation as a drop in a liquid surface

Thanks to J.M. ...
Kuba's user avatar
  • 136k
23 votes

What has changed in Mathematica since version 2 so that Do no longer can be used to make animations?

There was a major overhaul of graphics in 2007 for V6, one aspect of which was that Mathematica switched from displaying graphics as a side-effect, to rendering directly in the notebook. Since ...
Brett Champion's user avatar
23 votes
Accepted

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

Here is a very crude first implementation (code at the bottom): (note that the updated version is called as `dragDropList[Dynamic@l) Some notes: The black box serves both as insertion marker and as ...
Lukas Lang's user avatar
  • 33.4k
21 votes
Accepted

Animate a circle "rolling" along a complicated 3D curve

EDIT As OP wishes (and as Rahul correctly points out) my original answer puts unit circle in TB plane (my error as labels suggest) and what is desired is TN plane. ...
ubpdqn's user avatar
  • 58.3k
21 votes
Accepted

Transform sphere into a cube

Slow, but it works: ...
Niki Estner's user avatar
  • 35.9k
20 votes
Accepted

How to add a fading trail effect in Animate?

ColorFunction and Epilog were around in version 7. However, ColorFunction did get an update ...
Edmund's user avatar
  • 41.5k
20 votes

Pulsed NMR animation

Here is a simple modification of the original code in the question that seems to do what's desired: ...
Jens's user avatar
  • 96.6k
20 votes
Accepted

For a better animation of the solution from NDSolve

To prevent shaking, try to add ImagePadding and for the other issue, you can fix the vertical plot range. ...
Nasser's user avatar
  • 135k
19 votes
Accepted

Dynamic Epicycles

Here is a slight modernization of old code by Stan Wagon for generating epicycles, based on this paper by Frank Farris: ...
J. M.'s lack of A.I.'s user avatar
19 votes
Accepted

Generate random walk on a graph

...
rhermans's user avatar
  • 35.8k
19 votes

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

I once approached this. I never finished it so let me know if you face any issues: ResourceFunction["GitHubInstall"]["kubapod", "mgui"] << MGUI` And here ...
Kuba's user avatar
  • 136k
18 votes

Pulsed NMR animation

Below is an animation that tips a proton precessing in the presence of a static B0 magnetic field from the z direction into the x-y plane with a 90 degree ...
Jack LaVigne's user avatar
  • 14.4k
18 votes

How can I better mimic the graphics at earth.nullschool.net?

I would like provide an alternative answer using the method of Simon Woods to extract the contour lines. However, in contrast to his approach I prefer to have them as long as possible. This is ...
yarchik's user avatar
  • 17.5k
18 votes
Accepted

Ball Bouncing on Hilly Terrain

There are two problems with the original post, both can be solved by referring to the documentation for handling discontinuity events: 1) As described under Changing State Variables section, the ...
Stitch's user avatar
  • 4,195
18 votes
Accepted

Animate Koch curve generation and include a transition effect

Isn't the fastest but there is not much to see for higher iterations anyway. Let me know if anything is unclear. ...
Kuba's user avatar
  • 136k
17 votes
Accepted

How to make a Cahn–Hilliard model GIF

I am delighted by this problem mostly because I was not aware of the underlying physical model of phase separation (the Cahn–Hilliard equation)! Anyway, here is an approximation of a somewhat similar ...
MarcoB's user avatar
  • 65.3k
17 votes
Accepted

Animate the line integral over a scalar field

Here is one way: ...
Coolwater's user avatar
  • 19.9k
17 votes
Accepted

Animating a Potential Function (eigenfunctions of Laplace's equation)

The fix is to move Animate outside of LocatorPane, but let's go couple of steps further: I turned Eigenvalues procedure into a ...
Kuba's user avatar
  • 136k
17 votes

Transform sphere into a cube

...
Kuba's user avatar
  • 136k
17 votes
Accepted

Simplifying code that displays a square rolling inside a circle

EDIT 1. Fixed kernel crashing. The problem was WhenEvent choking, because it was continually checking whether the current pivot (which lies exactly on the bounding ...
yawnoc's user avatar
  • 1,225

Only top scored, non community-wiki answers of a minimum length are eligible