def function(self, p): o=2*np.pi/p.parts gens = [Spiral(turning=p.turning,outer_parts=p.parts, orientation=i*2*np.pi/p.parts) for i in range(p.parts)] return Composite(generators=gens, bounds=p.bounds, orientation=p.orientation, xdensity=p.xdensity, ydensity=p.ydensity)()
def function(self, p): gens = [ Wedge(outer_parts=p.parts, orientation=i * 2 * np.pi / p.parts) for i in range(p.parts) ] return Composite(generators=gens, bounds=p.bounds, orientation=p.orientation, xdensity=p.xdensity, ydensity=p.ydensity)()
def function(self, p): gens = [ Wedge(size=np.pi / p.parts * 2 / 3, smoothing=p.smoothing / p.parts, orientation=i * 2 * np.pi / p.parts) for i in range(p.parts) ] return Composite(generators=gens, bounds=p.bounds, orientation=p.orientation, xdensity=p.xdensity, ydensity=p.ydensity)()