Dataset Viewer
Auto-converted to Parquet Duplicate
instr
stringclasses
30 values
msg
stringclasses
30 values
What is the definition of the TwoHandleCup in threejs?
function createTwoHandleCup(scene, position = {x: 0, y: 0, z: 0}, color = 0xaaaaaa, size = 1) { const cupGeometry = new THREE.CylinderGeometry(2 * size, 2 * size, 5 * size, 32); const handleGeometry = new THREE.TorusGeometry(size, size / 2, 16, 100, Math.PI); const material = new THREE.MeshBasicMaterial({color: col...
What is the definition of the ThreeLegTable in threejs?
function createThreeLegTable(scene, position = {x: 0, y: 0, z: 0}, color = 0x8B4513, size = 1) { const tableTopWidth = 4 * size; const tableTopHeight = 0.2 * size; const tableTopDepth = 3 * size; const legWidth = 0.2 * size; const legHeight = 2 * size; const legDepth = 0.2 * size; const tableTopGeometry = new T...
What is the definition of the TwoLidCup in threejs?
function createTwoLidCup(scene, position = {x: 0, y: 0, z: 0}, color = 0xaaaaaa, size = 1) { const cupGeometry = new THREE.CylinderGeometry(2 * size, 2 * size, 5 * size, 32); const lidGeometry = new THREE.CylinderGeometry(2 * size, 2 * size, size / 2, 32); const material = new THREE.MeshBasicMaterial({color: color}...
What is the definition of the PerfumeBottle in threejs?
function createPerfumeBottle(scene, position = {x: 0, y: 0, z: 0}, color = 0xaaaaaa, size = 1) { const bottleBottomGeometry = new THREE.CylinderGeometry(2 * size, 3 * size, 4 * size, 32); const bottleTopGeometry = new THREE.CylinderGeometry(1 * size, 2 * size, 2 * size, 32); const bottleNeckGeometry = new THREE.Cyli...
What is the definition of the WaterKettle in threejs?
function createWaterKettle(scene, position = {x: 0, y: 0, z: 0}, color = 0xaaaaaa, size = 1) { const kettleBodyGeometry = new THREE.CylinderGeometry(3 * size, 3 * size, 6 * size, 32); const handleGeometry = new THREE.TorusGeometry(3 * size, size / 4, 16, 100, Math.PI); const spoutGeometry = new THREE.CylinderGeometr...
How to create a TwoHandleCup in Three.js?
import * as THREE from 'https://unpkg.com/three/build/three.module.js'; const scene = new THREE.Scene(); const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000); const renderer = new THREE.WebGLRenderer(); renderer.setSize(window.innerWidth, window.innerHeight); document.body.a...
How to create a ThreeLegTable in Three.js?
import * as THREE from 'https://unpkg.com/three/build/three.module.js'; const scene = new THREE.Scene(); const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000); const renderer = new THREE.WebGLRenderer(); renderer.setSize(window.innerWidth, window.innerHeight); document.body....
How to create a TwoLidCup in Three.js?
import * as THREE from 'https://unpkg.com/three/build/three.module.js'; const scene = new THREE.Scene(); const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000); const renderer = new THREE.WebGLRenderer(); renderer.setSize(window.innerWidth, window.innerHeight); document.body....
How to create a PerfumeBottle in Three.js?
import * as THREE from 'https://unpkg.com/three/build/three.module.js'; const scene = new THREE.Scene(); const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000); const renderer = new THREE.WebGLRenderer(); renderer.setSize(window.innerWidth, window.innerHeight); document.body....
How to create a WaterKettle in Three.js?
import * as THREE from 'https://unpkg.com/three/build/three.module.js'; const scene = new THREE.Scene(); const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000); const renderer = new THREE.WebGLRenderer(); renderer.setSize(window.innerWidth, window.innerHeight); document.body....
Use threejs to call the function to generate the following scene: the Three-leg Table is large, the two-handled cup is small, while two-lid cup, perfume bottle, and water kettle are very small. The bottle of the double-handle cup is placed on the center of the desktop of the three-leg table. Two-lid cup, perfume bottle...
import * as THREE from 'https://unpkg.com/three/build/three.module.js'; const scene = new THREE.Scene(); const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000); const renderer = new THREE.WebGLRenderer(); renderer.setSize(window.innerWidth, window.innerHeight); document.body....
Use threejs to call the function to generate the following scene: a Two-lid Cup is placed on a Three-leg Table. The Three-leg Table is larger than the Two-lid Cup. The lowest end of the Two-lid Cup just touches the highest end of the Three-leg Table.
import * as THREE from 'https://unpkg.com/three/build/three.module.js'; const scene = new THREE.Scene(); const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000); const renderer = new THREE.WebGLRenderer(); renderer.setSize(window.innerWidth, window.innerHeight); document.body....
Create a scene with a ThreeLegTable, TwoLidCup, PerfumeBottle, WaterKettle, and TwoHandleCup, each with specific positions, colors, and sizes in Three.js
import * as THREE from 'https://unpkg.com/three/build/three.module.js'; const scene = new THREE.Scene(); const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000); const renderer = new THREE.WebGLRenderer(); renderer.setSize(window.innerWidth, window.innerHeight); document.body.a...
In Three.js, create a scene where a small Perfume Bottle is placed on top of a larger Water Kettle. The bottom of the Perfume Bottle should align with the top of the Water Kettle.
import * as THREE from 'https://unpkg.com/three/build/three.module.js'; const scene = new THREE.Scene(); const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000); const renderer = new THREE.WebGLRenderer(); renderer.setSize(window.innerWidth, window.innerHeight); document.body....
Create a scene in Three.js where a TwoHandleCup and a ThreeLegTable are next to each other. The TwoHandleCup is half the size of the ThreeLegTable.
import * as THREE from 'https://unpkg.com/three/build/three.module.js'; const scene = new THREE.Scene(); const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000); const renderer = new THREE.WebGLRenderer(); renderer.setSize(window.innerWidth, window.innerHeight); document.body....
In a Three.js scene, place a Perfume Bottle between two TwoLidCups. The Perfume Bottle is smaller and sits equidistant from both cups.
import * as THREE from 'https://unpkg.com/three/build/three.module.js'; const scene = new THREE.Scene(); const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000); const renderer = new THREE.WebGLRenderer(); renderer.setSize(window.innerWidth, window.innerHeight); document.body....
Create a scene in Three.js with a large Water Kettle surrounded by smaller TwoHandleCups. The cups are arranged in a circle around the kettle.
import * as THREE from 'https://unpkg.com/three/build/three.module.js'; const scene = new THREE.Scene(); const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000); const renderer = new THREE.WebGLRenderer(); renderer.setSize(window.innerWidth, window.innerHeight); document.body....
Create a Three.js scene where a small Perfume Bottle is placed inside a larger TwoLidCup. The Perfume Bottle should fit inside the cup without touching its sides.
import * as THREE from 'https://unpkg.com/three/build/three.module.js'; const scene = new THREE.Scene(); const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000); const renderer = new THREE.WebGLRenderer(); renderer.setSize(window.innerWidth, window.innerHeight); document.body....
In Three.js, create a scene with three TwoHandleCups forming a pyramid structure above a large ThreeLegTable. The base of the pyramid should be just above the table.
import * as THREE from 'https://unpkg.com/three/build/three.module.js'; const scene = new THREE.Scene(); const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000); const renderer = new THREE.WebGLRenderer(); renderer.setSize(window.innerWidth, window.innerHeight); document.body....
Design a Three.js scene where a Perfume Bottle and a TwoHandleCup are placed at opposite ends of a large Water Kettle, maintaining a balanced look.
import * as THREE from 'https://unpkg.com/three/build/three.module.js'; const scene = new THREE.Scene(); const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000); const renderer = new THREE.WebGLRenderer(); renderer.setSize(window.innerWidth, window.innerHeight); document.body....
In Three.js, create a scene where a Water Kettle is suspended in the air above a TwoLidCup. The kettle should be twice the size of the cup.
import * as THREE from 'https://unpkg.com/three/build/three.module.js'; const scene = new THREE.Scene(); const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000); const renderer = new THREE.WebGLRenderer(); renderer.setSize(window.innerWidth, window.innerHeight); document.body....
Create a Three.js scene with a small Perfume Bottle leaning against a larger Water Kettle. The Bottle is half the size of the Kettle.
import * as THREE from 'https://unpkg.com/three/build/three.module.js'; const scene = new THREE.Scene(); const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000); const renderer = new THREE.WebGLRenderer(); renderer.setSize(window.innerWidth, window.innerHeight); document.body.a...
In Three.js, create a scene with a ThreeLegTable and a TwoHandleCup at each leg. The cups are significantly smaller than the table.
import * as THREE from 'https://unpkg.com/three/build/three.module.js'; const scene = new THREE.Scene(); const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000); const renderer = new THREE.WebGLRenderer(); renderer.setSize(window.innerWidth, window.innerHeight); document.body.a...
Design a Three.js scene where a large Perfume Bottle is surrounded by four smaller TwoLidCups in a square formation.
import * as THREE from 'https://unpkg.com/three/build/three.module.js'; const scene = new THREE.Scene(); const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000); const renderer = new THREE.WebGLRenderer(); renderer.setSize(window.innerWidth, window.innerHeight); document.body.a...
In Three.js, create a scene with a Water Kettle and a TwoHandleCup on opposite sides of a large ThreeLegTable.
import * as THREE from 'https://unpkg.com/three/build/three.module.js'; const scene = new THREE.Scene(); const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000); const renderer = new THREE.WebGLRenderer(); renderer.setSize(window.innerWidth, window.innerHeight); document.body.a...
Create a scene in Three.js where a small TwoHandleCup is balancing on top of a slender Perfume Bottle.
import * as THREE from 'https://unpkg.com/three/build/three.module.js'; const scene = new THREE.Scene(); const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000); const renderer = new THREE.WebGLRenderer(); renderer.setSize(window.innerWidth, window.innerHeight); document.body.a...
In Three.js, make a scene with a ThreeLegTable, a Water Kettle underneath it, and two TwoLidCups on its top.
import * as THREE from 'https://unpkg.com/three/build/three.module.js'; const scene = new THREE.Scene(); const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000); const renderer = new THREE.WebGLRenderer(); renderer.setSize(window.innerWidth, window.innerHeight); document.body.a...
Design a Three.js scene where several Perfume Bottles are arranged in a circle around a central TwoHandleCup.
import * as THREE from 'https://unpkg.com/three/build/three.module.js'; const scene = new THREE.Scene(); const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000); const renderer = new THREE.WebGLRenderer(); renderer.setSize(window.innerWidth, window.innerHeight); document.body.a...
In Three.js, create a scene with a large Water Kettle flanked on each side by a smaller Perfume Bottle.
import * as THREE from 'https://unpkg.com/three/build/three.module.js'; const scene = new THREE.Scene(); const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000); const renderer = new THREE.WebGLRenderer(); renderer.setSize(window.innerWidth, window.innerHeight); document.body.a...
Create a Three.js scene where a stack of TwoLidCups is topped with a small Perfume Bottle.
import * as THREE from 'https://unpkg.com/three/build/three.module.js'; const scene = new THREE.Scene(); const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000); const renderer = new THREE.WebGLRenderer(); renderer.setSize(window.innerWidth, window.innerHeight); document.body.a...
README.md exists but content is empty.
Downloads last month
2