Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
|
|
|
|
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 |
|