Histograms Rolling Two Dice - Low Number of Rolls

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.
  • sketch124261
  • v1.6.6
  • v1.4.8
Processingjs is deprecated. Learn more
Select mode or a template
Centers sketch and matches the background color.
This will be the default layout for your sketches
Easy on the eyes
It will show up when there is an error or print() in code
Disabled: Only available on p5js sketches.
Closes parenthesis-like characters automatically as you type

Controls
Play
Ctrl+Enter
Code
Ctrl+Shift+Enter
Save
Ctrl+S
Interface
Fullscreen
Ctrl+Alt+F
Switch Layout
Ctrl+Alt+L
Settings
Ctrl+Alt+.
Editor
Tidy Code
Ctrl+B
Multiple Cursors
Ctrl+Click
Duplicate Line/Selection
Ctrl+Shift+D
Move Line
Alt+↑/↓
Select Multiple
Ctrl+D
Find in Code
Ctrl+F
Find Next
Ctrl+G
Find Previous
Ctrl+Shift+G

See More Shortcuts

Join Plus+ for private sketches, version history, 1GB space, custom embeds, and more!