72 votes

How to make this beautiful animation

Edit: Added the reversal and some refinements ...
Quantum_Oli's user avatar
  • 7,904
70 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
  • 70.4k
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.3k
39 votes
Accepted

Animating wave motion in water

...
Kuba's user avatar
  • 137k
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.8k
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.5k
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
  • 70.4k
28 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,940
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.6k
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,577
24 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

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

Thanks to J.M. ...
Kuba's user avatar
  • 137k
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.6k
23 votes

Make a "formula-millipede" move along arbitrary path

Change zR to add a wiggle, choose a path g, and add a transform function f: ...
martin's user avatar
  • 8,658
23 votes
Accepted

Make a "formula-millipede" move along arbitrary path

The segments of the "millipede" is segments=60. We using ArcLength since the length of ...
cvgmt's user avatar
  • 68.9k
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
  • 60k
21 votes
Accepted

Transform sphere into a cube

Slow, but it works: ...
Niki Estner's user avatar
  • 36.1k
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
  • 42k
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
  • 97.1k
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
  • 142k
20 votes
Accepted

Generate random walk on a graph

...
rhermans's user avatar
  • 36.3k
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
  • 137k
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
  • 18k
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,205
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
  • 137k
18 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,235
18 votes
Accepted

Efficiently Mowing Grass with Mathematica

This is just starting ideas for arbitrary regions. Perhaps you can improve it. Version 1 Define concave region with holes, which can be generalizable to arbitrary complexity: ...
Vitaliy Kaurov's user avatar
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
  • 66.6k
17 votes
Accepted

Animate the line integral over a scalar field

Here is one way: ...
Coolwater's user avatar
  • 20.1k

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