Skip to content

Instantly share code, notes, and snippets.

@rdsr
Created November 16, 2010 05:12
Show Gist options
  • Save rdsr/701463 to your computer and use it in GitHub Desktop.
Save rdsr/701463 to your computer and use it in GitHub Desktop.
(define image (line 0 0 'white))
(define (draw-line v1 v2)
(set! image
(add-line image
(xcor-vect v1) ; x-coordinate ...etc
(ycor-vect v1)
(xcor-vect v2)
(ycor-vect v2)
'black)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment