Add lines demo using canvas