A simple paint program written in Racket.
From DrRacket:
- Install: In DrRacket, click on
File|Install Package…
then typeracket-paint
and Enter. - Launch: In a the interaction window, type
(require racket-paint)
.
Or from the command line:
- Install:
raco pkg install racket-paint
- Launch:
racket -l racket-paint
Everything should be pretty obvious.
Some notes:
- Right-click on color buttons to change the color (or to pick one from the screen).
- Press Control when drawing a shape to center it on the coordinate of the first click.
- Press Shift when drawing a shape to make it square-like.