A JavaScript that shows the sieve of Eratosthenes.
Marks the primes in green and the composites in red.
The larger the smallest composite, the brighter the red.
The brightness of the primes also increases when the primes get bigger.
By default the first 43 numbers are checked, to check higher or lower numbers, for example 1000, add ?1000 to the URL.