PasteRack.org
Paste # 24017
2017-10-13 15:49:11

Forked from paste # 10997.

Fork as a new paste.

Paste viewed 81 times.


Embed:

  1. #lang racket
  2. (require pict racket/draw)
  3. (dc (lambda (dc dx dy)
  4.       (define eye-path (new dc-path%))
  5.       (send eye-path arc dx dy 50 100 0 pi)
  6.       (send eye-path arc dx (+ dy 50) 50 50 pi 0 #f)
  7.       (send eye-path close)
  8.       (send dc draw-path eye-path dx dy))
  9.      50 100)

=>

image