This code will produce two histograms based on NUMBER_OF_ROLLS "dice" rolls. The rolls are actually pseudo-random numbers produced by Processing's random() function.
If the NUMBER_OF_DICE is greater than one, dice will be "rolled" in groups of that number NUMBER_OF_ROLLS times.
Every second the histograms are cleared and regenerated.
This is free and unencumbered software released into the public domain. See: http://unlicense.org for license details.