Thinking about trying Triplex — the React Three Fiber editor? triplex.dev
Make sure to join the Discord community 👉 discord.gg/nBzRBUEs4b
#threejs #r3f #react
This looks amazing @itsdouges - how does one get started in the world of “3D react”? I have so many questions on what is possible.
1
1
52
Think of React Three Fiber as a superset of threejs, anything that is possible in three is possible in r3f!
React is used to declare what should be rendered. In the image above each object you see is a custom component that renders something, such as a box!
But of you only rendered elements your scene would be quite static. You have a frame loop with r3f out of the box and you can animate objects using it. Anywhere from simple interpolations through the complex orchestrated animation with something like theatrejs.
I found the best way to get started by trying to make something and reading the threejs/r3f docs (all three classes are react components in r3f). If you want more help threejs journey is great for an in depth guided course.
Good luck!
1
68
Thanks @itsdouges! I’ll take a dive into this… do you think it would be possible to build a CIvilisation 6 turn based game using this tech?
1
24
Anything is possible it just depends how much friction you’ll have. Threejs by itself isn’t a game engine so you choose your own adventure for basically everything. Is it possible? Yes. Will it be easy? Probably not.
Jun 9, 2023 · 8:55 AM UTC
1
42


