Python Forum
Moving object in 3d plot
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Moving object in 3d plot
#2
Not understand what is the reason to use tensorflow here. Translation in 3D space can be done easily by addition a vector, e.g. np.array([x, y, z]), to cube's vertices (2d numpy array).

# cube1 = ... 

amount = np.array([3, -3, 0])
translated_cube = amount + cube1
plot_basic_object(translated_cube)
plt.show()
Are you talking about animation?
Reply


Messages In This Thread
Moving object in 3d plot - by jonathan2582 - Dec-03-2019, 09:09 PM
RE: Moving object in 3d plot - by scidam - Dec-04-2019, 12:27 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Object moving in a spiral JakeWitten 5 4,883 May-02-2017, 04:31 AM
Last Post: JakeWitten

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020