This Java applet lets you play with coloured light and experiment with colour mixing and shadow.
Click different color checkbox to turn on that light source. (Default: Red light)
Click "show trace" button to display light paths.
There is a screen on the left. An object is located between light source and the screen. This object causes areas of the screen to be in shadow.
Right click the object and drag it up/down to change the length of the object.
If you click the mouse button twice continuously, it is toggle between an object or a slit.
(Use similar method to change the width/location for the slit)
Have fun ! Play with it and try with different cases!