Basement Jaxx album cover with CSS and Prime Numbers


I was doing a doodle of the Basement Jaxx Singles album in HTML / CSS and wanted to create an infinitely ( or close to infinitely ) varied background using linear-gradients and prime numbers.

Here's how I did it.


The Cicada Principle and Why It Matters to Web Designers:

List of primes:

Prime Repetition Calculation:

Basement Jaxx Pen:

Variation 1:

Variation 2:

Variation 3:

Variation 4:

Variation 5: