Niekes / d3-3d

d3-3d is a powerful JavaScript library designed for 3D visualizations, specifically tailored to work seamlessly with d3.js. This library enables the projection of 3D data onto web browsers, making it an essential tool for developers interested in creating immersive and dynamic visualizations.
BSD 3-Clause "New" or "Revised" License
352 stars 34 forks source link

Problem with .rotateZ() #2

Closed bneigher closed 6 years ago

bneigher commented 6 years ago

Hey! Nice library.

I took one of your examples and made a reusable library out of it.

It takes a bunch of [x,y,z] coordinates, and optionally a base coordinate and renders the points in 3d space. Clone It!

I am trying have the graph animate a rotation about the Z axis -- however it seems that whenever I do that -- the data gets warped! I believe there may be an issue with how the rotateZ() method works on shapes.

I have a TODO in the animate method of the main class -- if you comment that in you can see the output. Any ideas what may be causing this?