Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.lang.c Subject: Re: filling area by color atack safety Date: Wed, 20 Mar 2024 06:51:20 -0700 Organization: A noiseless patient Spider Lines: 16 Message-ID: <86frwlm2p3.fsf@linuxsc.com> References: <86h6h3nvyz.fsf@linuxsc.com> <865xxiok09.fsf@linuxsc.com> <20240319131842.00002138@yahoo.com> <20240319154900.00001dca@yahoo.com> <86jzlxms22.fsf@linuxsc.com> <20240320105647.000070ff@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: dont-email.me; posting-host="7a780175fd21d30328a8a78d1217a04c"; logging-data="1605533"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18xPY7dgIj18DQOTPQT2VlRrxtpS8pVCJ0=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:eyGVRmG8IpjNScj+A3/mkFqYx+8= sha1:91yGC8VzyNW9K/MvfZ0mpAV/NbY= Bytes: 1708 Michael S writes: > On Tue, 19 Mar 2024 21:43:33 -0700 > Tim Rentsch wrote: [...] >> To me it looks like this recursive algorithm doesn't find all >> pixels that need coloring in some situations. > > Yesterday night I had few doubts myself, but after further thinking > came to conclusion that it it works in all situations. Sorry, my bad. I did some experiments to convince myself the algorithm sometimes doesn't work, but it turns out the results showed a problem in the experiments rather than the algorithm. :/