public 3d-motion repository

threejs-demo

// Avan0203/threejs-demo

This is a case library that serves as a feasibility verification and learning tool, developed using Three.js and other dependencies.

$ git log --oneline --stat
stars:14forks:5updated:2026-04-14
README.md
readonly

Three.js Demo Showcase

Audio Context

Bowling

Breaker

City

Galaxy

Modal Matrix

Rain

Voxels Generate

πŸ‘‰ Live Preview β€’ Get Started β€’ Add Your Own Case

License: MIT Powered by Three.js


Introduction

Three.js Demo is a dynamic case library built with Three.js and modern web technologies. It serves as both a learning playground and a feasibility testbed for interactive 3D web experiences.

Whether you're exploring shaders, physics simulations, or model interactions β€” this project has you covered!

Featured Capabilities

  • πŸ“¦ Model Import (GLTF, OBJ, etc.)
  • 🧊 Geometry Transformations (scale, rotate, morph)
  • πŸ“· Advanced Camera Controls (orbit, fly, first-person)
  • πŸ” Object Picking & Selection
  • 🎨 Custom Shader Effects
  • βš™οΈ Physics Integration (via Cannon.js or similar)
  • ...and more experimental features!

Three.js Demo Cover


Getting Started

Clone the repo and spin up the dev server in seconds:

# Install dependencies (using pnpm)
pnpm install

# Start the development server
pnpm dev

Visit http://localhost:6500 (or your configured port) to explore the demos!


Adding New Cases

Want to contribute a new demo? Follow these steps:

  1. Register your case in pageList.js:
{
  type: 'shaders',
  name: 'My Cool Shader',
  path: '/shaders/my-cool-shader'
}
  1. Create your demo files under the appropriate directory (e.g., src/pages/shaders/my-cool-shader/).
  2. Generate a preview screenshot:
# First time? Install browser for Puppeteer:
npx puppeteer browsers install chrome

# Then generate screenshots
pnpm screenshot
  1. Preview your work:
pnpm dev

Your new case will appear in the gallery automatically! πŸŽ‰


Contribution

We ❀️ contributions! Whether it's:

  • A bug fix 🐞
  • A new demo idea πŸ’‘
  • Documentation improvement πŸ“
  • Performance optimization ⚑

Feel free to:

  • πŸ“₯ Open an Issue
  • πŸ”„ Submit a Pull Request

Let’s build the best Three.js learning resource together!


License

This project is open-source under the MIT License.

See the LICENSE file for details.

Made with ❀️ and WebGL

Powered by Three.js, Vite, and a sprinkle of creativity ✨

metadata.json
JavaScriptdemoexamplesShadersThree.jsWebGLWebGPU

[INFO] 4 topics link to curated motion topic pages.