Random demos in JavaScript.
Here is the demo of Monte Carlo algorithm to find the area using pseudo-π. This page also facilitates the comparison of both areas, the one using π and pseudo-π.
Here is the demo of primality test using Trial Division and Fermat Little Theorem, and a graph comparison of number of steps needed for both.