This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.clear(); | |
var gui, scene, camera, renderer, orbit, lights; | |
function initScene () { | |
scene = new THREE.Scene(); | |
camera = new THREE.PerspectiveCamera( 75, window.innerWidth / window.innerHeight, 0.1, 400 ); | |
camera.position.x = -20; | |
camera.position.z = 30; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.clear(); | |
var scene, camera, renderer, orbit, light; | |
scene = new THREE.Scene(); | |
scene.fog = new THREE.Fog(0xF4F4F4, 20, 200); | |
camera = new THREE.PerspectiveCamera( 75, window.innerWidth / window.innerHeight, 10, 200 ); | |
camera.position.z = 70; | |
camera.position.y = 40; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.clear(); | |
/*////////////////////////////////////////*/ | |
var scene, camera, renderer, orbit, light; | |
let renderCalls = []; | |
scene = new THREE.Scene(); | |
scene.fog = new THREE.Fog(0x242426, 20, 600); |
3D drum set built with THREE.js, GSAP and Howler. Drum samples from the amazing Darren King, available at https://www.iwantthatsound.com/product/darren-king-drums/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.clear(); | |
var renderCalls = []; | |
var scene, camera, renderer, orbit, light; | |
scene = new THREE.Scene(); | |
scene.fog = new THREE.Fog(0x222222, 20, 400); | |
camera = new THREE.PerspectiveCamera( 75, window.innerWidth / window.innerHeight, 10, 400 ); |