Skip to content

webnerdnick/Random-Drawing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Random Drawing from weighted entries

This is a simple html/javascript application that takes names and number of entries in a JSON file, and creates a visual representation of a drawing. Initially the application displays the distribution of the entries, and up on clicking "Shuffle", it applies a Fisher-Yates algorithm, then redraws the display to show the randomly shuffled entries. A second button allows for picking 2 random entries from the shuffled entries, again with the Fisher-Yates algorithm.

Test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published