add canvas sample