A data-driven way
Almost 3 years in the past, my spouse requested me to brighten a wall of my child’s bed room. So after looking out a bunch of websites, we decided on a vinyl piece composed of 117 “unperfect” circles of four colours.
Immediately, my head idea at the following query:
How to distribute them on a wall of 290cmx210cm? That’s simple…. Using R 😎
Extracting the correct colours
Beforehand, I had to get the HEX codes from the symbol.
My first try was once to make use of this website for that:
However, I used to be no longer pleased with that answer. So I attempted to routinely clutch the colours from the picture. 🚀
Firstly, I plotted the unique image.
Then, I cropped the picture maintaining most effective the highest left nook in an effort to extract the hex codes of the circles in that image.
Now, it was once time to select the HEX codes.
Preparing the dataset
With the choice completed, I used to be able to challenge the circles at the wall, and a short time later…voilá. For that, I determined to make use of a uniform distribution.
Finally, it was once time for the “actual” paintings.👌
How a data scientist…. decorates his newborn’s nursery? was once at the beginning printed in Towards Data Science on Medium, the place persons are proceeding the dialog via highlighting and responding to this tale.