lovasoa / whitebophir

Online collaborative Whiteboard that is simple, free, easy to use and to deploy
https://wbo.ophir.dev
GNU Affero General Public License v3.0
2.06k stars 404 forks source link

Give the eraser a width #8

Open lovasoa opened 5 years ago

lovasoa commented 5 years ago

Currently, the eraser is just one pixel wide. It means that you have to be very precise when trying to erase a small shape, like a single point. We could make the eraser larger, so that you can just click less that X pixels away from a shape to erase it.

adrian1001 commented 4 years ago

For long pencil strokes deleting the entire object is usually a bit too much. Boils down to what is already mentioned in the eraser.js //TODO: add the ability to erase only some points in a line.

Thoughts:

Potential issues:

lovasoa commented 4 years ago

Yes, these are good ideas. But all of them require a significant refactoring of the existing code. There is currently no spacial index of the shapes.