No Description

Jaime A Torrealba C 7cb26e28fa fix: remove unused imports 2 years ago
.github 627495dae0 feat(ci): separate lint and unit test workflows 2 years ago
.vitepress f889fb250d feat: correct cientos branding 2 years ago
.vscode 42fa6e767e feat: sorted out hmr disposal of objects 2 years ago
docs dcc289534b updates docs for alphaMap 2 years ago
playground 7cb26e28fa fix: remove unused imports 2 years ago
plugins 9792c6e227 chore: no more monorepo for core 2 years ago
public 9792c6e227 chore: no more monorepo for core 2 years ago
src 6763255da7 add alphaMap in useTexture 2 years ago
.eslintignore cc11bc27c6 chore: fix linting 2 years ago
.eslintrc.cjs cc11bc27c6 chore: fix linting 2 years ago
.gitignore 9792c6e227 chore: no more monorepo for core 2 years ago
.npmrc 286ac4ccea Hola mundo 🍩🪐 2 years ago
.prettierrc.js 286ac4ccea Hola mundo 🍩🪐 2 years ago
.release-it.json 2e235a467a chore: fix before init script 2 years ago
CHANGELOG.md 3abee95f77 chore: release v2.0.0-alpha.4 2 years ago
CODE_OF_CONDUCT.md 4ff38e1829 docs: contribuiting and code of conduct guidelines 2 years ago
CONTRIBUTING.md d469c9004e docs: updated contributing docs 2 years ago
LICENSE 286ac4ccea Hola mundo 🍩🪐 2 years ago
README.md 9792c6e227 chore: no more monorepo for core 2 years ago
index.html 9792c6e227 chore: no more monorepo for core 2 years ago
netlify.toml 235768c0ca docs: added netlify and remove broken links 2 years ago
package.json 3abee95f77 chore: release v2.0.0-alpha.4 2 years ago
pnpm-lock.yaml 55e57ba2c9 chore: bump cientos to latest alpha 2 years ago
stats.html 9792c6e227 chore: no more monorepo for core 2 years ago
tsconfig.json 9792c6e227 chore: no more monorepo for core 2 years ago
tsconfig.node.json 9792c6e227 chore: no more monorepo for core 2 years ago
vite.config.ts 1fb06333a8 chore: auto import 2 years ago

README.md

@tresjs/core ▲ ■ ●

Declarative ThreeJS using Vue Components

  • 💡 Build 3D scene as they were Vue components
  • ⚡️ Powered by Vite
  • 🥰 It brings all the updated features of ThreeJS right awayregardless the version
  • 🦾 Fully Typed

Tres (Spanish word for "three", pronounced /tres/ ) is a way of creating ThreeJS scenes with Vue components in a declarative fashion. Think of it as a React-three-fiber or Lunchbox but without the need of a custom Vue3 Renderer.

Setup

pnpm install --shamefully-hoist

Dev

To run the small playground without Histoire use

pnpm run dev

Histoire

All local demos will be inside Histoire stories.

pnpm run story:dev

Build lib

To build the core as library mode just use

pnpm run build