main.js import * as THREE from 'three'; import { OrbitControls } from 'three/addons/controls/OrbitControls.js'; const CUBE_COUNT = 500; const SPACE_SIZE = 24; const CUBE_SIZE = 0.8; const MIN_SPEED = 0.05; const MAX_SPEED = 0.35; const SATURATION = 0.9; const VALUE = 0.8; const scene = new THREE.Scene(); scene.background = new THREE.Color(0x222831); const camera = new THREE.PerspectiveCamera( 60, window.innerWidth / window.innerHeight, 0.1, 1000 ); camera.position.set(0, 0, SPACE_SIZE * 1.6);...
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile