Consider implementing flood fill in hardware for Earthrise.
The span filling algorithm seems hardware friendly. We can limit logic usage by only supporting a small (32 or 64?) element stack; complex shapes will defeat it but reasonable cases will be fine.
Consider implementing flood fill in hardware for Earthrise.
The span filling algorithm seems hardware friendly. We can limit logic usage by only supporting a small (32 or 64?) element stack; complex shapes will defeat it but reasonable cases will be fine.