▵ Triplex.dev 0.56.0 has been released with some great new features and choice bug fixes!

 What’s Triplex? It’s an editor for React Three Fiber where YOUR code is the source of truth.

 Learn more about this release below 🧵 
#threejs #react #r3f #webgamedev
4
18
5
136
54,089
Edit props given to the component you have open to test it in out over different states. Changed props only last during your session however — so when you close Triplex they’re gone! Here we tweak foliage props.
1
9
974
The number input has been improved with slider and increment/decrement behaviour. Use keyboard modifiers (shift/ctrl) to control how fine grained it should be! Here we position the camera juuuuust right.
1
7
702
Declare JSDoc tags in prop descriptions and Triplex will use them where supported. The first supported tags are @max and @min used in the number input. Here the offset props have had constraints applied to them.
1
4
562
GLTF is a common asset exported from 3D software like Blender. Now you can add them to your components straight through Triplex without needing to write out the code for it.
1
7
485
Host elements such as mesh can now be labelled using the name prop. When set they are used as the name shown in the scene panel.

Aug 28, 2023 · 12:58 PM UTC

1
3
422
Previously props that were a union type, such as one that takes a number and a string, would lose the ability switch between them in the context panel when the prop was set with a value. This is now fixed.
1
3
547