IMPORTANT: ALWAYS TURN ON TURBO MODE! Upon clicking the green flag, you will see a light source emitting light, and an object casting a shadow. Instructions: The red ball is the object. The yellow is the light source. The shadow is casted by the object. You can move both the object and the light source. Note: It can be slightly glitchy when the object and the light source are close together.
Most code is by @dresdenscratch. It was almost exactly like this before, but you had to click the green flag again. This one auto-rerenders. The auto-rerendering code is by me. No-one else did anything.