MCPcopy Create free account
hub / github.com/SuboptimalEng/three-js-tutorials

github.com/SuboptimalEng/three-js-tutorials @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
129 symbols 329 edges 75 files ⚖ MIT 0 documented · 0% updated 3y ago★ 2483 open issues

Browse by type

Functions 99 Types & classes 30
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

🥉 Three.js Tutorials

This repo contains the code for my Three.js tutorial series on YouTube. Each folder is self-contained and corresponds to a specific video. For example, the 04-dat-gui folder contains the code for the 4th Three.js tutorial (Dat.GUI Setup Guide and Tutorial).

All of these projects are made with React + Three.js so running them locally is super easy. Here's an example of how you can run the 04-dat-gui demo:

git clone https://github.com/SuboptimalEng/three-js-tutorials.git
cd three-js-tutorials/04-dat-gui/
npm install
npm run dev

Motivation

Most Three.js tutorials focus on teaching the fundamentals in plain HTML/CSS/JS. This is a good way to understand the core concepts, but it can be tedious to set up (even if you are an experienced full-stack developer).

This repo (and tutorial series) aims to improve the learning experience for those already familiar with the Node.js ecosystem. What can take 30-60 minutes to set up in HTML/CSS/JS is now reduced down to two NPM commands.

YouTube Videos

Helpful Resources

Credits

09-raycaster

07-import-model

Core symbols most depended-on inside this repo

browse all functions →

Shape

Method 75
Class 30
Function 24

Languages

TypeScript100%

Modules by API surface

16-physics-part-02/src/lib/SceneInit.js7 symbols
15-physics-part-01/src/lib/SceneInit.js7 symbols
14-tween-js/src/lib/SceneInit.js7 symbols
13-grouping-objects/src/lib/SceneInit.js7 symbols
12-shaders-in-vscode/src/lib/SceneInit.js7 symbols
11-shaders-part-02/src/lib/SceneInit.js7 symbols
10-shaders-part-01/src/lib/SceneInit.js7 symbols
09-raycaster/src/lib/SceneInit.js7 symbols
08-font-loader/src/lib/SceneInit.js7 symbols
07-import-model/src/lib/SceneInit.js7 symbols
06-textures/src/lib/SceneInit.js7 symbols
05-lighting/src/lib/SceneInit.js7 symbols

For agents

$ claude mcp add three-js-tutorials \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page