def setup(): size(500, 500) stroke(204, 102, 0) #this is made with 3 rgb values strokeWeight(10) global moods moods =…