Skip to content

Commit 68f9958

Browse files
author
ayeo
committed
Not sure why
1 parent b4af221 commit 68f9958

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

main.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,13 @@
22
import math
33
import time
44
import pygame
5-
from sympy import Point3D, Plane
65

76
radius = 1000
87
smallRadius = 300
98

109
pygame.init()
1110
screen = pygame.display.set_mode([800, 800])
1211

13-
# structure = np.empty((0,3))
14-
15-
1612
large_circles = np.empty((0,18,3))
1713
for alpha in range(0, 360, 10):
1814
radians = math.radians(alpha)
@@ -76,7 +72,6 @@ def klops(u):
7672
rotateY = np.array([[math.cos(angle), 0, math.sin(angle)], [0, 1, 0], [-1 * math.sin(angle), 0, math.cos(angle)]])
7773
rotateZ = np.array([[math.cos(angle), -1 * math.sin(angle), 0], [math.sin(angle), math.cos(angle), 0], [0, 0, 1]])
7874

79-
# use vectorized operations to rotate
8075
pp = panes.reshape((1944*2, 3))
8176
pp = pp.dot(rotateY)
8277
pp = pp.dot(rotateX)

0 commit comments

Comments
 (0)