From 3e34087a6032d1e9d34731c09265e4061f0b30ff Mon Sep 17 00:00:00 2001 From: Andinus Date: Wed, 24 Nov 2021 11:15:04 +0530 Subject: raku/DFS: Detect starting point, Tweak colors for GenerateFrame --- lib/Fornax/GenerateFrame.rakumod | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/Fornax') diff --git a/lib/Fornax/GenerateFrame.rakumod b/lib/Fornax/GenerateFrame.rakumod index e19d342..26cf97d 100644 --- a/lib/Fornax/GenerateFrame.rakumod +++ b/lib/Fornax/GenerateFrame.rakumod @@ -30,8 +30,8 @@ constant %C = ( enum IterStatus ; sub generate-frame( - :%CANVAS, :$out, :%excess, :$side, :%meta, :$iter is copy - , :$idx, :$debug, + :%CANVAS, :$out, :%excess, :$side, :%meta, :$iter is copy, + :$idx, :$debug, ) is export { my IterStatus $status; given $iter.substr(0, 1) { @@ -82,9 +82,9 @@ sub generate-frame( .rgba: |%C, 0.96 if $status == Blocked; } when $cell eq $VIS { - .rgba: |%C, 0.72; + .rgba: |%C, 0.84; } - when $cell eq $BLOK { .rgba: |%C, 0.56 } + when $cell eq $BLOK { .rgba: |%C, 0.48 } when $cell eq $STRT|$DEST { .rgba: |%C, 0.72 } default { .rgba: |%C, 0.08 } } -- cgit 1.4.1-2-gfad0