Draggable and Moveable 3D Hex Grid with R3F #95
tommmyngo
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
Related question: Is there a reason why the first hex.center otherwise (0 , 0) doesn't start at {x : 0 , y : 0} but instead { x: 0.8660254037844386, y: 1 }? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://codesandbox.io/s/three-fiber-hex-grid-y0uzjx
Pan with Middle mouse
Rotate with Right mouse
Zoom with Scroll
Pretty cool that Three.js cylinder mesh radius dimensions match up 1:1 with the Hex radius in
defineHex
so you can use it to space out your grid howeverBeta Was this translation helpful? Give feedback.
All reactions