React-three-fiber UI: Create shapes dynamically in react-three-fiber (Primitive placeholder)

Опубликовано: 20 Март 2026
на канале: ui-code-tv
6,306
71

A React.js, React-three-fiber UI tutorial that allows you to Create shapes dynamically by using a Primitive placeholder.

code : https://github.com/ui-code-tv/r3f-dyn...

Intro (00:0:00)
Project setup and code walk through (00:1:45)
Setup primitive placeholder and setup shape lookup object (00:8:33)
Add button and click handler (00:18:55)
Tidy up positioning and add color (00:37:00)