I'd like to make some animations for a presentation showing math function-like substitutions. For example, given

f(x) = x + x



the animation would show starting with both, then 2 being substituted for x in x + x, and the result of that replacing f(2), with the various items sliding around the screen so you can see the substitution happening visually.

What I really need is to show substitution for lambda calculus expressions, like (\x.x) (\x.x), which is very similar, so if there's software tailored for that, even better.

  • 1
    This depends on the presentation software (e.g. PowerPoint, LaTeX Beamer/PDF) you will be using. Second question: Do you need a real animation or is simply appearing/disappearing of the objects sufficient?
    – ComFreek
    Commented Aug 6, 2015 at 6:16
  • I'm interested in any solution. I can use whatever it takes. I need a real animation, although I imagine stuff might disappear in the animation after substitution.
    – sleepytea
    Commented Aug 7, 2015 at 6:47

1 Answer 1


Processing.js and MathJax?


enter image description here

Though to be honest, once your expressions have been converted to SVG (like MathJax does here) you could save it (or even screen-grab, trim and save as an image). Then you'd probably get a much better software recommendation for how do I create an animation from such files.

  • Thanks, it's a good start, although more heavy lifting than I was hoping.
    – sleepytea
    Commented Sep 3, 2015 at 18:02
  • @indil yeah, that turned out more involved than I was hoping too
    – Antony
    Commented Sep 8, 2015 at 14:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.