1234567891011 |
- def music_visualize_3d(self):
- t = np.linspace(0, 2 * np.pi, self.window)
- x, y = np.cos(t), np.sin(t)
- fig = plt.figure()
- ax = fig.gca(projection='3d')
- ax.set_axis_off()
- lf, = ax.plot(x, y, np.zeros(self.window), lw=1, color='lightblue')
- lf2, = ax.plot(x, y, np.zeros(self.window), lw=1, color='orange')
- plt.pause(self.record_delay)
-
|