Want your picture in the ACNH? Let’s hack switch with Raspberry Pi!
In Animal Crossing: New Horizon, we can draw a 32x32 canvas so you can use the design to paste on the floor, shirt or many things in the game!Here, we develop a system to directly convert image to an Nintendo switch input signal to control the painting automatically.
To shoot the signal to our switch, we use Raspi 3b, and ATMega32U4 Micro-controller. Here is our final result (a drawing of titech-chan and Rin-chan)
An unfortunate constraint in the game is a canvas can conain only 16 colors. Therefore, the first step if to reduce the number of from the original image using k-mean algorithm.
The color that one can choose in the game is based on HSV-format. One can customize using HSV scale the game given which we convert them linearly to map with the colors we extracted from the previous step.
From this point, we just throw signals to the switch to control the paint interface!