Today I made an array of lights that change color depending of the light and even manage to get a face to "blink." I was trying to think of what image I should make with lights, and one of my friends suggested a Final Fantasy character. Thus, I decided to make a light version of Cloud's face. I was able to set up the text file so it loaded the correct color depending on the light's number value. After this, I decided to try and get Cloud's eyes to blink. I thought of many other complicated methods to achieving this, but decided on doing things manually. I set the current light number to where the eyes were and simply toggled to color, throw in some delays and viola blinking eyes.
Here's a little video of the magic occurring, followed by some pictures of the code used to set everything up.
No comments:
Post a Comment