Difference between revisions of "User:Herefishyfishy1"

(Blanked the page)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<asy>
 
import three;
 
size(300);
 
currentprojection=orthographic(7,7,7);
 
int[][] x={{5, 5, 4, 1, 1}, {5, 3, 2, 1, 1},{4, 2, 2, 1, 0},{3, 2, 1, 1, 0},{1, 1, 1, 1, 0}};
 
int[][] y={{5, 5,4, 4, 4}, {3, 3, 3, 2, 0},{3, 2, 1, 1, 0},{3, 1, 1, 0, 0},{2, 1, 0, 0, 0}};
 
int[][] z={{5, 5,5, 5, 2}, {4, 4, 3, 0, 0},{4, 2, 1, 0, 0},{3, 1, 1, 0, 0},{2, 1, 0, 0, 0}};
 
for(int i=0;i<5;++i){
 
for(int j=0;j<5;++j){
 
filldraw((i, j, x[i][j])--(i+1, j, x[i][j])--(i+1, j+1, x[i][j])--(i, j+1, x[i][j])--cycle, darkgreen, black);
 
filldraw((j, y[i][j], i)--(j+1,y[i][j], i)--(j+1,y[i][j], i+1)--(j,y[i][j], i+1)--cycle, paleblue, black);
 
filldraw((z[i][j],j, i)--(z[i][j],j+1, i)--(z[i][j],j+1, i+1)--(z[i][j],j, i+1)--cycle, rgb(1,1,0.8), black);
 
}
 
}
 
</asy>
 
  
Hooray for Asymptote!
 

Latest revision as of 09:14, 3 October 2009