[racket] flood-fill?

From: Pierpaolo Bernardi (olopierpa at gmail.com)
Date: Mon Oct 13 12:30:05 EDT 2014

On Mon, Oct 13, 2014 at 5:15 PM, Vincent St-Amour <stamourv at ccs.neu.edu> wrote:
> Is it in the package catalog?

My version it's not.  The one I modified is available from
https://github.com/acmeism/RosettaCodeData/blob/master/Task/Bitmap-Flood-fill/Racket/bitmap-flood-fill.rkt
and I don't know its status.

BTW, Matthias reviewed my queue module and offered useful suggestions.
I'm attaching the improved version here.

Matthias: this one includes all your suggestions, including growing
the store by vector fiddling.
Thank you for prodding me.   :)

And here's two examples of what I'm using the code for (still lot of
work to do):

https://farm6.staticflickr.com/5599/15337830979_c4bccae56a_o.png
https://farm4.staticflickr.com/3940/15337812549_5ec924e207_o.png

P.


> At Sat, 11 Oct 2014 20:59:09 +0200,
> Pierpaolo Bernardi wrote:
>>
>> For the record, in case someone else needs a flood-fill, attached
>> below there's what I ended up using.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: simple-queue.rkt
Type: application/octet-stream
Size: 3546 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20141013/2a9d83c2/attachment.obj>

Posted on the users mailing list.