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 | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/ru/threejs-lights.md | @@ -1,6 +1,5 @@
Title: Three.js - Освещение
Description: Настройка освещения
-Category: fundamentals
TOC: Освещение
Эта статья является частью серии статей о three.js. | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/ru/threejs-material-table.md | @@ -1,6 +1,5 @@
Title: Таблица характеристик материалов
Description: Таблица, показывающая, какие функции поддерживают каждый из материалов
-Category: reference
TOC: Таблица материалов
Наиболее распространенными материалами в three.js являются материалы | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/ru/threejs-materials.md | @@ -1,6 +1,5 @@
Title: Материалы Three.js
Description: Материалы в Three.js
-Category: fundamentals
TOC: Материалы
Эта статья является частью серии статей о three.js. | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/ru/threejs-multiple-scenes.md | @@ -1,6 +1,5 @@
Title: Three.js - Несколько холстов и Несколько сцен
Description: Kак рисовать на всей web-странице с THREE.js
-Category: solutions
TOC: Несколько холстов, несколько сцен
Допустим, вы хотите создать сайт электронной коммерции или сделать | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/ru/threejs-primitives.md | @@ -1,6 +1,5 @@
Title: Примитивы Three.js
Description: Обзор примитивов three.js.
-Category: fundamentals
TOC: Примитивы
Эта статья является частью серии статей о three.js. | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/ru/threejs-responsive.md | @@ -1,6 +1,5 @@
Title: Three.js Oтзывчивый Дизайн
Description: Как приспособить three.js под дисплеи разного размера.
-Category: basics
TOC: Адаптивный дизайн
Это вторая статья в серии статей о three.js. | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/ru/threejs-scenegraph.md | @@ -1,6 +1,5 @@
Title: Граф сцены Three.js
Description: Что такое граф сцены?
-Category: fundamentals
TOC: Граф сцены
Эта статья является частью серии статей о three.js. | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/ru/threejs-setup.md | @@ -1,6 +1,5 @@
Title: Настройка окружения Three.js
Description: Как настроить разрабочее окружение для Three.js
-Category: basics
TOC: Настройка
Эта статья является частью серии статей о three.js. | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/ru/threejs-textures.md | @@ -1,6 +1,5 @@
Title: Three.js Текстуры
Description: Использование текстур в three.js
-Category: fundamentals
TOC: Текстуры
Эта статья является частью серии статей о three.js. | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-align-html-elements-to-3d.md | @@ -1,6 +1,5 @@
Title: Three.js Aligning HTML Elements to 3D
Description: How to line up an HTML Element to match a point in 3D space
-Category: solutions
TOC: Aligning HTML Elements to 3D
This article is part of a series of articles about three.js. The first article | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-backgrounds.md | @@ -1,6 +1,5 @@
Title: Three.js Backgrounds and Skyboxes
Description: How to add a background in THREE.js
-Category: solutions
TOC: Add a Background or Skybox
Most of the articles here use a solid color for a background. | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-billboards.md | @@ -1,6 +1,5 @@
Title: Three.js Billboards
Description: How to make things always face the camera.
-Category: solutions
TOC: Billboards and Facades
In [a previous article](threejs-canvas-textures.html) we used a `CanvasTexture` | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-cameras.md | @@ -1,6 +1,5 @@
Title: Three.js Cameras
Description: How to use Cameras in Three.js
-Category: fundamentals
TOC: Cameras
This article is one in a series of articles about three.js. | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-canvas-textures.md | @@ -1,6 +1,5 @@
Title: Three.js Canvas Textures
Description: How to use a canvas as a texture in Three.js
-Category: solutions
TOC: Using A Canvas for Dynamic Textures
This article continues from [the article on textures](threejs-textures.html). | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-cleanup.md | @@ -1,6 +1,5 @@
Title: Three.js Cleanup
Description: How to use free memory used by Three.js
-Category: solutions
TOC: Freeing Resources
Three.js apps often use lots of memory. A 3D model | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-custom-buffergeometry.md | @@ -1,6 +1,5 @@
Title: Three.js Custom BufferGeometry
Description: How to make your own BufferGeometry.
-Category: fundamentals
TOC: Custom BufferGeometry
A [previous article](threejs-custom-geometry.html) covered | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-custom-geometry.md | @@ -1,6 +1,5 @@
Title: Three.js Custom Geometry
Description: How to make your own geometry.
-Category: fundamentals
TOC: Custom Geometry
A [previous article](threejs-primitives.html) gave a tour of | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-debugging-glsl.md | @@ -1,6 +1,5 @@
Title: Debugging Three.js - GLSL
Description: How to debug GLSL Shaders
-Category: tips
TOC: Debugging GLSL
This site so far does not teach GLSL just like it does not teach JavaScript. | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-debugging-javascript.md | @@ -1,6 +1,5 @@
Title: Three.js Debugging JavaScript
Description: How to debug JavaScript with THREE.js
-Category: tips
TOC: Debugging JavaScript
Most of this article is not directly about THREE.js but is | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-fog.md | @@ -1,6 +1,5 @@
Title: Three.js Fog
Description: Fog in Three.js
-Category: fundamentals
TOC: Fog
This article is part of a series of articles about three.js. The | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-fundamentals.md | @@ -1,6 +1,5 @@
Title: Three.js Fundamentals
Description: Your first Three.js lesson starting with the fundamentals
-Category: basics
TOC: Fundamentals
This is the first article in a series of articles about three.js. | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-indexed-textures.md | @@ -1,6 +1,5 @@
Title: Three.js Indexed Textures for Picking and Color
Description: Using Indexed Textures for Picking and Color
-Category: solutions
TOC: Using Indexed Textures for Picking and Color
This article is a continuation of [an article about aligning html elements to 3d](threejs-align-html-elements-to-3... | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-lights.md | @@ -1,6 +1,5 @@
Title: Three.js Lights
Description: Setting up Lights
-Category: fundamentals
TOC: Lights
This article is part of a series of articles about three.js. The | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-load-gltf.md | @@ -1,6 +1,5 @@
Title: Three.js Loading a .GLTF File
Description: Loading a .GLTF File
-Category: solutions
TOC: Load a .GLTF file
In a previous lesson we [loaded an .OBJ file](threejs-load-obj.html). If | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-load-obj.md | @@ -1,6 +1,5 @@
Title: Three.js Loading a .OBJ File
Description: Loading a .OBJ File
-Category: solutions
TOC: Load an .OBJ file
One of the most common things people want to do with three.js | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-material-table.md | @@ -1,6 +1,5 @@
Title: Material Feature Table
Description: A Table showing which matierals have which features
-Category: reference
TOC: Material Table
The most common materials in three.js are the Mesh materials. Here | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-materials.md | @@ -1,6 +1,5 @@
Title: Three.js Materials
Description: Materials in Three.js
-Category: fundamentals
TOC: Materials
This article is part of a series of articles about three.js. The | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-multiple-scenes.md | @@ -1,6 +1,5 @@
Title: Three.js Multiple Canvases Multiple Scenes
Description: How to draw stuff all over the page with THREE.js
-Category: solutions
TOC: Multiple Canvases, Multiple Scenes
A common question is how to use THREE.js with multiple canvases. | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-offscreencanvas.md | @@ -1,6 +1,5 @@
Title: Three.js OffscreenCanvas
Description: How to use three.js in a web worker
-Category: optimization
TOC: Using OffscreenCanvas in a Web Worker
[`OffscreenCanvas`](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas) | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-optimize-lots-of-objects-animated.md | @@ -1,6 +1,5 @@
Title: Three.js Optimize Lots of Objects Animated
Description: Animated merged objects with Morphtargets
-Category: optimization
TOC: Optimizing Lots of Objects Animated
This article is a continuation of [an article about optimizing lots of objects | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-optimize-lots-of-objects.md | @@ -1,6 +1,5 @@
Title: Three.js Optimize Lots of Objects
Description: Optimize by merging Objects
-Category: optimization
TOC: Optimizing Lots of Objects
This article is part of a series of articles about three.js. The first article | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-picking.md | @@ -1,6 +1,5 @@
Title: Three.js Picking
Description: Selecting Objects with the Mouse in Three.js
-Category: solutions
TOC: Picking Objects with the mouse
*Picking* refers to the process of figuring out which object a user clicked on or touched. There are tons of ways to implement picking each with their tradeoff... | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-post-processing-3dlut.md | @@ -1,6 +1,5 @@
Title: Three.js Post Processing 3DLUT
Description: How to implement a 3DLUT Post Process in THREE.js
-Category: solutions
TOC: Applying a LUT File for effects
In the last article we went over [post processing](threejs-post-processing.html). | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-post-processing.md | @@ -1,6 +1,5 @@
Title: Three.js Post Processing
Description: How to Post Process in THREE.js
-Category: solutions
TOC: Post Processing
*Post processing* generally refers to applying some kind of effect or filter to | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-prerequisites.md | @@ -1,6 +1,5 @@
Title: Three.js Prerequisites
Description: What you need to know to use this site.
-Category: basics
TOC: Prerequisites
These articles are meant to help you learn how to use three.js. | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-primitives.md | @@ -1,6 +1,5 @@
Title: Three.js Primitives
Description: A tour of three.js primitives.
-Category: fundamentals
TOC: Primitives
This article is one in a series of articles about three.js. | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-rendering-on-demand.md | @@ -1,6 +1,5 @@
Title: Three.js Rendering on Demand
Description: How to use less energy.
-Category: tips
TOC: Rendering On Demand
The topic might be obvious to many people but just in case ... most Three.js | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-rendertargets.md | @@ -1,6 +1,5 @@
Title: Three.js Render Targets
Description: How to render to a texture.
-Category: fundamentals
TOC: Render Targets
A render target in three.js is basicaly a texture you can render to. | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-responsive.md | @@ -1,6 +1,5 @@
Title: Three.js Responsive Design
Description: How to make your three.js fit different sized displays.
-Category: basics
TOC: Responsive Design
This is the second article in a series of articles about three.js. | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-scenegraph.md | @@ -1,6 +1,5 @@
Title: Three.js Scene Graph
Description: What's a scene graph?
-Category: fundamentals
TOC: Scenegraph
This article is part of a series of articles about three.js. The | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-setup.md | @@ -1,6 +1,5 @@
Title: Three.js Setup
Description: How to setup your development environment for three.js
-Category: basics
TOC: Setup
This article is one in a series of articles about three.js. | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-shadertoy.md | @@ -1,6 +1,5 @@
Title: Three.js and Shadertoy
Description: How to use Shadertoy shaders in THREE.js
-Category: solutions
TOC: Using Shadertoy shaders
[Shadertoy](https://shadertoy.com) is a famous website hosting amazing shader experiments. People often ask how they can use those shaders with Three.js. | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-shadows.md | @@ -1,6 +1,5 @@
Title: Three.js Shadows
Description: Shadows in Three.js
-Category: fundamentals
TOC: Shadows
This article is part of a series of articles about three.js. The | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-textures.md | @@ -1,6 +1,5 @@
Title: Three.js Textures
Description: Using textures in three.js
-Category: fundamentals
TOC: Textures
This article is one in a series of articles about three.js. | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-tips.md | @@ -1,6 +1,5 @@
Title: Three.js Tips
Description: Small issues that might trip you up using three.js
-Category: tips
TOC: #
This article is a collection of small issues you might run into | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-transparency.md | @@ -1,6 +1,5 @@
Title: Three.js Transparency
Description: How to deal with transparency issues in THREE.js
-Category: solutions
TOC: How to Draw Transparent Objects
Transparency in three.js is both easy and hard. | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-voxel-geometry.md | @@ -1,6 +1,5 @@
Title: Three.js Voxel(Minecraft Like) Geometry
Description: How to make voxel geometry like Minecraft
-Category: solutions
TOC: Making Voxel Geometry (Minecraft)
I've seen this topic come up more than once in various places. | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-webvr-look-to-select.md | @@ -1,6 +1,5 @@
Title: Three.js WebVR - Look to Select
Description: How to implement Look to Select.
-Category: webvr
TOC: WebVR - Look To Select
**NOTE: The examples on this page require a VR capable | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-webvr-point-to-select.md | @@ -1,6 +1,5 @@
Title: Three.js WebVR - 3DOF Point to Select
Description: How to implement 3DOF Point to Select.
-Category: webvr
TOC: WebVR - Point To Select
**NOTE: The examples on this page require a VR capable | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/threejs-webvr.md | @@ -1,6 +1,5 @@
Title: Three.js WebVR
Description: How to use Virtual Reality in Three.js.
-Category: webvr
TOC: WebVR - Basics
Making WebVR apps in three.js is pretty simple. You basically just have to tell | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/zh_cn/threejs-fundamentals.md | @@ -1,6 +1,5 @@
Title: Three.js基础
Description: 学习Three.js的第一篇文章
-Category: basics
TOC: 基础
这是Three.js系列文章的第一篇。 | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/zh_cn/threejs-prerequisites.md | @@ -1,6 +1,5 @@
Title: Three.js先决条件
Description: 使用此网站你需要了解的。
-Category: basics
TOC: 先决条件
这些文章意在帮助你学习如何使用three.js。 | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/zh_cn/threejs-responsive.md | @@ -1,6 +1,5 @@
Title: Three.js响应式设计
Description: 如何让你的three.js适应不同尺寸的显示器。
-Category: basics
TOC: 响应式设计
这是three.js系列文章的第二篇。 | true |
Other | mrdoob | three.js | fd0c00def8dbb57efdceb91b87f95988d0d5af85.json | remove un-needed categories | threejs/lessons/zh_cn/threejs-setup.md | @@ -1,6 +1,5 @@
Title: Three.js设置
Description: 如何为你的three.js设置开发环境
-Category: basics
TOC: 设置
这是three.js系列文章的其中之一。 | true |
Other | mrdoob | three.js | 3e4551bb559a9a2e337f14603cf7c6d3bb675a1e.json | use shared builder | Gruntfile.js | @@ -129,22 +129,18 @@ module.exports = function(grunt) {
filenames.add(filename);
});
});
- const buildStuff = require('./build/js/build');
+ const buildStuff = require('@gfxfundamentals/lesson-builder');
const settings = Object.assign({}, buildSettings, {
filenames,
});
... | true |
Other | mrdoob | three.js | 3e4551bb559a9a2e337f14603cf7c6d3bb675a1e.json | use shared builder | build/js/build.js | @@ -1,921 +0,0 @@
-/* global module require process */
-/* eslint no-undef: "error" */
-/* eslint no-console: "off" */
-
-/*
-
-This entire file is one giant hack and really needs to be cleaned up!
-
-*/
-
-'use strict';
-
-const requiredNodeVersion = 12;
-if (parseInt((/^v(\d+)\./).exec(process.version)[1]) < required... | true |
Other | mrdoob | three.js | 3e4551bb559a9a2e337f14603cf7c6d3bb675a1e.json | use shared builder | build/js/utils.js | @@ -1,69 +0,0 @@
-/*
- * Copyright 2014, Gregg Tavares.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *... | true |
Other | mrdoob | three.js | 0a3cff6f74732213e90664b435dccd4dc8816072.json | handle helper paths | threejs/resources/editor.js | @@ -370,7 +370,11 @@ function getSourceBlob(htmlParts) {
g.rootScriptInfo.source = htmlParts.js;
makeBlobURLsForSources(g.rootScriptInfo);
- const prefix = dirname(g.url);
+ const dname = dirname(g.url);
+ // HACK! for webgl-2d-vs... those examples are not in /webgl they're in /webgl/resources
+ // We basic... | false |
Other | mrdoob | three.js | 4952cf90600ae810c1ed11599e02c59da9aa72e8.json | fix TOC title | threejs/lessons/threejs-backgrounds.md | @@ -1,7 +1,7 @@
Title: Three.js Backgrounds and Skyboxes
Description: How to add a background in THREE.js
Category: solutions
-TOC: Load a .GLTF file
+TOC: Add a Background or Skybox
Most of the articles here use a solid color for a background.
| false |
Other | mrdoob | three.js | 60e5adb4ad1e3a328a4bd1192a6dc1083c957814.json | fix github links | build/templates/index.template | @@ -151,7 +151,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
}
</style>
-<div id="forkongithub"><a href="https://github.com/greggman/threejsfundamentals">Fix or Fork me on GitHub</a></div>
+<div id="forkongithub"><a href="https://github.com/gfxfundamentals/threejsfundamentals">Fix or For... | true |
Other | mrdoob | three.js | 60e5adb4ad1e3a328a4bd1192a6dc1083c957814.json | fix github links | threejs/lessons/zh_cn/toc.html | @@ -1,6 +1,6 @@
{{{tocHtml}}}
<ul>
- <li><a href="https://github.com/greggman/threejsfundamentals">github</a></li>
+ <li><a href="https://github.com/gfxfundamentals/threejsfundamentals">github</a></li>
<li><a href="https://threejs.org">three.js</a></li>
<li><a href="https://threejs.org/docs/">three.js docs</a... | true |
Other | mrdoob | three.js | 3c26038dff2666199428003c3f45935c080f85f8.json | fix github links | threejs/lessons/langinfo.hanson | @@ -5,8 +5,8 @@
title: 'three.js fundamentals',
description: 'Learn Three.js',
link: 'http://threejsfundamentals.org/',
- commentSectionHeader: '<div>Questions? <a href="http://stackoverflow.com/questions/tagged/three.js">Ask on stackoverflow</a>.</div>\n <div><a href="https://github.com/greggman/three... | true |
Other | mrdoob | three.js | 3c26038dff2666199428003c3f45935c080f85f8.json | fix github links | threejs/lessons/ru/langinfo.hanson | @@ -5,8 +5,8 @@
title: 'Основы three.js',
description: 'Изучение Three.js с нуля.',
link: 'http://threejsfundamentals.org/',
- commentSectionHeader: '<div>Вопросы? <a href="http://stackoverflow.com/questions/tagged/three.js">Спросите на stackoverflow</a>.</div>\n <div>Нашли ошибку? <a href="http://gith... | true |
Other | mrdoob | three.js | 3c26038dff2666199428003c3f45935c080f85f8.json | fix github links | threejs/lessons/ru/threejs-setup.md | @@ -12,7 +12,7 @@ TOC: Настройка
вашего жесткого диска. Это означает, что для разработки вам необходимо использовать веб-сервер.
К счастью, веб-серверы разработки очень просты в настройке и использовании.
-Прежде всего, если вы хотите, вы можете скачать весь этот сайт по [этой ссылке](https://github.com/greggman/t... | true |
Other | mrdoob | three.js | 3c26038dff2666199428003c3f45935c080f85f8.json | fix github links | threejs/lessons/ru/toc.html | @@ -1,6 +1,6 @@
{{{tocHtml}}}
<ul>
- <li><a href="https://github.com/greggman/threejsfundamentals">github</a></li>
+ <li><a href="https://github.com/gfxfundamentals/threejsfundamentals">github</a></li>
<li><a href="https://threejs.org">three.js</a></li>
<li><a href="https://threejs.org/docs/">three.js docs</a... | true |
Other | mrdoob | three.js | 3c26038dff2666199428003c3f45935c080f85f8.json | fix github links | threejs/lessons/threejs-align-html-elements-to-3d.md | @@ -375,7 +375,7 @@ I found [this data](http://thematicmapping.org/downloads/world_borders.php)
which contains the borders of countries. It's licensed as
[CC-BY-SA](http://creativecommons.org/licenses/by-sa/3.0/).
-I [wrote some code](https://github.com/greggman/threejsfundamentals/blob/master/threejs/lessons/tools... | true |
Other | mrdoob | three.js | 3c26038dff2666199428003c3f45935c080f85f8.json | fix github links | threejs/lessons/threejs-indexed-textures.md | @@ -50,7 +50,7 @@ then use a similar GPU picking technique. We'd draw the globe off screen using
this index texture. Looking at the color of the pixel the user clicks would
tell us the country id.
-So, I [wrote some code](https://github.com/greggman/threejsfundamentals/blob/master/threejs/lessons/tools/geo-picking... | true |
Other | mrdoob | three.js | 3c26038dff2666199428003c3f45935c080f85f8.json | fix github links | threejs/lessons/threejs-offscreencanvas.md | @@ -601,7 +601,7 @@ of the DOM events they use. Maybe we could pass in our own
object that has the same API surface as a DOM element.
We only need to support the features the OrbitControls need.
-Digging through the [OrbitControls source code](https://github.com/greggman/threejsfundamentals/blob/master/threejs/res... | true |
Other | mrdoob | three.js | 3c26038dff2666199428003c3f45935c080f85f8.json | fix github links | threejs/lessons/threejs-setup.md | @@ -13,7 +13,7 @@ WebGL cannot use images from your hard drive directly. That means
in order to do development you need to use a web server. Fortunately
development web servers are super easy to setup and use.
-First off if you'd like you can download this entire site from [this link](https://github.com/greggman/th... | true |
Other | mrdoob | three.js | 3c26038dff2666199428003c3f45935c080f85f8.json | fix github links | threejs/lessons/toc.html | @@ -1,6 +1,6 @@
{{{tocHtml}}}
<ul>
- <li><a href="https://github.com/greggman/threejsfundamentals">github</a></li>
+ <li><a href="https://github.com/gfxfundamentals/threejsfundamentals">github</a></li>
<li><a href="https://threejs.org">three.js</a></li>
<li><a href="https://threejs.org/docs/">three.js docs</a... | true |
Other | mrdoob | three.js | 3c26038dff2666199428003c3f45935c080f85f8.json | fix github links | threejs/lessons/zh_cn/langinfo.hanson | @@ -5,8 +5,8 @@
title: 'three.js基础',
description: 'Three.js基础学习',
link: 'http://threejsfundamentals.org/',
- commentSectionHeader: '<div>Questions? <a href="http://stackoverflow.com/questions/tagged/three.js">Ask on stackoverflow</a>.</div>\n <div><a href="https://github.com/greggman/threejsfundamental... | true |
Other | mrdoob | three.js | 3c26038dff2666199428003c3f45935c080f85f8.json | fix github links | threejs/lessons/zh_cn/threejs-setup.md | @@ -13,7 +13,7 @@ WebGL不能直接从你的硬件使用图片。意思是说
为了能开发你需要使用web服务。幸运的是
web服务很容易设置和使用。
-首先如果你喜欢你可以从[这个链接](https://github.com/greggman/threejsfundamentals/archive/gh-pages.zip)
+首先如果你喜欢你可以从[这个链接](https://github.com/gfxfundamentals/threejsfundamentals/archive/gh-pages.zip)
下载整个网站。
一旦下载完成双击文件来解压。
| true |
Other | mrdoob | three.js | 9c6a79f7281b8a2923b51f8745a866f3cd0cd2bf.json | use node 12 | .travis.yml | @@ -1,6 +1,6 @@
language: node_js
node_js:
- - "11"
+ - "12"
script:
- npm run build
env: | false |
Other | mrdoob | three.js | c3c06f93798d2f92707d4f4c2ecc701a19070930.json | Fix typos in buffer geometry article | threejs/lessons/threejs-custom-buffergeometry.md | @@ -17,16 +17,16 @@ of the face.
<div class="threejs_center"><img src="resources/threejs-geometry.svg" style="width: 700px"></div>
-`BufferGeometry` on the other hand uses *named* `BufferAttribute`s
-Each `BufferAttribute` represents an array of one type of data, positions,
-normals, colors, uv, and togther the al... | false |
Other | mrdoob | three.js | 9d5e65875fcd9a82f8351dd067a0db923dcfc87e.json | Remove outdated examples of ArrowHelper | docs/api/en/helpers/ArrowHelper.html | @@ -33,8 +33,6 @@ <h2>Code Example</h2>
<h2>Examples</h2>
<p>
- [example:webgl_geometries WebGL / geometries]<br/>
- [example:webgl_geometry_normals WebGL / geometry / normals]<br/>
[example:webgl_shadowmesh WebGL / shadowmesh]
</p>
| false |
Other | mrdoob | three.js | f549b793fe070b951fa1018af8cbaddf8650c11f.json | fix static value of Euler | src/math/Euler.js | @@ -17,9 +17,17 @@ class Euler {
}
- static RotationOrders = [ 'XYZ', 'YZX', 'ZXY', 'XZY', 'YXZ', 'ZYX' ];
+ static get RotationOrders() {
- static DefaultOrder = 'XYZ';
+ return [ 'XYZ', 'YZX', 'ZXY', 'XZY', 'YXZ', 'ZYX' ];
+
+ }
+
+ static get DefaultOrder() {
+
+ return 'XYZ';
+
+ }
get x() {
| false |
Other | mrdoob | three.js | 7386f92ca436be2be5b25044dc4b265af632fe2a.json | Add entry on examples files | examples/files.js | @@ -333,6 +333,7 @@ var files = {
"webxr_vr_handinput",
"webxr_vr_handinput_cubes",
"webxr_vr_handinput_profiles",
+ "webxr_vr_haptics",
"webxr_vr_lorenzattractor",
"webxr_vr_panorama",
"webxr_vr_panorama_depth", | false |
Other | mrdoob | three.js | 979f99d21b688253cab8b6e69f4816febe64fd91.json | solve hoisting in Vector3 | src/math/Vector3.js | @@ -1,7 +1,7 @@
import { MathUtils } from './MathUtils.js';
import { Quaternion } from './Quaternion.js';
-const _vector = new Vector3();
+let _vector;
const _quaternion = new Quaternion();
class Vector3 {
@@ -725,6 +725,8 @@ class Vector3 {
}
-};
+}
+
+_vector = new Vector3();
export { Vector3 }; | true |
Other | mrdoob | three.js | 979f99d21b688253cab8b6e69f4816febe64fd91.json | solve hoisting in Vector3 | src/math/Vector4.js | @@ -648,6 +648,6 @@ class Vector4 {
}
-};
+}
export { Vector4 }; | true |
Other | mrdoob | three.js | 4ed488645f9c787d7ed8cd4f6bea098a551faae0.json | Add webaudio osc | examples/webxr_vr_haptics.html | @@ -26,11 +26,42 @@
var box = new THREE.Box3();
var controllers = [];
+ var oscillators = [];
var controls, group;
+ var audioCtx = null;
init();
animate();
+ function initAudio() {
+
+ if ( audioCtx !== null ) {
+
+ return;
+
+ }
+
+ audioCtx = new ( window.AudioContext || ... | false |
Other | mrdoob | three.js | 039a75df49c2f1ca7ed92c39b5b6938188fce44b.json | Add random scale | examples/webxr_vr_haptics.html | @@ -193,11 +193,14 @@
if ( box.intersectsSphere( sphere ) ) {
child.material.emissive.b = 1;
- gamepad.hapticActuators[ 0 ].pulse( child.userData.index / group.children.length, 100 );
+ const intensity = child.userData.index / group.children.length;
+ child.scale.setScalar( 1 + M... | false |
Other | mrdoob | three.js | 1eedf1b3712f9d4f9cffa50073a30ec29678974e.json | Preserve sourcemaps in Rollup transforms.
Context: #9745, #10954. | utils/build/rollup.config.js | @@ -160,7 +160,7 @@ function glconstants() {
return {
code: code,
- map: { mappings: '' }
+ map: null
};
}
@@ -192,7 +192,7 @@ function glsl() {
return {
code: code,
- map: { mappings: '' }
+ map: null
};
}
@@ -228,7 +228,7 @@ function bubleCleanup() {
return {
... | false |
Other | mrdoob | three.js | 93c3d48e2587eca9a3987a334c65719808a05daf.json | add translation kr/threejs-shadertoy.md | threejs/lessons/kr/threejs-shadertoy.md | @@ -0,0 +1,338 @@
+Title: 쉐이더토이(Shadertoy) 활용하기
+Description: Three.js에서 쉐이더토이의 쉐이더를 사용하는 법을 알아봅니다
+TOC: 쉐이더토이 쉐이더 활용하기
+
+[쉐이더토이(Shadertoy)](https://shadertoy.com)는 다양한 쉐이더를 제공하는 유명한 사이트입니다. 시리즈를 진행하다보니 쉐이더토이에서 받은 쉐이더를 Three.js에 적용하는 법을 물어보시는 분들이 꽤 있더군요.
+
+하지만 쉐이더**토이**라고 불리는 데는 이유가 있습니다. 쉐이더토이에 올라온 쉐이더는 정석대로 만들어진 쉐이... | false |
Other | mrdoob | three.js | ab940f9e2a4976e8ed787ddb8871018d849f030d.json | fix offscreen to use es6 modules | threejs/lessons/threejs-offscreencanvas.md | @@ -10,15 +10,11 @@ to a web worker so as not to slow down the responsiveness of the browser. It
also means data is loaded and parsed in the worker so possibly less jank while
the page loads.
-One big issue with offscreen canvas is, at least in Chrome, es6 modules are not yet
-supported on web workers, so, unlike a... | true |
Other | mrdoob | three.js | ab940f9e2a4976e8ed787ddb8871018d849f030d.json | fix offscreen to use es6 modules | threejs/offscreencanvas-cubes.js | @@ -1,8 +1,4 @@
-'use strict'; // eslint-disable-line
-
-/* global importScripts, THREE */
-
-importScripts('resources/threejs/r119/build/three.min.js');
+import * as THREE from './resources/threejs/r119/build/three.module.js';
const state = {
width: 300, // canvas default | true |
Other | mrdoob | three.js | ab940f9e2a4976e8ed787ddb8871018d849f030d.json | fix offscreen to use es6 modules | threejs/offscreencanvas-worker-cubes.js | @@ -1,9 +1,4 @@
-'use strict';
-
-/* global importScripts, init, state */
-
-importScripts('resources/threejs/r119/build/three.min.js');
-importScripts('shared-cubes.js');
+import {init, state} from './shared-cubes.js';
function size(data) {
state.width = data.width; | true |
Other | mrdoob | three.js | ab940f9e2a4976e8ed787ddb8871018d849f030d.json | fix offscreen to use es6 modules | threejs/offscreencanvas-worker-orbitcontrols.js | @@ -1,15 +1,10 @@
-'use strict';
-
-/* global importScripts, init, THREE */
-
-importScripts('resources/threejs/r119/build/three.min.js');
-importScripts('resources/threejs/r119/examples/js/controls/OrbitControls.js');
-importScripts('shared-orbitcontrols.js');
+import {init} from './shared-orbitcontrols.js';
+import {... | true |
Other | mrdoob | three.js | ab940f9e2a4976e8ed787ddb8871018d849f030d.json | fix offscreen to use es6 modules | threejs/offscreencanvas-worker-picking.js | @@ -1,9 +1,4 @@
-'use strict';
-
-/* global importScripts, init, state, pickPosition */
-
-importScripts('resources/threejs/r119/build/three.min.js');
-importScripts('shared-picking.js');
+import {state, init, pickPosition} from './shared-picking.js';
function size(data) {
state.width = data.width; | true |
Other | mrdoob | three.js | ab940f9e2a4976e8ed787ddb8871018d849f030d.json | fix offscreen to use es6 modules | threejs/shared-cubes.js | @@ -1,9 +1,11 @@
-const state = {
+import * as THREE from './resources/threejs/r119/build/three.module.js';
+
+export const state = {
width: 300, // canvas default
height: 150, // canvas default
};
-function init(data) { /* eslint-disable-line no-unused-vars */
+export function init(data) { /* eslint-disa... | true |
Other | mrdoob | three.js | ab940f9e2a4976e8ed787ddb8871018d849f030d.json | fix offscreen to use es6 modules | threejs/shared-orbitcontrols.js | @@ -1,4 +1,7 @@
-function init(data) { /* eslint-disable-line no-unused-vars */
+import * as THREE from './resources/threejs/r119/build/three.module.js';
+import {OrbitControls} from './resources/threejs/r119/examples/jsm/controls/OrbitControls.js';
+
+export function init(data) { /* eslint-disable-line no-unused-v... | true |
Other | mrdoob | three.js | ab940f9e2a4976e8ed787ddb8871018d849f030d.json | fix offscreen to use es6 modules | threejs/shared-picking.js | @@ -1,11 +1,13 @@
-const state = {
+import * as THREE from './resources/threejs/r119/build/three.module.js';
+
+export const state = {
width: 300, // canvas default
height: 150, // canvas default
};
-const pickPosition = {x: 0, y: 0};
+export const pickPosition = {x: 0, y: 0};
-function init(data) { // e... | true |
Other | mrdoob | three.js | ab940f9e2a4976e8ed787ddb8871018d849f030d.json | fix offscreen to use es6 modules | threejs/threejs-offscreencanvas-w-fallback.html | @@ -19,16 +19,12 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r119/build/three.min.js"></script>
-<script src="shared-cubes.js"></script>
-<script>
-'use strict'; // eslint-disable-line
-
-/* globals state, init */
+<script type="module">
+import {init, state} from './shared-cu... | true |
Other | mrdoob | three.js | ab940f9e2a4976e8ed787ddb8871018d849f030d.json | fix offscreen to use es6 modules | threejs/threejs-offscreencanvas-w-orbitcontrols.html | @@ -22,13 +22,8 @@
<body>
<canvas id="c" tabindex="1"></canvas>
</body>
-<script src="resources/threejs/r119/build/three.min.js"></script>
-<script src="resources/threejs/r119/examples/js/controls/OrbitControls.js"></script>
-<script src="shared-orbitcontrols.js"></script>
-<script>
-'use strict'; // eslint... | true |
Other | mrdoob | three.js | ab940f9e2a4976e8ed787ddb8871018d849f030d.json | fix offscreen to use es6 modules | threejs/threejs-offscreencanvas-w-picking.html | @@ -19,19 +19,14 @@
<body>
<canvas id="c"></canvas>
</body>
-<script src="resources/threejs/r119/build/three.min.js"></script>
-<script src="resources/threejs/r119/examples/js/controls/OrbitControls.js"></script>
-<script src="shared-picking.js"></script>
-<script>
-'use strict'; // eslint-disable-line
-
-/... | true |
Other | mrdoob | three.js | ab940f9e2a4976e8ed787ddb8871018d849f030d.json | fix offscreen to use es6 modules | threejs/threejs-offscreencanvas.html | @@ -31,9 +31,7 @@
<div>no OffscreenCanvas support</div>
</div>
</body>
-<script>
-'use strict'; // eslint-disable-line
-
+<script type="module">
function main() { /* eslint consistent-return: 0 */
const canvas = document.querySelector('#c');
if (!canvas.transferControlToOffscreen) {
@@ -42,7 +40... | true |
Other | mrdoob | three.js | 63be4938a7251adb6792a4213696c1dde5457763.json | make this work as an es6 module.
We should probably make it an es6 module. | threejs/resources/webgl-debug-helper.js | @@ -29,7 +29,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-/* global define */
+/* global define, globalThis */
(function(root, factory) { // eslint-disable-line
if (typeof define === 'function' && define.amd) {
@@ -41,7 +41,7 @@
// Browser globals
root.webglDebu... | false |
Other | mrdoob | three.js | e11e17b7587e7146fb08a8d08a23c9fe04a5397f.json | try more translation hints | build/templates/example.template | @@ -1,5 +1,5 @@
<div translate="no" class="threejs_example_container notranslate">
- <div><iframe class="threejs_example" style="{{width}} {{height}}" src="/threejs/resources/editor.html?url={{{examplePath}}}{{{encodedUrl}}}{{{params}}}"></iframe></div>
+ <div><iframe class="threejs_example notranslate" translate="n... | true |
Other | mrdoob | three.js | e11e17b7587e7146fb08a8d08a23c9fe04a5397f.json | try more translation hints | threejs/lessons/resources/lesson.js | @@ -361,9 +361,8 @@ $(document).ready(function($){
window.prettyPrint();
}
$('span[class=com]')
- .replaceWith(function() {
- return $('<span class="com notranslate" translate="yes">' + this.innerHTML + '</span>');
- });
+ .addClass('translate yestranslate')
+ .attr('translate', 'yes');
... | true |
Other | mrdoob | three.js | 5c52e7f38a29c2c59cad3275e97beb194123d1fb.json | add translate attributes | build/templates/example.template | @@ -1,4 +1,4 @@
-<div class="threejs_example_container">
+<div translate="no" class="threejs_example_container">
<div><iframe class="threejs_example" style="{{width}} {{height}}" src="/threejs/resources/editor.html?url={{{examplePath}}}{{{encodedUrl}}}{{{params}}}"></iframe></div>
<a class="threejs_center" href="... | true |
Other | mrdoob | three.js | 5c52e7f38a29c2c59cad3275e97beb194123d1fb.json | add translate attributes | threejs/lessons/resources/lesson.js | @@ -355,11 +355,15 @@ $(document).ready(function($){
$('pre>code')
.unwrap()
.replaceWith(function() {
- return $('<pre class="prettyprint showlinemods">' + this.innerHTML + '</pre>');
+ return $('<pre class="prettyprint showlinemods" translate="no">' + this.innerHTML + '</pre>');
});
if ... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.