language stringclasses 1
value | owner stringlengths 2 15 | repo stringlengths 2 21 | sha stringlengths 45 45 | message stringlengths 7 36.3k | path stringlengths 1 199 | patch stringlengths 15 102k | is_multipart bool 2
classes |
|---|---|---|---|---|---|---|---|
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-custom-geometry-cube-vertex-normals.html | @@ -19,11 +19,8 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
function main() {
const canvas = docum... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-custom-geometry-cube.html | @@ -19,11 +19,8 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
function main() {
const canvas = docum... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-custom-geometry-heightmap.html | @@ -19,12 +19,9 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/thre... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-debug-js-clearing-logger.html | @@ -32,11 +32,8 @@
<pre></pre>
</div>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
class ClearingLogger {
constructor(elem) { | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-debug-js-html-elements.html | @@ -33,11 +33,8 @@
<div>z:<span id="z"></span></div>
</div>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
function main() {
const c... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-debug-js-params.html | @@ -43,11 +43,8 @@
</div>
<div id="info">click to launch</div>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
/**
* Returns the query ... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-debugging-mcve.html | @@ -1,12 +1,9 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-fog-gui.html | @@ -19,17 +19,14 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="../3rdparty/dat.gui.min.js"></script>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE, dat */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/thre... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-fog.html | @@ -19,11 +19,8 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
function main() {
const canvas = docum... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-fundamentals-3-cubes.html | @@ -9,11 +9,8 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
function main() {
const canvas = documen... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-fundamentals-with-animation.html | @@ -9,11 +9,8 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
function main() {
const canvas = documen... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-fundamentals-with-light.html | @@ -9,11 +9,8 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
function main() {
const canvas = documen... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-fundamentals.html | @@ -9,11 +9,8 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
function main() {
const canvas = documen... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-game-check-animations.html | @@ -73,14 +73,11 @@
</div>
</div>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="resources/threejs/r108/js/loaders/GLTFLoader.js"></script>
-<script src="resources/threejs/r108/js/utils/Skelet... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-game-conga-line-w-notes.html | @@ -149,15 +149,12 @@
</div>
<div id="labels"></div>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="resources/threejs/r108/js/loaders/GLTFLoader.js"></script>
-<script src="resources/threejs/r10... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-game-conga-line.html | @@ -149,15 +149,12 @@
</div>
<div id="labels"></div>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="resources/threejs/r108/js/loaders/GLTFLoader.js"></script>
-<script src="resources/threejs/r10... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-game-just-player.html | @@ -79,14 +79,11 @@
</div>
</div>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="resources/threejs/r108/js/loaders/GLTFLoader.js"></script>
-<script src="resources/threejs/r108/js/utils/Skelet... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-game-load-models.html | @@ -73,14 +73,11 @@
</div>
</div>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="resources/threejs/r108/js/loaders/GLTFLoader.js"></script>
-<script src="resources/threejs/r108/js/utils/Skelet... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-game-player-input.html | @@ -119,14 +119,11 @@
</div>
</div>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="resources/threejs/r108/js/loaders/GLTFLoader.js"></script>
-<script src="resources/threejs/r108/js/utils/Skel... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-indexed-textures-picking-and-highlighting.html | @@ -57,13 +57,10 @@
<div id="labels"></div>
</div>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/utils/BufferGeometryUtils.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script>
-'use strict';
-
-... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-indexed-textures-picking-debounced.html | @@ -57,13 +57,10 @@
<div id="labels"></div>
</div>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/utils/BufferGeometryUtils.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script>
-'use strict';
-
-... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-indexed-textures-picking.html | @@ -57,13 +57,10 @@
<div id="labels"></div>
</div>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/utils/BufferGeometryUtils.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script>
-'use strict';
-
-... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-indexed-textures-random-colors.html | @@ -57,13 +57,10 @@
<div id="labels"></div>
</div>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/utils/BufferGeometryUtils.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script>
-'use strict';
-
-... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-lights-ambient.html | @@ -20,13 +20,10 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="../3rdparty/dat.gui.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE, dat */
+<scrip... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-lights-directional-w-helper.html | @@ -20,13 +20,10 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="../3rdparty/dat.gui.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE, dat */
+<scrip... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-lights-directional.html | @@ -20,13 +20,10 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="../3rdparty/dat.gui.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE, dat */
+<scrip... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-lights-hemisphere.html | @@ -20,13 +20,10 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="../3rdparty/dat.gui.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE, dat */
+<scrip... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-lights-point-physically-correct.html | @@ -20,13 +20,10 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="../3rdparty/dat.gui.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE, dat */
+<scrip... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-lights-point.html | @@ -20,13 +20,10 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="../3rdparty/dat.gui.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE, dat */
+<scrip... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-lights-rectarea.html | @@ -20,14 +20,11 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/lights/RectAreaLightUniformsLib.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="../3rdparty... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-lights-spot-w-helper.html | @@ -20,13 +20,10 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="../3rdparty/dat.gui.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE, dat */
+<scrip... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-load-gltf-animated-cars.html | @@ -20,14 +20,11 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="resources/threejs/r108/js/loaders/GLTFLoader.js"></script>
-<script src="../3rdparty/dat.gui.min.... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-load-gltf-car-path-fixed.html | @@ -20,14 +20,11 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="resources/threejs/r108/js/loaders/GLTFLoader.js"></script>
-<script src="../3rdparty/dat.gui.min.... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-load-gltf-car-path.html | @@ -20,14 +20,11 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="resources/threejs/r108/js/loaders/GLTFLoader.js"></script>
-<script src="../3rdparty/dat.gui.min.... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-load-gltf-dump-scenegraph-extra.html | @@ -20,14 +20,11 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="resources/threejs/r108/js/loaders/GLTFLoader.js"></script>
-<script src="../3rdparty/dat.gui.min.... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-load-gltf-dump-scenegraph.html | @@ -20,14 +20,11 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="resources/threejs/r108/js/loaders/GLTFLoader.js"></script>
-<script src="../3rdparty/dat.gui.min.... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-load-gltf-rotate-cars-fixed.html | @@ -20,14 +20,11 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="resources/threejs/r108/js/loaders/GLTFLoader.js"></script>
-<script src="../3rdparty/dat.gui.min.... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-load-gltf-rotate-cars.html | @@ -20,14 +20,11 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="resources/threejs/r108/js/loaders/GLTFLoader.js"></script>
-<script src="../3rdparty/dat.gui.min.... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-load-gltf-shadows.html | @@ -20,14 +20,11 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="resources/threejs/r108/js/loaders/GLTFLoader.js"></script>
-<script src="../3rdparty/dat.gui.min.... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-load-gltf.html | @@ -20,14 +20,11 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="resources/threejs/r108/js/loaders/GLTFLoader.js"></script>
-<script src="../3rdparty/dat.gui.min.... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-load-obj-auto-camera-xz.html | @@ -20,14 +20,11 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="resources/threejs/r108/js/loaders/LoaderSupport.js"></script>
-<script src="resources/threejs/r10... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-load-obj-auto-camera.html | @@ -20,14 +20,11 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="resources/threejs/r108/js/loaders/LoaderSupport.js"></script>
-<script src="resources/threejs/r10... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-load-obj-materials-fixed.html | @@ -20,15 +20,12 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="resources/threejs/r108/js/loaders/LoaderSupport.js"></script>
-<script src="resources/threejs/r10... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-load-obj-materials-windmill2.html | @@ -20,15 +20,12 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="resources/threejs/r108/js/loaders/LoaderSupport.js"></script>
-<script src="resources/threejs/r10... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-load-obj-materials.html | @@ -20,15 +20,12 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="resources/threejs/r108/js/loaders/LoaderSupport.js"></script>
-<script src="resources/threejs/r10... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-load-obj-no-materials.html | @@ -20,14 +20,11 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="resources/threejs/r108/js/loaders/LoaderSupport.js"></script>
-<script src="resources/threejs/r10... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-load-obj-wat.html | @@ -20,14 +20,11 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="resources/threejs/r108/js/loaders/LoaderSupport.js"></script>
-<script src="resources/threejs/r10... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-lots-of-objects-animated.html | @@ -40,14 +40,13 @@
<canvas id="c"></canvas>
<div id="ui"></div>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/utils/BufferGeometryUtils.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="re... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-lots-of-objects-merged-vertexcolors.html | @@ -19,13 +19,10 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/utils/BufferGeometryUtils.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script>
-'use strict';
-
-/* ... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-lots-of-objects-merged.html | @@ -19,13 +19,10 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/utils/BufferGeometryUtils.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script>
-'use strict';
-
-/* ... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-lots-of-objects-morphtargets-w-colors.html | @@ -40,14 +40,11 @@
<canvas id="c"></canvas>
<div id="ui"></div>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/utils/BufferGeometryUtils.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="re... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-lots-of-objects-morphtargets.html | @@ -40,14 +40,11 @@
<canvas id="c"></canvas>
<div id="ui"></div>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/utils/BufferGeometryUtils.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="re... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-lots-of-objects-multiple-data-sets.html | @@ -40,13 +40,10 @@
<canvas id="c"></canvas>
<div id="ui"></div>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/utils/BufferGeometryUtils.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script>
-'use ... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-lots-of-objects-slow.html | @@ -19,12 +19,9 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/thre... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-multiple-scenes-controls.html | @@ -48,12 +48,9 @@
and finding a undiscovered tomb full of mummies and treasure.
</p>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/TrackballControls.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module"... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-multiple-scenes-copy-canvas.html | @@ -43,12 +43,9 @@
and finding a undiscovered tomb full of mummies and treasure.
</p>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/TrackballControls.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module"... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-multiple-scenes-generic.html | @@ -48,11 +48,8 @@
and finding a undiscovered tomb full of mummies and treasure.
</p>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
fu... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-multiple-scenes-selector.html | @@ -48,11 +48,8 @@
and finding a undiscovered tomb full of mummies and treasure.
</p>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
fu... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-multiple-scenes-v1.html | @@ -48,11 +48,8 @@
and finding a undiscovered tomb full of mummies and treasure.
</p>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
fu... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-multiple-scenes-v2.html | @@ -49,11 +49,8 @@
and finding a undiscovered tomb full of mummies and treasure.
</p>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
fu... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-multiple-scenes-v3.html | @@ -49,11 +49,8 @@
and finding a undiscovered tomb full of mummies and treasure.
</p>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
fu... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-offscreencanvas-w-fallback.html | @@ -19,10 +19,9 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
<script src="shared-cubes.js"></script>
-<script>
-'use strict';
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
/* global state, init ... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-offscreencanvas-w-orbitcontrols.html | @@ -22,11 +22,10 @@
<body>
<canvas id="c" tabindex="1"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
<script src="shared-orbitcontrols.js"></script>
-<script>
-'use strict';
+<script type="module">
... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-offscreencanvas-w-picking.html | @@ -19,10 +19,9 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
<script src="shared-picking.js"></script>
-<script>
-'use strict';
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
/* global state, ini... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-offscreencanvas.html | @@ -31,8 +31,8 @@
<div>no OffscreenCanvas support</div>
</div>
</body>
-<script>
-'use strict';
+<script type="module">
+
function main() { /* eslint consistent-return: 0 */
const canvas = document.querySelector('#c'); | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-picking-gpu.html | @@ -19,11 +19,8 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
function main() {
const canvas = docum... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-picking-raycaster-complex-geo.html | @@ -19,11 +19,8 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
function main() {
const canvas = docum... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-picking-raycaster-transparency.html | @@ -19,11 +19,8 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
function main() {
const canvas = docum... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-picking-raycaster.html | @@ -19,11 +19,8 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
function main() {
const canvas = docum... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-postprocessing-3dlut-identity.html | @@ -19,18 +19,15 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="resources/threejs/r108/js/loaders/GLTFLoader.js"></script>
-<script src="resources/threejs/r108/j... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-postprocessing-3dlut-prep.html | @@ -20,13 +20,10 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="resources/threejs/r108/js/loaders/GLTFLoader.js"></script>
-<script>
-'use strict';
-
-/* global ... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-postprocessing-3dlut-w-loader.html | @@ -19,20 +19,19 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="resources/threejs/r108/js/loaders/GLTFLoader.js"></script>
-<script src="resources/threejs/r108/j... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-postprocessing-3dlut.html | @@ -19,20 +19,17 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="resources/threejs/r108/js/loaders/GLTFLoader.js"></script>
-<script src="resources/threejs/r108/j... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-postprocessing-adobe-lut-to-png-converter.html | @@ -30,17 +30,16 @@ <h1>Adobe LUT to PNG converter</h1>
<p><button type="button">Save...</button></p>
<div id="cube"><canvas id="c"></canvas></div>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/shaders/CopyShader.js"></script>
-<script src="res... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-postprocessing-custom.html | @@ -19,16 +19,13 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/shaders/CopyShader.js"></script>
-<script src="resources/threejs/r108/js/postprocessing/EffectComposer.js"></script>
-<script src="resources/threejs... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-postprocessing-gui.html | @@ -19,20 +19,17 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/shaders/CopyShader.js"></script>
-<script src="resources/threejs/r108/js/shaders/ConvolutionShader.js"></script>
-<script src="resources/threejs/r10... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-postprocessing.html | @@ -19,19 +19,16 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/shaders/CopyShader.js"></script>
-<script src="resources/threejs/r108/js/shaders/ConvolutionShader.js"></script>
-<script src="resources/threejs/r10... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-primitives-text.html | @@ -19,11 +19,8 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
function main() {
const canvas = docum... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-primitives.html | @@ -19,11 +19,8 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
function main() {
const canvas = docum... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-render-on-demand-w-damping.html | @@ -19,12 +19,9 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/thre... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-render-on-demand-w-gui.html | @@ -19,13 +19,10 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script src="../3rdparty/dat.gui.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE, dat */
+<scrip... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-render-on-demand.html | @@ -19,12 +19,9 @@
<body>
<canvas id="c" tabindex="1"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="resources/threejs/r108/js/controls/OrbitControls.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './r... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-render-target.html | @@ -19,11 +19,8 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
function main() {
const canvas = docum... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-responsive-editor.html | @@ -22,6 +22,7 @@
#c {
width: 100%;
height: 100%;
+ display: block;
}
.gutter {
background-color: #eee;
@@ -47,12 +48,9 @@
</div>
</div>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="threejs-responsive.js"></script>
+<script ... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-responsive-hd-dpi.html | @@ -20,11 +20,8 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
function main() {
const canvas = docum... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-responsive-no-resize.html | @@ -20,11 +20,8 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
function main() {
const canvas = docum... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-responsive-paragraph.html | @@ -29,7 +29,6 @@
ut, auctor eget massa.
</p>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script src="threejs-responsive.js"></script>
+<script type="module" src="threejs-responsive.js"></script>
</html>
| true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-responsive-update-camera.html | @@ -20,11 +20,8 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
function main() {
const canvas = docum... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-responsive.html | @@ -19,11 +19,8 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
function main() {
const canvas = docum... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-scenegraph-car.html | @@ -19,12 +19,9 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
<script src="resources/threejs-lessons-helper.js"></script> <!-- you can and should delete this script. it is only used on the site to help with errors -->
-<script>
-'use strict';
-
-/* g... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-scenegraph-sun-earth-moon-axes-grids.html | @@ -45,17 +45,14 @@
<canvas id="c"></canvas>
<div id="ui"></div>
</body>
-<script src="../3rdparty/dat.gui.min.js"></script>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE, dat */
+<script type="module">
+import * as THREE from './resources/threejs/... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-scenegraph-sun-earth-moon-axes.html | @@ -19,11 +19,8 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
function main() {
const canvas = docum... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-scenegraph-sun-earth-moon.html | @@ -19,11 +19,8 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
function main() {
const canvas = docum... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-scenegraph-sun-earth-orbit-fixed.html | @@ -19,11 +19,8 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
function main() {
const canvas = docum... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-scenegraph-sun-earth-orbit.html | @@ -19,11 +19,8 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
function main() {
const canvas = docum... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-scenegraph-sun-earth.html | @@ -19,11 +19,8 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
function main() {
const canvas = docum... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-scenegraph-sun.html | @@ -19,11 +19,8 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
function main() {
const canvas = docum... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-scenegraph-tank.html | @@ -29,11 +29,8 @@
<canvas id="c"></canvas>
<div id="info"></div>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
function main() {
con... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-shadertoy-as-texture.html | @@ -19,11 +19,8 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
function main() {
const canvas = docum... | true |
Other | mrdoob | three.js | d2fd74e7b551b049b48e30bf191926aae87291fa.json | use modules in all examples | threejs/threejs-shadertoy-basic-x40.html | @@ -19,11 +19,8 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r108/three.min.js"></script>
-<script>
-'use strict';
-
-/* global THREE */
+<script type="module">
+import * as THREE from './resources/threejs/r108/build/three.module.js';
function main() {
const canvas = docum... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.