Dec-04-2019, 12:27 AM
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?