I get an error where another example doesn't

I get an error at the following notebook, and I honestly don’t have a first guess as to the cause:

especially because I’m basically just trying to mimic this example:

by reproducing it one cell at a time. So as far as I can tell, I have basically just done exactly what is done at the working notebook, except that I’m only halfway through the development.

I even tried commenting out code in the working example to make it like my notebook, and the working example continues working … so I’m super stumped. I’ve searched for spelling mistakes or small differences in the two notebooks, and maybe I’m just missing it, but I can’t see any differences (especially after editing the working example to look more like my notebook).

More recent versions of Three.JS no longer support the UMD format for examples. Have a look at this thread for alternative approaches:

1 Like