Example Page

You can see how to set the library including the dependencies in the source of this example page.


Set the library of your choice within the <script></script> tags:

        THREE.Triangulation.setLibrary('earcut');
    

And set the timer on or off by passing true or false to the setTimer method:

        THREE.Triangulation.setTimer(false);