stormvogel.examples.die

Functions

create_die_dtmc()

generate_dice_image(→ PIL.Image.Image)

Generates a 128x128 PIL image with a question mark for 0

Module Contents

stormvogel.examples.die.create_die_dtmc()
stormvogel.examples.die.generate_dice_image(number: int) PIL.Image.Image

Generates a 128x128 PIL image with a question mark for 0 or a dice face (1-6) with the corresponding number of dots.