Advertisement
sutasuu

pic6(colorgrid)

Oct 30th, 2024
11
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Asymptote 0.20 KB | Source Code | 0 0
  1. import geometry;
  2.  
  3. size(9cm,0);
  4. defaultpen(fontsize(12pt));
  5. dotfactor = 4;
  6.  
  7. for(int i=0; i<=10; ++i){
  8.   for(int j=0; j<=10; ++j)
  9. filldraw(shift(j,i)*unitsquare, rgb (i/10,j/10,0),black+0.1pt);
  10. }
  11.  
  12.  
Tags: Asymptote
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement