The art world is in the midst of a digital revolution. In recent years, artificial intelligence (AI) has established itself as a fascinating tool for artists, capable of creating works of art that rival traditional media such as painting, sculpture or photography in terms of quality and aesthetics. But how exactly does it work that machines can now create art that rivals the creations of human artists in terms of complexity and beauty?