Skip to content
/ beads Public
forked from desdic/beads

Create pegboards with beads (Like Hama)

License

Notifications You must be signed in to change notification settings

manabuo/beads

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Beads

It started out when my daughter and I was playing with Hama beads (https://www.hama.dk). I wanted to create some better and more funny pegboards. So I created this little program to convert a 24bit image to a pegboard. I have seen a few on the internet but all of them assume that you have all the beads in every color. So I have created a version where you can specify a list of the beads that you and your kid have.

I have added 2 color list of beads that I have found online. Unfortunately Hama does not have en RGB color codes needed to create a complete list.

Requirements

The software is written using Python 2.7.x so of course Python is a requirement (Get it from python.org). The following libraries are also required: Pillow (Fork of PIL) and Colormath

pip install pillow
pip install colormath

Examples

Original image:

alt text

Created using: ./beads.py -i images/donald.jpg -o images/donald_all.jpg

alt text

Created using: ./beads.py -i images/donald.jpg -x 8 -y 8 -o images/donald_all8x8.jpg

alt text

Created using: ./beads.py -i images/donald.jpg -m beads -o images/donald_allbeads.jpg

alt text

Created using: ./beads.py -i images/donald.jpg -b beads/hama.txt -o images/donald_hama.jpg

alt text

Created using: ./beads.py -i images/donald.jpg -b beads/hama.txt -f -o images/donald_hamafast.jpg

alt text

Created using: ./beads.py -i images/donald.jpg -b beads/multiplebeads.txt -f -o images/donald_multifast.jpg

alt text

As a bonus I have added a converted photo of a Lemur using the beads I had available in multiplebeads.txt alt text

TODO

Diplay the number beads for every color needed to create the pegboard

About

Create pegboards with beads (Like Hama)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.1%
  • Shell 2.9%