Using dice to create images with python


The artist Steven Paul used 20,000 dice to make an image of a Native American icon. Heres the link. I knew this could be done with code and found many examples online of people doing this. One particular Medium post where Nathan Sheppard converted an image into dice with python seemed very simple and I decided to build on top of his code. I added the ability to see how an image would look like with a given amount of dice. Also, I wanted to add the ability to add different colored dice and make it really easy to change these settings.

You can see this project here.