Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bucket fill tool #5

Open
jacobschwantes opened this issue Jul 8, 2024 · 0 comments
Open

Bucket fill tool #5

jacobschwantes opened this issue Jul 8, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jacobschwantes
Copy link
Member

Is your feature request related to a problem? Please describe.
Currently, filling large areas of the canvas with a single color is time-consuming and tedious. Users have to manually color in each pixel or use the brush tool repeatedly, which can result in uneven coloring and takes a lot of effort.

Describe the solution you'd like
Implement a Bucket Fill tool that allows users to fill connected areas of the canvas with a single click. When a user selects the Bucket Fill tool and clicks on a pixel, it should fill all adjacent pixels of the same or similar color with the selected color, stopping at boundaries of different colors or the edge of the canvas.

Additional context

  • Need to implement an efficient flood fill algorithm client side
  • Need to determine a data type/event and how we will store that in state
@jacobschwantes jacobschwantes added the enhancement New feature or request label Jul 8, 2024
@jacobschwantes jacobschwantes changed the title Bucket fill canvas tool Bucket fill tool Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant