Every once in a while, I'll see a retweet of this image explaining the discrete Fourier transform (DFT) by Stuart Riffle:
While a complete theoretical understanding this equation requires the some prerequisite knowledge to precisely decompose, it's visually apparent to observe how coloring the components might help form an intuitive understanding of the math.
Over the years I've kept a list of interactive pieces that remix this approach towards sharing mathmetical insight, making use of D3.js or P5.js to deconstruct concepts in a literate programming style: a mixture of code, visualization, and natural-language explanation.
In particular, this hybrid interative + literate model separates the technique from other resources where programmers share vignettes of solutions (like bl.ocks or Shadertoy). The interactivity of the sketches adds a dimension of learnability that speaks to people who like to approach new concepts with an abundance of variable-tweaking and knob-fiddling. Often, research papers fail to describe terms and units used in nicely formatted LaTeX papers, so I find the resources below doublely useful as a reminder on how to transfer technical information in the absence of of a concrete reference like source code.
What follows are some of my favorite visual math explorations, many of which are relevant to beginners in 3D graphics or game engine development.
A variety of helpful 2D visualizations of common linear algebra concepts like projection, the dot product, and cross product.
A Primer on Bézier Curves
Universal fixtures in any 2D or 3D engine, splines are commonly employed for camera animation, object trajectory planning, and more. This covers the mathematical basis of Bézier splines and useful comparisons with other spline representations (like Catmull-Rom & B-Splines)
A short but concise article on the foundations of common curves found in animation toolkits.
Seeing Circles, Sines, and Signals
A particularly accessible introduction to digital signal processing. This covers everything from sampling theory to higher-level concepts like the Fast Fourier Transform.
Hexagonal Grids and Introduction to A* Pathfinding
RedBlobGames (aka Amit Patel) has an impressive collection of interactive posts spanning years of work, however two in particular — on hexagonal grids and A* pathfinding — are essential learning material on these topics.
Interactive Guide to Homogeneous Coordinates
No article on projective geometry would be complete without a discussion of homogeneous coordinates. Assuming a moderate familiarity with linear algebra, this short guide elucidates on matrix transforms using homogeneous coordinate systems.
Isosurfaces are found in many corners of graphics and computer vision. This is a short visual tutorial implementing a minimal 2D version of an isosurface: cute blobby shapes called metaballs.
How to Fold a Julia Fractal
Steve Wittens (aka Acko) has numerous interactive, exploratory posts using his custom WebGL Mathbox framework. Steve's post on Julia fractals is particularly excellent. (Thanks @meshula for this link).
Math As Code
Honorary mention to Matt Deslaurier's guide on mathematical symbols as implemented in code. While I enjoy the trend towards releasing source code alongside a paper, one of the best ways to learn any topic is to implement a paper from scratch. For newcomers to the field, pages of esoteric symbols are intimidating.
As a final thought, it would be interesting to see a common web platform for sharing these kinds of visual/interactive explanations. The machine learning community leans heavily on Jupyter notebooks. An ideal combination might be some remix of features across Codepen, Jupyter, and Shadertoy.
All images copyright their respective owners.