scollovati / kano_make_light_lightboard_animations

A simple recipe for running looped animations in the background with KANO Make Light & Lighboard Power-Up.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KANO Make Light Lightboard Animations

Made with KANO Make Light & Lighboard Power-Up.

Cool animation that loops in the background while KANO OS 💻 is working.

An example:

alt text

Here you'll find a simple recipe for creating your own looped animation.

1. Log-in into your KANO

You can work directly in KANO OS or you can connect remotely to it (i.e. via SSH).

2. Create your own animation

Now download our test file and copy it to your home folder (or wherever you prefer).

Rename it.

Open it with your favorite text editor and edit the code after the row while True:.

Please remember to indent your code 😄

You can find some cool examples:

3. Test it

Open a terminal, go to the home folder (or where you placed the Python code) and launch it

python FILENAME.py

4. Auto start-up

In order to automatically loop the animation at the OS boot, we neet to add to the file /etc/rc.local the following code

python /home/USERNAME/FILENAME.py

Here we assumed that the file is in the home folder: if not modify the path accordingly.

Acknowledgments

KANO Developers for this great and cool software and hardware ✌️

About

A simple recipe for running looped animations in the background with KANO Make Light & Lighboard Power-Up.

License:MIT License


Languages

Language:Python 100.0%