Lamp

Andy's picture

Light with switch

Light with switch

After much thinking and planning, I have finally implemented an initial behaviour framework. Behaviour is different to animation. But it may also have effect of animation. In this blog, I have programmed a desk lamp -- a spotlight with a switch. You can click on the switch to switch on and off the light. When you do, you can also hear a switch sound, so have your speakers turned on to enjoy the virtual simulation of light, shadow and sound.