About
Math + Code + Art is a project by students and faculty at the UCLA Mathematics department. Each tutorial takes a mathematical idea, works through it in Python, and produces something visual or audio as the output โ an animation, a generated image, a line drawing.
The tutorials came out of a collaborative initiative between student mentees and faculty advisors at UCLA, where each project was developed from scratch. Topics range from audio-driven visuals and neural style transfer to single-line drawings produced by solving a travelling salesman problem.
How the tutorials work
Self-contained
Each tutorial is a single Jupyter notebook. They can be read in any order.
Math and code together
The mathematical idea and its implementation are explained side by side. The code follows directly from the math rather than abstracting it away.
On GitHub
All notebooks are in the public Math-Code-Art repository and can be run locally with standard Python packages.