Tresjs/lab has 112 GitHub stars and 17 forks. GitHot measured 0 stars in 24 hours, 0 in 7 days, and 0 in 15 days. Last checked 2026-11-23 04:00 UTC. Last push 2025-09-21.
Gemessener Sternzuwachs
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
Über uns
Showcase and examples lab for TresJS
Kreativität und MedienREADME.md
Original
TresJS Lab
Showcase and examples lab for TresJS
Live at Lab
Setup
Make sure to install the dependencies:
# yarn
yarn install
# npm
npm install
# pnpm
pnpm install
Development Server
Start the development server on http://localhost:3000
npm run dev
Production
Build the application for production:
npm run build
Locally preview production build:
npm run preview
Check out the deployment documentation for more information.
Add an experiment 🧪
You can easily add new TresJS examples into the playground by creating a branch from main with the following structure feature/name-of-your-demo.
This playground uses nuxt/content
Add yourself as an author
First, add yourself as an author so your name figures on the demos you create

- Create a
your-name.mdfile undercontent/authorsdirectory. - Add Frontmatter to provide your meta-data
---
name: Alvaro Saburido
slug: alvarosabu
email: [email protected]
twitter: alvarosabu
github: alvarosabu
website: https://alvarosaburido.dev
avatar: https://avatars.githubusercontent.com/u/4699008?s=96&v=4
---
Add a demo
Every demo or experiment consist on two parts
- A markdown file under
content/experiments/ - A vue component containing the scene under
components/content
- Create a
your-awesome-demo.mdfile undercontent/experimentsdirectory. - Add Frontmatter to provide the meta-data of your experiment, this is crucial to get the cards on the home page nice and pretty. Remember to add the
slugof yourauthorto the correspondant field.
---
thumbnail: /lowpoly-planet.png
title: Low Poly Planet
slug: lowpoly-planet
author: alvarosabu
description: Low Poly Planet exported from Blender
tags: ['basic', 'cientos', 'useGLTF', 'blender']
---
- Create a component under
components/contentto hold your scene. If your scene containsasync features, you can create it like this and Nuxt will auto-import it.
└── components/content/
└── lowpoly-planet/
├── index.vue // This will be the `root` cmponent containing the `TresCanvas`
└── model.vue // Component with async operation
- Add it to the file created on steps 1 and .
---
thumbnail: /lowpoly-planet.png
title: Low Poly Planet
slug: lowpoly-planet
author: alvarosabu
description: Low Poly Planet exported from Blender
tags: ['basic', 'cientos', 'useGLTF', 'blender']
---
<LowpolyPlanet />
- Take a screenshot of your scene ot the
publicdirectory.
Broken Github demo links
Note that the system will automatically add a link to your demo's source code on Github, so that visitors can see how you made your demo.
The link will be broken until your demo is merged into the main Lab branch.
License
Sponsors
Be the first to support this project here ☺️
Ähnliche Projekte entdecken
Wird geladen…