"Eye of Sauron":
import arlunio as ar
import arlunio.image as image
import arlunio.shape as shape
@ar.definition
def Sauron(width: int, height: int):
img = image.new(width, height, color="white")
ellipses = [
(shape.SuperEllipse(a=2, n=3, m=0.2, r=0.98),'#f00'),
(shape.SuperEllipse(n=2),'#f50'),
(shape.SuperEllipse(n=0.1, m=2), '#000'),
]
for ellipse, color in ellipses:
img = image.fill(
ellipse(width=1920, height=1080), foreground=color, image=img
)
return img
eye = Sauron()
img = eye(width=1920, height=1080)