x2=0,
                y2=RADIUS - 5,
                color='red',
                line_width=0.5)
device.add_circle(
    id='circle',
    radius=2,
    pos_x=0,
    pos_y=RADIUS - 7,
    color='red',
)

hours = int(device.input("Uhrzeit: Stunden", input_type="number"))

device.update_line(id='hour',
                   x2=sin(radians(30 * hours)) * (RADIUS - 10),
                   y2=cos(radians(30 * hours)) * (RADIUS - 10))
minutes = int(device.input("Uhrzeit: Stunden", input_type="number"))
device.update_line(id='minute',
                   x2=sin(radians(6 * minutes)) * (RADIUS - 7),
                   y2=cos(radians(6 * minutes)) * (RADIUS - 7))
seconds = int(device.input("Uhrzeit: Stunden", input_type="number"))
seconds = 17
device.update_line(id='seconds',
                   x2=sin(radians(6 * seconds)) * (RADIUS - 5),
                   y2=cos(radians(6 * seconds)) * (RADIUS - 5))
device.update_circle(id='circle',
                     pos_x=sin(radians(6 * seconds)) * (RADIUS - 7),
                     pos_y=cos(radians(6 * seconds)) * (RADIUS - 7))
device.disconnect()
device.clear_playground()
device.configure_playground(
    width=100,
    height=100,
    origin_x=50,
    origin_y=50,
    color="#FF3366"
)
device.add_line(0, 0, 20, 20, line_width=2)
device.add_line(0, 0, 0, 20, line_width=2)
device.add_line(-20, 0, 0, 0, color="white")
device.add_line(0, 20, -20, 20, color="white")
device.add_line(0, 0, 10, 10, color="white")
id = device.add_line(0, 0, 10, 0, color="yellow")
device.sleep(1)
device.update_line(id, x2=0, y2=-10)
with device.add_lines() as add:
    for i in range(30):
        add(x1=-25, y1=i * 2, x2=-45, y2=i * 2, line_width=1, color="lightblue")


device.add_line(0, 0, 10, 0, line_width=2, color='hsla(0, 100%, 50%, 0.5)')
device.add_line(0, 0, 10, 10, line_width=2, color='hsla(120, 100%, 50%, 0.5)')
device.add_line(0, 0, 0, 10, line_width=2, color='hsla(240, 100%, 50%, 0.5)')

device.add_line(0, 0, -10, -10, line_width=2, color='hsla(90, 100%, 50%, 0.5)')
device.add_line(0, 0, -10, 0, line_width=2, color='hsla(180, 100%, 50%, 0.5)')


# device.add_line(-1, -1, -10, -10, line_width=2)
# device.add_line(-1, 0, -10, 0, line_width=2)