canvas and point building on frontend