Paint a picture/text defined as png into the air.
Included is a converter converting a png (resolution x:11) to a json object, which can be light painted.
In favor of choosing the animation the flipping options from "cyberband" where removed.
The top LED is furthermore chosen via the bhi160 sensor. So pixel (0,0) is top. Instead of flipping you can cycle through animations located in "anims", with LEFT and RIGHT buttons.
The name of an animation and a preview is shown on display, "SELECT" activates shown animation which starts after 3 seconds and loops till a Button is pressed.
Hold card10 in a way that the LEDS point in moving direction and move it from your right to your left. The opposit viewer/cam should see it moving from left to right.
Update: The direction is now determined via the bhi160 sensor at the start of an animation. Meaning you don't have to care on which side the LEDs are. The moving direction still has to be as described. Note that the value to switch direction is not near 0 (horizontal), just to be significant. The sensor is read after the countdown. You should be safe if you start and bring card10 at the right position during countdown.
|I needed to chance the folder structure, but got it to work. Card10 may also be able to convert the images by itself. This would be easier to use and use less memory for the images.||3 months ago|
|__init__.py||2020-09-21 17:24:43||3.53 KiB|
|README.md||2020-09-21 17:24:43||1.42 KiB|
|loveU.json||2020-09-21 17:24:43||6.76 KiB|
|hello.json||2020-09-21 17:24:43||8.13 KiB|
|pic_converter.py||2020-09-21 17:24:43||761 B|
|metadata.json||2020-09-21 17:24:43||270 B|
|loveU.png||2020-09-21 17:24:43||2.69 KiB|
|testpic.png||2020-09-21 17:24:43||2.69 KiB|
|fairy_photo.png||2020-09-21 17:24:43||728.84 KiB|
|fairy.png||2020-09-21 17:24:43||6.99 KiB|
|fairy.json||2020-09-21 17:24:43||19.99 KiB|