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
0c4969b330f0e84636d4f535a2e90dc80249a68e.json
remove extra lines
threejs/resources/data/world/license.md
@@ -8,4 +8,3 @@ The licence of that data is [CC-BY-SA](http://creativecommons.org/licenses/by-sa Which means this data is also [CC-BY-SA](http://creativecommons.org/licenses/by-sa/3.0/). -
true
Other
mrdoob
three.js
0c4969b330f0e84636d4f535a2e90dc80249a68e.json
remove extra lines
threejs/threejs-cleanup-loaded-files.html
@@ -28,7 +28,6 @@ import * as THREE from './resources/threejs/r108/build/three.module.js'; import {GLTFLoader} from './resources/threejs/r108/examples/jsm/loaders/GLTFLoader.js'; - class ResourceTracker { constructor() { this.resources = new Set();
true
Other
mrdoob
three.js
0c4969b330f0e84636d4f535a2e90dc80249a68e.json
remove extra lines
threejs/threejs-game-conga-line-w-notes.html
@@ -104,7 +104,6 @@ } } - #labels { position: absolute; /* let us position ourself inside the container */ left: 0; /* make our position the top left of the container */
true
Other
mrdoob
three.js
0c4969b330f0e84636d4f535a2e90dc80249a68e.json
remove extra lines
threejs/threejs-game-conga-line.html
@@ -104,7 +104,6 @@ } } - #labels { position: absolute; /* let us position ourself inside the container */ left: 0; /* make our position the top left of the container */
true
Other
mrdoob
three.js
0c4969b330f0e84636d4f535a2e90dc80249a68e.json
remove extra lines
threejs/threejs-offscreencanvas.html
@@ -33,7 +33,6 @@ </body> <script type="module"> - function main() { /* eslint consistent-return: 0 */ const canvas = document.querySelector('#c'); if (!canvas.transferControlToOffscreen) {
true
Other
mrdoob
three.js
0c4969b330f0e84636d4f535a2e90dc80249a68e.json
remove extra lines
threejs/threejs-primitives-text.html
@@ -155,4 +155,3 @@ </script> </html> -
true
Other
mrdoob
three.js
0c4969b330f0e84636d4f535a2e90dc80249a68e.json
remove extra lines
threejs/threejs-primitives.html
@@ -381,4 +381,3 @@ </script> </html> -
true
Other
mrdoob
three.js
0c4969b330f0e84636d4f535a2e90dc80249a68e.json
remove extra lines
threejs/threejs-scenegraph-car.html
@@ -120,4 +120,3 @@ </html> -
true
Other
mrdoob
three.js
0c4969b330f0e84636d4f535a2e90dc80249a68e.json
remove extra lines
threejs/threejs-scenegraph-sun-earth-moon-axes-grids.html
@@ -189,4 +189,3 @@ </html> -
true
Other
mrdoob
three.js
0c4969b330f0e84636d4f535a2e90dc80249a68e.json
remove extra lines
threejs/threejs-scenegraph-sun-earth-moon-axes.html
@@ -127,4 +127,3 @@ </html> -
true
Other
mrdoob
three.js
0c4969b330f0e84636d4f535a2e90dc80249a68e.json
remove extra lines
threejs/threejs-scenegraph-sun-earth-moon.html
@@ -119,4 +119,3 @@ </html> -
true
Other
mrdoob
three.js
0c4969b330f0e84636d4f535a2e90dc80249a68e.json
remove extra lines
threejs/threejs-scenegraph-sun-earth-orbit-fixed.html
@@ -105,4 +105,3 @@ </html> -
true
Other
mrdoob
three.js
0c4969b330f0e84636d4f535a2e90dc80249a68e.json
remove extra lines
threejs/threejs-scenegraph-sun-earth-orbit.html
@@ -101,4 +101,3 @@ </html> -
true
Other
mrdoob
three.js
0c4969b330f0e84636d4f535a2e90dc80249a68e.json
remove extra lines
threejs/threejs-scenegraph-sun-earth.html
@@ -101,4 +101,3 @@ </html> -
true
Other
mrdoob
three.js
0c4969b330f0e84636d4f535a2e90dc80249a68e.json
remove extra lines
threejs/threejs-scenegraph-sun.html
@@ -96,4 +96,3 @@ </html> -
true
Other
mrdoob
three.js
0c4969b330f0e84636d4f535a2e90dc80249a68e.json
remove extra lines
threejs/threejs-scenegraph-tank.html
@@ -287,4 +287,3 @@ </html> -
true
Other
mrdoob
three.js
0c4969b330f0e84636d4f535a2e90dc80249a68e.json
remove extra lines
threejs/threejs-tips-tabindex.html
@@ -38,7 +38,6 @@ </body> <script type="module"> - document.querySelectorAll('canvas').forEach((canvas) => { const ctx = canvas.getContext('2d');
true
Other
mrdoob
three.js
0c4969b330f0e84636d4f535a2e90dc80249a68e.json
remove extra lines
todo.md
@@ -4,4 +4,3 @@ TO DO * Update first article with links to CDN? -
true
Other
mrdoob
three.js
c44b5a9c1dc2d85089e9f1eaf94c0f92d1629274.json
fix obj loader article for r108
threejs/lessons/threejs-load-obj.md
@@ -43,10 +43,9 @@ the hemispherical lighting example so I ended up with one related to adjusting the lights. I also removed the cube and sphere that were being added to the scene. -From that the first thing we need to do is include the `OBJLoader2` loader in our scene. The `OBJLoader2` also needs the `LoaderSuppor...
true
Other
mrdoob
three.js
c44b5a9c1dc2d85089e9f1eaf94c0f92d1629274.json
fix obj loader article for r108
threejs/threejs-load-obj-auto-camera-xz.html
@@ -109,8 +109,7 @@ { const objLoader = new OBJLoader2(); - objLoader.load('resources/models/windmill_2/windmill.obj', (event) => { - const root = event.detail.loaderRootNode; + objLoader.load('resources/models/windmill_2/windmill.obj', (root) => { root.updateMatrixWorld(); scene.add(...
true
Other
mrdoob
three.js
c44b5a9c1dc2d85089e9f1eaf94c0f92d1629274.json
fix obj loader article for r108
threejs/threejs-load-obj-auto-camera.html
@@ -106,8 +106,7 @@ { const objLoader = new OBJLoader2(); - objLoader.load('resources/models/windmill_2/windmill.obj', (event) => { - const root = event.detail.loaderRootNode; + objLoader.load('resources/models/windmill_2/windmill.obj', (root) => { scene.add(root); // compute the box ...
true
Other
mrdoob
three.js
c44b5a9c1dc2d85089e9f1eaf94c0f92d1629274.json
fix obj loader article for r108
threejs/threejs-load-obj-materials-fixed.html
@@ -24,6 +24,8 @@ import * as THREE from './resources/threejs/r108/build/three.module.js'; import {OrbitControls} from './resources/threejs/r108/examples/jsm/controls/OrbitControls.js'; import {OBJLoader2} from './resources/threejs/r108/examples/jsm/loaders/OBJLoader2.js'; +import {MTLLoader} from './resources/three...
true
Other
mrdoob
three.js
c44b5a9c1dc2d85089e9f1eaf94c0f92d1629274.json
fix obj loader article for r108
threejs/threejs-load-obj-materials-windmill2.html
@@ -24,6 +24,8 @@ import * as THREE from './resources/threejs/r108/build/three.module.js'; import {OrbitControls} from './resources/threejs/r108/examples/jsm/controls/OrbitControls.js'; import {OBJLoader2} from './resources/threejs/r108/examples/jsm/loaders/OBJLoader2.js'; +import {MTLLoader} from './resources/three...
true
Other
mrdoob
three.js
c44b5a9c1dc2d85089e9f1eaf94c0f92d1629274.json
fix obj loader article for r108
threejs/threejs-load-obj-materials.html
@@ -24,6 +24,8 @@ import * as THREE from './resources/threejs/r108/build/three.module.js'; import {OrbitControls} from './resources/threejs/r108/examples/jsm/controls/OrbitControls.js'; import {OBJLoader2} from './resources/threejs/r108/examples/jsm/loaders/OBJLoader2.js'; +import {MTLLoader} from './resources/three...
true
Other
mrdoob
three.js
c44b5a9c1dc2d85089e9f1eaf94c0f92d1629274.json
fix obj loader article for r108
threejs/threejs-load-obj-no-materials.html
@@ -84,8 +84,7 @@ { const objLoader = new OBJLoader2(); - objLoader.load('resources/models/windmill/windmill.obj', (event) => { - const root = event.detail.loaderRootNode; + objLoader.load('resources/models/windmill/windmill.obj', (root) => { scene.add(root); }); }
true
Other
mrdoob
three.js
c44b5a9c1dc2d85089e9f1eaf94c0f92d1629274.json
fix obj loader article for r108
threejs/threejs-load-obj-wat.html
@@ -84,8 +84,7 @@ { const objLoader = new OBJLoader2(); - objLoader.load('resources/models/windmill_2/windmill.obj', (event) => { - const root = event.detail.loaderRootNode; + objLoader.load('resources/models/windmill_2/windmill.obj', (root) => { scene.add(root); }); }
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/3dlut-base-cube-maker.html
@@ -24,8 +24,8 @@ <h1>Color Cube Image Maker</h1> <span id="width"></span>x<span id="height"></span> )</div> </p> </body> -<script> -'use strict'; +<script type="module"> + const ctx = document.querySelector('canvas').getContext('2d');
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/background-v01.html
@@ -21,20 +21,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/shaders/SSAOShader.js"></script> -<script src="resources/threejs/r108/j...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/background.html
@@ -21,20 +21,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/shaders/SSAOShader.js"></script> -<script src="resources/threejs/r108/j...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/canvas-random-dots.html
@@ -8,8 +8,8 @@ </head> <body> </body> -<script> -'use strict'; +<script type="module"> + function main() { const ctx = document.createElement('canvas').getContext('2d');
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/gpw-data-viewer.html
@@ -12,8 +12,8 @@ <body> <canvas></canvas> </body> -<script> -'use strict'; +<script type="module"> + async function loadFile(url) { const req = await fetch(url);
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/lessons/resources/threejs-align-html-elements-to-3d.js
@@ -1,6 +1,5 @@ -'use strict'; +import {GUI} from '../../../3rdparty/dat.gui.module.js'; -/* global dat */ { function outlineText(ctx, msg, x, y) { ctx.strokeText(msg, x, y); @@ -119,7 +118,7 @@ rotation: 0.3, }; - const gui = new dat.GUI({autoPlace: false}); + const gui =...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/lessons/resources/threejs-cameras.js
@@ -1,6 +1,5 @@ -'use strict'; - -/* global THREE, threejsLessonUtils */ +import * as THREE from '../../resources/threejs/r108/build/three.module.js'; +import {threejsLessonUtils} from './threejs-lesson-utils.js'; { function addShape(color, geometry) {
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/lessons/resources/threejs-custom-buffergeometry.js
@@ -1,6 +1,5 @@ -'use strict'; - -/* global THREE, threejsLessonUtils */ +import * as THREE from '../../resources/threejs/r108/build/three.module.js'; +import {threejsLessonUtils} from './threejs-lesson-utils.js'; { const loader = new THREE.TextureLoader();
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/lessons/resources/threejs-fog.js
@@ -1,6 +1,6 @@ -'use strict'; - -/* global THREE, threejsLessonUtils */ +import * as THREE from '../../resources/threejs/r108/build/three.module.js'; +import {GLTFLoader} from '../../resources/threejs/r108/examples/jsm/loaders/GLTFLoader.js'; +import {threejsLessonUtils} from './threejs-lesson-utils.js'; { funct...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/lessons/resources/threejs-lesson-utils.js
@@ -1,8 +1,7 @@ -'use strict'; +import * as THREE from '../../resources/threejs/r108/build/three.module.js'; +import {TrackballControls} from '../../resources/threejs/r108/examples/jsm/controls/TrackballControls.js'; -/* global THREE */ - -window.threejsLessonUtils = { +export const threejsLessonUtils = { init() {...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/lessons/resources/threejs-lights.js
@@ -1,6 +1,6 @@ -'use strict'; - -/* global THREE, threejsLessonUtils */ +import * as THREE from '../../resources/threejs/r108/build/three.module.js'; +import {OrbitControls} from '../../resources/threejs/r108/examples/jsm/controls/OrbitControls.js'; +import {threejsLessonUtils} from './threejs-lesson-utils.js'; { ...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/lessons/resources/threejs-lots-of-objects.js
@@ -1,6 +1,6 @@ -'use strict'; - -/* global THREE, dat, threejsLessonUtils */ +import * as THREE from '../../resources/threejs/r108/build/three.module.js'; +import {threejsLessonUtils} from './threejs-lesson-utils.js'; +import {GUI} from '../../../3rdparty/dat.gui.module.js'; { class DegRadHelper { @@ -97,7 +97,7...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/lessons/resources/threejs-material-table.js
@@ -1,5 +1,3 @@ -'use strict'; - const materials = [ { name: 'MeshBasicMaterial',
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/lessons/resources/threejs-materials.js
@@ -1,6 +1,5 @@ -'use strict'; - -/* global THREE, threejsLessonUtils */ +import * as THREE from '../../resources/threejs/r108/build/three.module.js'; +import {threejsLessonUtils} from './threejs-lesson-utils.js'; { function makeSphere(widthDivisions, heightDivisions) {
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/lessons/resources/threejs-post-processing-3dlut.js
@@ -1,7 +1,3 @@ -'use strict'; - -/* global */ - { class Waiter { constructor() {
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/lessons/resources/threejs-primitives.js
@@ -1,6 +1,5 @@ -'use strict'; - -/* global THREE, threejsLessonUtils */ +import * as THREE from '../../resources/threejs/r108/build/three.module.js'; +import {threejsLessonUtils} from './threejs-lesson-utils.js'; { const darkColors = {
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/lessons/resources/threejs-textures.js
@@ -1,6 +1,5 @@ -'use strict'; - -/* global THREE, threejsLessonUtils */ +import * as THREE from '../../resources/threejs/r108/build/three.module.js'; +import {threejsLessonUtils} from './threejs-lesson-utils.js'; { const loader = new THREE.TextureLoader();
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/lessons/resources/threejs-voxel-geometry.js
@@ -1,6 +1,6 @@ -'use strict'; - -/* global THREE, threejsLessonUtils */ +import * as THREE from '../../resources/threejs/r108/build/three.module.js'; +import {BufferGeometryUtils} from '../../resources/threejs/r108/examples/jsm/utils/BufferGeometryUtils.js'; +import {threejsLessonUtils} from './threejs-lesson-utils.js...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/lessons/ru/threejs-cameras.md
@@ -591,7 +591,4 @@ function render(time) { А пока давайте перейдем к [теням](threejs-shadows.html). <canvas id="c"></canvas> -<script src="../../resources/threejs/r108/three.min.js"></script> -<script src="../../resources/threejs/r108/js/controls/TrackballControls.js"></script> -<script src="../resources/threejs-l...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/lessons/ru/threejs-lights.md
@@ -565,7 +565,4 @@ gui.add(light, 'power', 0, 2000); Далее давайте перейдем к [работе с камерами](threejs-cameras.html). <canvas id="c"></canvas> -<script src="../../resources/threejs/r108/three.min.js"></script> -<script src="../../resources/threejs/r108/js/controls/OrbitControls.js"></script> -<script src="../r...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/lessons/ru/threejs-material-table.md
@@ -7,6 +7,6 @@ Mesh. Вот таблица, показывающая, какие функции <div> <div id="material-table" class="threejs_center"></div> -<script src="resources/threejs-material-table.js"></script> -<link rel="stylesheet" href="resources/threejs-material-table.css"> +<script type="module" src="../resources/threejs-material-tabl...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/lessons/ru/threejs-materials.md
@@ -318,9 +318,6 @@ flat shaded </div> <canvas id="c"></canvas> -<script src="../../resources/threejs/r108/three.min.js"></script> -<script src="../../resources/threejs/r108/js/controls/TrackballControls.js"></script> -<script src="../resources/threejs-lesson-utils.js"></script> -<script src="../resources/threejs-m...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/lessons/ru/threejs-primitives.md
@@ -331,8 +331,5 @@ function addLineGeometry(x, y, geometry) { Далее давайте рассмотрим [как работает граф сцены и как его использовать](threejs-scenegraph.html). <canvas id="c"></canvas> -<script src="../../resources/threejs/r108/three.min.js"></script> -<script src="../../resources/threejs/r108/js/controls/Trackb...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/lessons/ru/threejs-textures.md
@@ -616,8 +616,5 @@ roughness --> <canvas id="c"></canvas> -<script src="../../resources/threejs/r108/three.min.js"></script> -<script src="../../resources/threejs/r108/js/controls/TrackballControls.js"></script> -<script src="../resources/threejs-lesson-utils.js"></script> -<script src="../resources/threejs-textur...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/lessons/threejs-align-html-elements-to-3d.md
@@ -785,5 +785,4 @@ elements with your 3D. A few things I might change. Next up let's make it so you can [pick and highlight a country](threejs-indexed-textures.html). <link rel="stylesheet" href="resources/threejs-align-html-elements-to-3d.css"> -<script src="/3rdparty/dat.gui.min.js"></script> -<script src="resou...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/lessons/threejs-cameras.md
@@ -597,7 +597,4 @@ That's the fundamentals of cameras. We'll cover a few common ways to move camera in other articles. For now let's move on to [shadows](threejs-shadows.html). <canvas id="c"></canvas> -<script src="../resources/threejs/r108/three.min.js"></script> -<script src="../resources/threejs/r108/js/contro...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/lessons/threejs-custom-buffergeometry.md
@@ -461,9 +461,6 @@ make your own geometry and how to dynamically update the contents of a depends on your needs. <canvas id="c"></canvas> -<script src="../resources/threejs/r108/three.min.js"></script> -<script src="../resources/threejs/r108/js/controls/TrackballControls.js"></script> -<script src="resources/three...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/lessons/threejs-fog.md
@@ -272,8 +272,4 @@ By turning fog off on the materials for the house we can fix that issue. </div> <canvas id="c"></canvas> -<script src="../resources/threejs/r108/three.min.js"></script> -<script src="../resources/threejs/r108/js/controls/TrackballControls.js"></script> -<script src="../resources/threejs/r108/js/...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/lessons/threejs-lights.md
@@ -574,7 +574,4 @@ possible to achieve your goals. Next up let's go over [dealing with cameras](threejs-cameras.html). <canvas id="c"></canvas> -<script src="../resources/threejs/r108/three.min.js"></script> -<script src="../resources/threejs/r108/js/controls/OrbitControls.js"></script> -<script src="resources/thr...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/lessons/threejs-material-table.md
@@ -7,7 +7,7 @@ is a table showing which material support which features. <div> <div id="material-table" class="threejs_center"></div> -<script src="resources/threejs-material-table.js"></script> +<script type="module" src="resources/threejs-material-table.js"></script> <link rel="stylesheet" href="resources/three...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/lessons/threejs-materials.md
@@ -304,9 +304,6 @@ switch from using one to using the other. </div> <canvas id="c"></canvas> -<script src="../resources/threejs/r108/three.min.js"></script> -<script src="../resources/threejs/r108/js/controls/TrackballControls.js"></script> -<script src="resources/threejs-lesson-utils.js"></script> -<script src="r...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/lessons/threejs-optimize-lots-of-objects.md
@@ -532,8 +532,4 @@ though there are creative solutions. We'll explore one in [another article](threejs-optimize-lots-of-objects-animated.html). <canvas id="c"></canvas> -<script src="../resources/threejs/r108/three.min.js"></script> -<script src="../resources/threejs/r108/js/controls/TrackballControls.js"></script...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/lessons/threejs-post-processing-3dlut.md
@@ -491,5 +491,5 @@ The sample below is just a modification of the code above. We only draw the back One thing completely skipped is how the shader itself works. Hopefully we can cover a little more GLSL in the future. For now, if you're curious, you can follow the links in the [post processing article](threejs-post...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/lessons/threejs-primitives.md
@@ -349,10 +349,7 @@ Next up let's go over [how three's scene graph works and how to use it](threejs-scenegraph.html). <canvas id="c"></canvas> -<script src="../resources/threejs/r108/three.min.js"></script> -<script src="../resources/threejs/r108/js/controls/TrackballControls.js"></script> -<script src="resources/...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/lessons/threejs-textures.md
@@ -625,8 +625,5 @@ roughness --> <canvas id="c"></canvas> -<script src="../resources/threejs/r108/three.min.js"></script> -<script src="../resources/threejs/r108/js/controls/TrackballControls.js"></script> -<script src="resources/threejs-lesson-utils.js"></script> -<script src="resources/threejs-textures.js"></scr...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/lessons/threejs-voxel-geometry.md
@@ -1213,10 +1213,6 @@ I hope this has given you some ideas where to start and how to generate some what efficient geometry. <canvas id="c"></canvas> -<script src="../resources/threejs/r108/three.min.js"></script> -<script src="../resources/threejs/r108/js/utils/BufferGeometryUtils.js"></script> -<script src="../re...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/resources/editor-settings.js
@@ -46,7 +46,7 @@ function fixSourceLinks(url, source) { const prefix = getPrefix(url); function addPrefix(url) { - return url.indexOf('://') < 0 && url[0] !== '?' ? (prefix + url) : url; + return url.indexOf('://') < 0 && !url.startsWith('data:') && url[0] !== '?' ? (prefix + url).replace(/\/.\//g, '/') ...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/threejs-align-html-elements-to-3d-globe-too-many-labels.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-align-html-elements-to-3d-globe.html
@@ -57,14 +57,11 @@ <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 src="../3rdparty/da...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/threejs-align-html-to-3d-w-hiding.html
@@ -54,12 +54,9 @@ <div id="labels"></div> </div> </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/t...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/threejs-align-html-to-3d-w-sorting.html
@@ -56,12 +56,9 @@ <div id="labels"></div> </div> </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/t...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/threejs-align-html-to-3d.html
@@ -54,12 +54,9 @@ <div id="labels"></div> </div> </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/t...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/threejs-background-css.html
@@ -21,11 +21,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-background-cubemap.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-background-equirectangularmap.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-background-scene-background-fixed-aspect.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-background-scene-background.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-background-separate-scene-bad-aspect.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-background-separate-scene.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-billboard-labels-w-sprites-adjust-height.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-billboard-labels-w-sprites.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-billboard-trees-no-billboards.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-billboard-trees-static-billboards.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-cameras-logarithmic-depth-buffer.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-cameras-orthographic-2-scenes.html
@@ -36,13 +36,10 @@ <div id="view2" tabindex="2"></div> </div> </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...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/threejs-cameras-orthographic-canvas-top-left-origin.html
@@ -32,13 +32,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 */ +<script typ...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/threejs-cameras-perspective-2-scenes.html
@@ -36,13 +36,10 @@ <div id="view2" tabindex="2"></div> </div> </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...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/threejs-cameras-perspective.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-cameras-z-fighting.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-canvas-textured-cube-qix.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-canvas-textured-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-canvas-textured-labels-one-canvas.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-canvas-textured-labels-scale-to-fit.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-canvas-textured-labels.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-cleanup-loaded-files.html
@@ -24,13 +24,10 @@ <body> <canvas id="c"></canvas> </body> -<script src="resources/threejs/r108/three.min.js"></script> -<script src="resources/threejs/r108/js/loaders/GLTFLoader.js"></script> -<script> +<script type="module"> +import * as THREE from './resources/threejs/r108/build/three.module.js'; +import...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/threejs-cleanup-simple.html
@@ -24,13 +24,10 @@ <body> <canvas id="c"></canvas> </body> -<script src="resources/threejs/r108/three.min.js"></script> -<script src="resources/threejs/r108/js/loaders/GLTFLoader.js"></script> -<script> +<script type="module"> +import * as THREE from './resources/threejs/r108/build/three.module.js'; +import...
true
Other
mrdoob
three.js
d2fd74e7b551b049b48e30bf191926aae87291fa.json
use modules in all examples
threejs/threejs-custom-buffergeometry-cube-indexed.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-buffergeometry-cube-typedarrays.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-buffergeometry-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-buffergeometry-dynamic.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-face-colors.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-face-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-texcoords.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-vertex-colors.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