size = bitshift 1 4 - 1
for y = size downto 0
   for i = 0 to y - 1
      write " "
   .
   for x = 0 to size - y
      if bitand x y <> 0
         write "  "
      else
         write "* "
      .
   .
   write "\n"
.
