PasteRack.org
Paste # 68741
2020-05-26 09:18:53

Forked from paste # 71763.

Fork as a new paste.

Paste viewed 350 times.


Embed:

  1. #lang racket
  2. (require 2htdp/image)
  3. (apply above
  4.        (map (lambda (l) (apply beside l))
  5.             (for/list ([x 300])
  6.               (for/list ([y 300])
  7.                 (if (and (<= (min x y) 150)
  8.                          (<= (- 300 (max x y)) 150)
  9.                          (<= (abs (- x y)) 150))
  10.                     (square 1 "solid" "black")
  11.                     (square 1 "solid" "white"))))))

=>

image