Sunny Day

Swyddfa Developers

30 Oct 2020 1920 x 1080 1 revisions 13 sloc v0.11.0

A nice sunny day:

import arlunio.image as image
import arlunio.shape as shape

width, height = 1920, 1080
img = image.new(width, height, color="lightskyblue")

sun = shape.Circle(xc=-1.2, yc=0.8, r=0.6)
img += image.fill(sun(width=width, height=height), foreground="yellow")

hill = shape.Circle(xc=-1, yc=-2.1, r=1.5)
img += image.fill(hill(width=width, height=height), foreground="limegreen")

hill = shape.Circle(xc=1, yc=-1.8, r=1.3)
img += image.fill(hill(width=width, height=height), foreground="lawngreen")