Blog


  • How to Make Animated Math GIFs: LaTeX + TikZ

    How to Make Animated Math GIFs: LaTeX + TikZ

    The first animated GIF that I ever made was made with the LaTeX package TikZ and the command line utility ImageMagick. In this post, I’ll give a quick example of how to make a simple GIF that works by layering…

  • XOR Triangles

    XOR Triangles

    In this post, I’ll explore the math behind one of my Twitter bots, @xorTriangles. This bot was inspired by the MathOverflow question “Number triangle,” asked by user DSM posted in May 2020. (I gave an overview of my Twitter bots…

  • Robot Walks

    Robot Walks

    I’ve gotten a lot of mathematical inspiration from Project Euler questions, but perhaps the question that has gotten me thinking the most is Project Euler Problem 208: Robot Walks. In this problem, a robot takes steps either to the right…