Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Sinusoidal japh - Fishy version

by imp (Priest)
on Aug 27, 2006 at 15:05 UTC ( #569879=note: print w/replies, xml ) Need Help??


in reply to Sinusoidal japh

print join('',@$_),"\n" for map{@$_->[0]}map{[[map{@$a=(@$a ,1);abs int sin($_*0.1)*6==abs($b-6)?[j,a,p,h]->[$#$a%4]:' ' }@$_],$b++,]}([1..44])x12;
         aphjaphjaphj                    aph
       hj            aph              phj   
     ap                 ja          ja      
   hj                     ph      ph        
 ap                         j    a          
j                            aphj           
 ap                         j    a          
   hj                     ph      ph        
     ap                 ja          ja      
       hj            aph              phj   
         aphjaphjaphj                    aph
I'll post a spoiler soon, ran out of time yesterday