Open
Description
Why this Mod?
As seen in this article
Not everyone will have a but everyone has a picture. If you have a picture, you can approximate it with dominoes
What will the API be?
Very small. Something like:
image = Image.from_file(...)
image.set(width=40)
image.preview()
problem = Problem(image)
domino_placements = problem.make(max_domino_sets = 10)
draw_solution(domino_placements)
It would ideally use matplotlib (for easy conversion of arrays to image) and Pillow (which is also a dependency of matplotlib)
- Riley