Skip to content
scauglog edited this page Jan 29, 2014 · 3 revisions

To give a life feeling, some behavior have been implemented. The first one is the sleeping behavior. The lamp look down and do a small animation mimicking the breathing. When a key is pressed, the lamp wakes up and starts looking for a face. It execute random move and try to detect a face. If a face is detected then it tries to follow the face. After awhile if no face have been detected then the lamp go back to sleep. With this different behavior, the lamp look like a living entity. The led color change according to the behavior: blue when the lamp is sleeping, red when then lamp is searching for a face and green when the lamp is following a face.

back to implementation

Clone this wiki locally