设计与多媒体

threejs-fundamentals

calesthio/openmontage

Three.js scene setup, cameras, renderer, Object3D hierarchy, coordinate systems. Use when setting up 3D scenes, creating cameras, configuring renderers, managing object hierarchies, or working with transforms.

  • 1117 次安装
  • 7.3万 星标
  • 收录于

安装命令

npx skills add https://github.com/calesthio/openmontage --skill threejs-fundamentals

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 });