What is Nostr?
Etienne Jacob /
npub1tv4…pw4l
2024-01-04 17:37:46
in reply to nevent1q…3wdt

Etienne Jacob on Nostr: Technical detail I feel like sharing: it seems to be only the second time that for ...

Technical detail I feel like sharing: it seems to be only the second time that for animation's implementation I keep track of the rotated vectors that are initially (1,0,0),(0,1,0),(0,0,1). I mean that I don't want to apply all rotations from the start of the path each time I want to draw a cube, so I use that. It seems to be related to the topic of quaternions. I got some code from somewhere that enables to do Processing's correct rotateX/Y/Z to the cube from the rotated basis.
Author Public Key
npub1tv4nv4kjgrey0c4029r0zz8qr3zvdfm49hza3wjg0e8kvlfulsksfppw4l