A dice animation for Jquery javascript
let amount = 1;
let diceColor = '#df1515';
$('#my_dice_div_id').diceroll(amount, diceColor);
<div id="dice">
</div>
<script>
// A dark-gray color D4;
let amount = 4;
let diceColor = '#333333';
$('#dice').diceroll(amount, diceColor);
</script>