PrimeTime

The Power of Primes

About PrimeTime

PrimeTime is a simple animation framework

PrimeTime uses The Power of Primes

PrimeTime defines prime intervals for animation

Primes rarely overlap

This helps animation feel alive

PrimeTime Pages

We can use PrimeTime in any webpage

Just link to the stylesheet

<link rel='stylesheet' href='https://PrimeTime.PoshWeb.org/PrimeTime.css' />

PrimeTime Demos

The PrimeTime logo animates eight primes:

7 * 11 * 13 * 17 * 19 * 23 * 29 * 31

The logo will repeat every 6685349671 seconds, or almost 212 years.

The PrimeTime page background uses 56 primes.

This background will repeat every 8.84753141993573E+116 seconds.

That's exponential notation.

This is a mind-boggling large number (so large it overflows the .NET [TimeSpan]).

Turn that interval into years and it's still mind-boggling.

The Background Will Repeat every 100 Billion Years

Installing and Importing

You can install PrimeTime from the PowerShell gallery

Install-Module PrimeTime -Scope CurrentUser -Force

Once installed, you can import the module with:

Import-Module PrimeTime -PassThru

You can also clone the repo and import the module locally:

git clone https://github.com/PoshWeb/PrimeTime
cd ./PrimeTime
Import-Module ./ -PassThru

Demo

The remainder of this page is a demo

These are the first 64 primes

Watch how rarely they overlap

This will repeat roughly every 100 trillion years