🎉🎉🎊 一款让你的三维可视化项目快速落地の开源框架 🎊🎉🎉 永久开源,免费商用 【 three vue ts js 】
APACHE-2.0 License
@ThreeJS @Vue3.x @TresJS
Developed by icegl, permanently open-source and free for commercial use, with ongoing updates. Please click the star in the upper right corner to follow.
This project integrates into three major ecosystems:
ThreeJS * Click for details A renowned 3D library based on browser rendering using JavaScript.
Vue3.x * Click for details A web frontend framework that is easy to learn and use, performs excellently, and supports a wide range of scenarios.
TresJS * Click for details An npm package that enables declarative ThreeJS using Vue3.x components, designed for building 3D projects in frontend development.
Since the project is frequently updated and compiled, if you encounter access errors, please clear your browser cache.
FesJS
Click for details
The npm full-featured version keeps up with the latest ThreeJS version. TresJS
adopts the latest Vue3.x syntactic sugar and supports both TS/JS, allowing you to build 3D visualization projects in the most efficient and enjoyable way.
<template>
<TresCanvas window-size>
<TresPerspectiveCamera />
<TresMesh>
<TresTorusGeometry :args="[1, 0.5, 16, 32]" />
<TresMeshBasicMaterial color="orange" />
</TresMesh>
</TresCanvas>
</template>
<script setup lang="ts">
import { useRenderLoop, useTexture } from '@tresjs/core'
const pTexture = await useTexture(['./**.jpg', './**.png'])
const { onLoop } = useRenderLoop()
onLoop(({ delta }) => {
})
</script>
1git clone the repository or download this project directly.
2Navigate to the project root directory with cd
3yarn // Install dependencies.
4yarn pre.dev // Debug mode for preview.
5yarn dev // Debug mode for your own project.
6yarn pre.build // Compile and bundle for preview.
7yarn build // Compile and bundle for your own project.
8yarn both // Start both dev and pre.dev simultaneously, allowing you to debug your own project while referencing and porting examples and plugins.
If you encounter any problems while using the project, please contact us through the following channels:
This project is released under the Apache 2.0 open-source license, providing free lifetime use and allowing commercial applications.
If you use this project for commercial purposes, please comply with the Apache 2.0 license and retain the authors technical support acknowledgment.
The copyright information of third-party source code and binary files included in this project will be noted separately.
Follow our official WeChat account to receive the latest updates.
Copyright 2022-2026 by icegl (https://www.icegl.cn)
All rights reserved