draw avatar on canvas