~/talk

TresJS, a declarative way of creating 3D scenes from Vue components

Talkat Vue.js Live 2023 · 2023-05-12..05-15· [creative-coding, web-animation]
slides:none on file

TresJS provides a Vue custom renderer that maps ThreeJS classes to Vue components so scenes are declared with TresCanvas, TresPerspectiveCamera, TresMesh, TresBoxGeometry and the same constructor args via an args prop; installation is pnpm add tresjs/core plus three. Performance details: frame updates use a composable (UseRenderLoop) and template refs/shallowRef to avoid proxy overhead. A separate Cientos package supplies higher-level primitives (Text3D, Levioso/Float, model loaders). Version 2 release candidate goes public today and demos (live demo cube + animation) run successfully.

AI-written summary · about

  1. 0:00Intro
  2. 2:43ThreeJS
  3. 3:19React-three-fiber
  4. 3:57TroisJS & Lunchbox
  5. 4:37TresJS
  6. 6:14Getting started
  7. 8:46Adding an Object
  8. 10:18From ThreeJS Instances to Components
  9. 11:45Demonstration
  10. 16:52Cientos package
  11. 17:56Levioso (Float)
  12. 18:14TresJS EcoSystem
  13. 18:55Resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.