threejs-fundamentals

Installation
Summary

Essential Three.js scene setup, cameras, renderers, and object hierarchies for 3D web graphics.

  • Covers scene creation, three camera types (Perspective, Orthographic, Array), renderer configuration with tone mapping and shadow support, and the Object3D hierarchy system
  • Includes right-handed coordinate system, transform operations (position, rotation, scale, quaternions), and local vs. world space conversions
  • Provides math utilities for Vector3, Matrix4, Quaternion, Euler angles, and Color with common operations like lerp, normalize, and matrix composition
  • Demonstrates responsive canvas handling, animation loops with delta time, proper resource cleanup, and performance optimization patterns like frustum culling and LOD
SKILL.md

Three.js Fundamentals

Quick Start

import * as THREE from "three";

// Create scene, camera, renderer
const scene = new THREE.Scene();
const camera = new THREE.PerspectiveCamera(
  75,
  window.innerWidth / window.innerHeight,
  0.1,
  1000,
);
const renderer = new THREE.WebGLRenderer({ antialias: true });

renderer.setSize(window.innerWidth, window.innerHeight);
renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2));
Related skills
Installs
4.3K
GitHub Stars
2.2K
First Seen
Jan 20, 2026