JohnAODowd / seed-via-cursor

Generate random seed via mouse co-ordinates.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

seed-via-cursor

Generates a random number using a seed obtained from the x and y co-ordinates of the mouse cursor.

In addition to using co-ordinates, epoch time is also used to generate the seed. This ensures that the same co-ordinate will give a different values each time it is visited.

Demo: https://codepen.io/Safely/full/wXgprM

About

Generate random seed via mouse co-ordinates.


Languages

Language:JavaScript 54.5%Language:HTML 25.9%Language:CSS 19.6%