Print a Negative of your Code

Perl, 7×7 (42 non-spaces)

for$i( 
1..56 )
{$_= $i
%8? $i%
7? $":7
: $/;1;
 print}

Output:

      7
     7 
    7  
   7   
  7    
 7     
7      

CJam, 4X4 (12 10 non-spaces)

 6, 
SS +
* 4/
 N* 

Output:

0  1
  2 
 3  
4  5

Previous version with 12 non-spaces:

 4a4
* 4S
** 4
/N* 

And the output is

4   
 4  
  4 
   4

As pointed out by Martin, this version has

  • 4 Spaces,
  • 4 *,
  • 4 4,
  • 4 other characters, and
  • 4 4 as the output

;)

Try it online here


Marbelous - 16x16

....@0..@1....  
@3..0A08..@2  ..
/\--....>1  ..Hp
..@2..\\  =0@3..
ss..//  --\\\\..
@0/\  @1/\Hp..!!
:s  #the-cake-is
  2020#a-pie/lie

Test it here! Spaces as blanks, cylindrical board, and include libraries all must be checked.

Output

              07
            06  
          05    
        04      
      03        
    02          
  01            
01              

Explanation

There are two boards here: the main board (shown below), and the ss board, which takes no inputs and outputs two spaces (0x20) to STDOUT.

A blank cell is equivalent to a .., and anything after a # is a comment.

Picture of Board

Every tick, ss outputs two spaces to STDOUT.

The green path is a simple loop that outputs a newline (0x0A) at the end of every 7th tick.

The blue path will output the numbers (Hp prints a marble as two hex digits) present in the output, at the end of every 6th tick.

After we have printed 01 once, the loop ends, and moves down the red path, which duplicates this marble.

One duplicate is printed (the second 01), and the other is sent down the black path, which terminates the board at the !! cell. Because of the location of the Hp used in this last print, the 01 appears before the same tick's two spaces, rather than after, the behavior of every other Hp call.