To read there Collection of examples from discourse.threejs.org :
You can try them out immediately and use Ctrl U to view the code.
The source code contains the links and the author.
In addition, extended examples ar aviable.
For example:
line 2: Direction of the SpotLightHelper
line 3: Edit fiddle - JSFiddle - Code Playground
Spotlight
The effort for this collection must be kept within limits for me, therefore the simple sequential arrangement.