I couldn't come up with a decent star to top the tree...sub c{rand>.07&&return'*';rand>.5?'o':'|';}my$w=shift()/2||15;for my$i +(1..$w) {print"\n",' 'x($w-$i);print c for 1..2*$i;}print"\n",' 'x($w-2),"_||_ +\n\n\n";
--
I'm not belgian but I play one on TV.
In reply to Re: ASCII Christmas tree generator
by belg4mit
in thread ASCII Christmas tree generator
by delirium
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |