Possible seizure warning if the script runs fast enough (Hint: Turbo Mode!). Also, the unintentional (but still cool) optical illusions may disorientate some people. Press any key to generate another roll. Pressing space will change the mode between Fast and Fancy. Pressing the green flag again will let you to change the number of dice. Pressing the "Stats" button will hide/show the stats.
Made for a programming class at school. Feel free to look inside, I've set up some comments to help you make sense of things. 12/6/15: Added multiple numbers of dice! 12/7/15: Changed background, added optional Stats and Fancy mode 12/8/15: Added 3D! 12/9/15: Added hole dots on dice faces