# threejs-kimi3 **Repository Path**: xuebn/threejs-kimi3 ## Basic Information - **Project Name**: threejs-kimi3 - **Description**: No description available - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-08-14 - **Last Updated**: 2026-08-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
# 🌌 Web3D 可视化实验中心 _基于 React Three Fiber 的 Three.js 技术探索与可视化实验场_ [![Three.js](https://img.shields.io/badge/Three.js-r185-000000?logo=threedotjs&logoColor=white)](https://threejs.org/) [![React](https://img.shields.io/badge/React-19-61DAFB?logo=react&logoColor=black)](https://react.dev/) [![TypeScript](https://img.shields.io/badge/TypeScript-5.9-3178C6?logo=typescript&logoColor=white)](https://www.typescriptlang.org/) [![Vite](https://img.shields.io/badge/Vite-7-646CFF?logo=vite&logoColor=white)](https://vitejs.dev/) [![Rapier](https://img.shields.io/badge/Rapier-Physics-006AFF)](https://rapier.rs/) [![TailwindCSS](https://img.shields.io/badge/Tailwind-3.4-38BDF8?logo=tailwindcss&logoColor=white)](https://tailwindcss.com/)
> 🤖 **本项目使用 [Kimi K3](https://kimi.moonshot.cn/) AI 生成,是一次 AI 编程能力的测试。** > > 项目选题结合了本人平时在 **可视化、仿真、云渲染** 这几块东摸西摸的积累,想借 AI 快速验证各类 Web3D 技术方案。 > > ⚠️ 说明:代码全由 AI 生成,**格式与结构较为杂乱**,本质上就是一次随性而为的技术测试与**代码备份**,不保证工程质量,仅供交流与玩耍。 > > 持续探索:实时 3D 渲染、物理模拟、着色器、后处理、数字人等前沿可视化技术。 ## ✨ 项目简介 一个集成了 **40+ 个可交互 Demo** 的 Web3D 实验平台,按技术主题分类组织。每个 Demo 都可在浏览器中实时运行、调参、查看效果,旨在系统性地验证和沉淀 Three.js 生态的各类技术方案。 ## 🚀 核心功能 | 模块 | 说明 | |------|------| | 🏠 **首页 Dashboard** | 项目概览与功能导航 | | 🖼️ **Demo 画廊 Gallery** | 40+ 个技术 Demo 的分类展示与预览 | | ⚡ **性能实验室 PerfLab** | 渲染性能监测与调优 | | 📝 **代码编辑器 Editor** | 内嵌 Monaco 在线编辑 | | 🎬 **转场工作室 Studio** | 场景转场效果编排 | | 🔬 **Shader Lab** | 基于 Monaco 的 GLSL 着色器实时编写与预览 | | 📦 **资产管理 Assets** | 3D 模型 / 资源管理 | ### Demo 技术分类 - 🧭 **导航与 AI**:A* 寻路 · FlowField 流场 · Guide - ✨ **粒子系统**:银河 Galaxy · GPU 粒子 · 粒子变形 · Compute 粒子 - 🏗️ **物理模拟 (Rapier)**:布料 · 掉落碰撞 · 绳索 · 载具 - 🎨 **后处理特效**:Bloom · DOF 景深 · 运动模糊 · 描边 · SSAO - 📊 **性能优化**:实例化 Instancing · LOD · 遮挡剔除 - 🦾 **逆向运动学 IK**:机械臂 · FABRIK · 六足机器人 - 💎 **着色器特效**:溶解 · 能量护盾 · 火焰 · 菲涅尔 · 全息 · 水面 - 🔄 **转场动画**:方块翻转 · 布料撕裂 · 故障 · 粒子溶解 - 🌐 **WebGPU / TSL**:TSL 材质实验 ## 🛠️ 技术栈 **核心渲染** - [Three.js](https://threejs.org/) · [@react-three/fiber](https://github.com/pmndrs/react-three-fiber) · [@react-three/drei](https://github.com/pmndrs/drei) - [@react-three/postprocessing](https://github.com/pmndrs/postprocessing) · [@react-three/rapier](https://github.com/pmndrs/react-three-rapier)(物理引擎) **前端框架** - React 19 · TypeScript · Vite 7 - [Tailwind CSS](https://tailwindcss.com/) + [shadcn/ui](https://ui.shadcn.com/)(40+ 组件) - Zustand(状态管理)· React Router 7 **扩展能力** - [@met4citizen/TalkingHead](https://github.com/met4citizen/TalkingHead)(数字人)· [@pixiv/three-vrm](https://github.com/pixiv/three-vrm)(VRM 模型) - [Monaco Editor](https://microsoft.github.io/monaco-editor/)(在线代码编辑)· [Leva](https://github.com/pmndrs/leva)(调试面板) ## 📦 快速开始 > 环境要求:**Node.js ≥ 20** ```bash # 进入应用目录 cd app # 安装依赖 npm install # 启动开发服务器 npm run dev # 构建生产版本 npm run build # 预览构建产物 npm run preview ``` 启动后访问终端输出的本地地址(默认 http://localhost:5173)。 ## 📁 项目结构 ``` . ├── app/ # 应用源码 │ ├── public/assets/ # 3D 模型 (.glb) │ ├── src/ │ │ ├── pages/ # 页面(首页/画廊/性能/编辑器/转场/Shader Lab/资产) │ │ ├── demos/ # 40+ 技术 Demo(按主题分子目录) │ │ │ ├── navigation/ # 导航与 AI │ │ │ ├── particles/ # 粒子系统 │ │ │ ├── physics/ # 物理模拟 │ │ │ ├── postprocessing/ # 后处理 │ │ │ ├── performance/ # 性能优化 │ │ │ ├── ik/ # 逆向运动学 │ │ │ ├── shaders/ # 着色器特效 │ │ │ └── transitions/ # 转场动画 │ │ ├── core/ # 核心逻辑 / store │ │ ├── components/ui/ # shadcn UI 组件 │ │ └── webgpu/ # WebGPU 后端实验 │ ├── package.json │ └── vite.config.ts ├── Web3D可视化实验中心-详细规划.md # 详细技术规划 ├── AR-XR-MediaPipe调研与技术选型.md └── 实施规划-v1.md ``` ## 📋 规划文档 - [Web3D 可视化实验中心 - 详细规划](./Web3D可视化实验中心-详细规划.md) - [AR/XR MediaPipe 调研与技术选型](./AR-XR-MediaPipe调研与技术选型.md) - [实施规划 v1](./实施规划-v1.md) ## 📝 关于本文档 本 `README.md` 由 [Warp](https://www.warp.dev/) 终端的 AI 智能体(Oz)撰写,包括自动分析项目结构、生成内容,以及完成 `git commit` / `git push` 等提交动作——全程在终端里对话式完成,未手动敲一条 git 命令。 ## 📄 License MIT
_本项目为技术探索与学习用途_