Second run of GeneratePoints function results in only 1 point returned
Closed this issue · 1 comments
arevi commented
When a second run of drawMouseMovement() is executed, the GeneratePoints function will return only 1 point.
This is reproducible by running the visualizer site and allowing the initial canvas to render. Once the initial canvas is rendered, we expect to see another set of points display.
Logging the 'points' variable shows a result of an array of length equaling 1. This array should contain >100 points to render a line.