let w1 (x, y) = (0.836 *. x +. 0.044 *. y, (-0.044) *. x +. 0.836 *. y +. 0.169);; let w2 (x, y) = ((-0.141) *. x +. 0.302 *. y, 0.302 *. x +. 0.141 *. y +. 0.127);; let w3 (x, y) = (0.141 *. x -. 0.302 *. y, 0.302 *. x +. 0.141 *. y +. 0.169);; let w4 (x, y) = (0.0, 0.175337 *. y);; let image_width = 80;; let image_height = 80;; let makeImageBuf p n m init = for j = 1 to p - 1 do for i = 1 to n - 1 do done; done; result;; let imgBuf = makeImageBuf 3 image_width image_height 0.0;; let rec cedar n (x, y) ib = if 0 < n then begin cedar (n - 1) (w1(x,y)) ib; cedar (n - 1) (w2(x,y)) ib; end; cedar (n - 1) (w3(x,y)) ib; end; cedar (n - 1) (w4(x,y)) ib; end; end else begin if xx >= image_width then () else if yy >= image_height then () else imgBuf.(1).(xx).(yy) <- 1.0; end;; cedar 20 (0.0, 0.0) imgBuf;; for i = 0 to image_height -1 do for j = 0 to image_width -1 do done; done;;
Standard input is empty
00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000011100000000000000000000000 00000000000000000000000000000000000000000000000000000111100000000000000000000000 00000000000000000000000000000000000000000000000000111111000000000000000000000000 00000000000000000000000000000000000000000000000001111110000000000000000000000000 00000000000000000000000000000000000000000000000011111110000000000000000000000000 00000000000000000000000000000000000000000000000011111110000000000000000000000000 00000000000000000000000000000000000000000000001011111110000000000000000000000000 00000000000000000000000000000000000000000000001111111100000000000000000000000000 00000000000000000000000000000000000000000000101111111100000000000000000000000000 00000000000000000000000000000000000000000000111111111000000000000000000000000000 00000000000000000000000000000000000000000110111111111100000000000000000000000000 00000000000000000000000000000000000000000111111111111000000000000000000000000000 00000000000000000000000000000000000000000111111111111100000000000000000000000000 00000000000000000000000000000000000000001011111111111000000000000000000000000000 00000000000000000000000000000000000000001011111111110000000000000000000000000000 00000000000000000000000000000000000000001101111111111100000000000000000000000000 00000000000000000000000000000000000001001111111111111000000000000000000000000000 00000000000000000000000000000000000001101111111111110000000000000000000000000000 00000000000000000000000000000000000001111111110111011100000000000000000000000000 00000000000000000000000000000000000001111111111111111100000000000000000000000000 00000000000000000000000000000000000000111111111111110000000000000000000000000000 00000000000000000000000000000000001000111111111111110000000000000000000000000000 00000000000000000000000000000000001100111111101111111100000000000000000000000000 00000000000000000000000000000000001110011111111111111100000000000000000000000000 00000000000000000000000000000000001111111111111111111000000000000000000000000000 00000000000000000000000000000000001111111101111111110000000000000000000000000000 00000000000000000000000000000010000111111101111111000100000000000000000000000000 00000000000000000000000000000011000111111101011111101100000000000000000000000000 00000000000000000000000000000011100011111111111111111100000000000000000000000000 00000000000000000000000000000001111011111111111111111000000000000000000000000000 00000000000000000000000000000011111111111111111111111000000000000000000000000000 00000000000000000000000000000001111111111011111111110001000000000000000000000000 00000000000000000000000000000000111111111011111111100110000000000000000000000000 00000000000000000000000000000000111111111010111111011110000000000000000000000000 00000000000000000000000000110000111111111110111111111110000000000000000000000000 00000000000000000000000000111000011111111101111111111100000000000000000000000000 00000000000000000000000000011110001111111111111111111100000000000000000000000000 00000000000000000000000000011111110111111111111111111000000000000000000000000000 00000000000000000000000000011111111111110111111111111001100000000000000000000000 00000000000000000000000000001111111111100111111111110011100000000000000000000000 00000000000000000000000000001111111111110110111111011111000000000000000000000000 00000000000000000000000000000111111111111100111111111111000000000000000000000000 00000000000000000000001000000111111111111101111111111110000000000000000000000000 00000000000000000000001100000111111111111011111111111110000000000000000000000000 00000000000000000000001111000010111111111111111111111110000000000000000000000000 00000000000000000000000111110001111111111111111111111000001000000000000000000000 00000000000000000000000111111110101111101111111111111100011000000000000000000000 00000000000000000000000111111110111111001111111111110001111000000000000000000000 00000000000000000000000111111111111111001111111111100111111000000000000000000000 00000000000000000000000011111111111111101001111111111111111000000000000000000000 00000000000000000000000011111111111111101001111111111111110000000000000000000000 00000000000000000000000000111111111111111001111111111111100000000000000000000000 00000000000000000000000001111111111111111011111111111111100000000000000000000000 00000000000000000000000000011111111111111011111111111111000000000000000000000000 00000000000000000000000000011111111111111111111111111110000000000000000000000000 00000000000000000000000000000111111111111111111111111111000000000000000000000000 00000000000000000000000000001111111111011111111111111100000000000000000000000000 00000000000000000000000000000000111111001111111111111100000000000000000000000000 00000000000000000000000000000011111110001111111111110000000000000000000000000000 00000000000000000000000000000000000000001101111111111000000000000000000000000000 00000000000000000000000000000000000000001001111110000000000000000000000000000000 00000000000000000000000000000000000000001000111111100000000000000000000000000000 00000000000000000000000000000000000000001000000101000000000000000000000000000000 00000000000000000000000000000000000000001000000000000000000000000000000000000000 00000000000000000000000000000000000000001000000000000000000000000000000000000000 00000000000000000000000000000000000000001000000000000000000000000000000000000000 00000000000000000000000000000000000000001000000000000000000000000000000000000000 00000000000000000000000000000000000000001000000000000000000000000000000000000000