Math Programs

About

These programs were written to demonstrate math concepts in a fun way: fractals, Monte Carlo methods, etc. Some of these are classic examples from textbooks and others were intended for educational purposes.

All of these programs are written in JavaScript and HTML5. Please take a look at the source code, copy it for yourself and make your own edits.

PROGRAM DATE POSTED DESCRIPTION
FRACTREE 05/15/25 Draw fractal trees
LONGDIV 05/15/25 Step-by-step explanation of long division
MULTQUIZ 05/15/25 Multiplication quiz for products up to 9x9
PALINDRO 05/15/25 Find palindrome numbers through repeated addition
PIART 05/15/25 Creating art from the digits of pi
PIDAY 05/15/25 Approximating Pi using Monte Carlo methods
PIDAY2021 05/15/25 Approximating Pi with multiple infinite series
PIDAY2022 05/15/25 Calculating Pi digit by digit with a spigot algorithm
PRIMES 05/15/25 Find prime numbers using the Sieve of Eratosthenes
TRIANGLE 05/15/25 Draw Sierpinski triangle fractals