Dynamic 2D shadows with ProcessingJS