[racket] Programmatic drawing
Yes, the `dc` pict constructor provides a bridge between `racket/draw`
and picts:
#lang slideshow
(slide
(dc (lambda (dc x y)
(send dc draw-spline
x y
(+ x 20) (+ y 80)
(+ x 100) (+ y 100)))
100 100))
At Thu, 30 Oct 2014 23:46:21 +0530, C K Kashyap wrote:
> Dear Racket folks,
>
> I'd like to use Dr Racket to generate some drawings. I liked the way I can
> compose and create images using slideshow. I could not figure how I could
> draw arbitrary curves though?
>
> When I looked for it I found the racket/draw package. Can the racket/draw
> functions be used along with slideshow?
>
> Or is there any other recommended package for achieving interactive drawing
> creation?
>
> Regards,
> Kashyap
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users