I researched about Douglas Peucker algorithm. Maybe I can use it as an alternative solution to just free flow my drawing. But my problem is that when I'm drawing, the previous drawn points are also moving. Is there any way to make the drawn lines stationary while drawing within the same collection of points in an array.
Here is the code