added randomColor function ta canvas engine