Graphical progressive fill

thebluepandabear therealbluepandabear at protonmail.com
Mon Dec 12 03:30:55 UTC 2022


On Sunday, 11 December 2022 at 06:50:44 UTC, Joel wrote:
> I've been trying to fill in areas with a colour but can't work 
> it out. I want something like the effect where it fills with 
> diamonds. Not all at once but building up in the main program 
> loop.
>
> ########
> #              #
> #              #
> #      #      #
> #              #
> #              #
> ########
>
> ########
> #              #
> #      #      #
> #   ###    #
> #      #      #
> #              #
> ########
>
> ########
> #        #     #
> #     ###    #
> #  ##### #
> #     ###   #
> #        #     #
> ########

There should be some ANSI sequences that allow you to do such a 
thing (as in clearing the console and refreshing), not familiar 
with any though from the top of my head.


More information about the Digitalmars-d-learn mailing list