rename spiral.py to main.py
This commit is contained in:
parent
fd7b0ec647
commit
69973b24f4
|
@ -1,12 +1,12 @@
|
||||||
# Alexander Bass
|
# Alexander Bass
|
||||||
# Created 4/10/24
|
# Created 4/10/24
|
||||||
# Last Edited 4/13/24
|
# Last Edited 6/5/24
|
||||||
import time
|
import time
|
||||||
from math import pi, cos, sin, sqrt # noqa: F401
|
from math import sin
|
||||||
from point import Point, Rotator
|
from point import Point, Rotator
|
||||||
from grass_donut import DonutEntity
|
from grass_donut import DonutEntity
|
||||||
from real_donut import RealDonutEntity
|
from real_donut import RealDonutEntity
|
||||||
from entity import Entity, PointBlobEntity
|
from entity import PointBlobEntity
|
||||||
from util import to_rad
|
from util import to_rad
|
||||||
|
|
||||||
WIDTH = 150
|
WIDTH = 150
|
|
@ -44,7 +44,6 @@ class RealDonutEntity(PointBlobEntity):
|
||||||
tf.build()
|
tf.build()
|
||||||
for p in self.points:
|
for p in self.points:
|
||||||
p.rotate(tf)
|
p.rotate(tf)
|
||||||
# pass
|
|
||||||
|
|
||||||
def shift(self, x, y, z):
|
def shift(self, x, y, z):
|
||||||
for p in self.points:
|
for p in self.points:
|
||||||
|
|
Loading…
Reference in a new issue