staghado commited on
Commit
20d121d
·
1 Parent(s): 6afd12d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -90,7 +90,9 @@ def fourier_transform_drawing(input_image, frames, coefficients, img_size):
90
  c = c * np.exp(1j*(fr * tau * t))
91
  r = np.linalg.norm(c)
92
  x, y = center[0] + r * np.cos(theta), center[1] + r * np.sin(theta)
93
- circle_lines[_].set_data([center[0], center[0 ]+ np.real(c)], [center[1], center[1] + np.imag(c)])
 
 
94
  circles[_].set_data(x, y)
95
  center = (center[0] + np.real(c), center[1] + np.imag(c))
96
 
 
90
  c = c * np.exp(1j*(fr * tau * t))
91
  r = np.linalg.norm(c)
92
  x, y = center[0] + r * np.cos(theta), center[1] + r * np.sin(theta)
93
+ print(x)
94
+ print(center)
95
+ circle_lines[_].set_data([center[0], center[0] + np.real(c)], [center[1], center[1] + np.imag(c)])
96
  circles[_].set_data(x, y)
97
  center = (center[0] + np.real(c), center[1] + np.imag(c))
98