Hello,
I try to make a car with Racket.
So far I have got this :
(define (rechthoek a)
(rectangle 200 50 "solid" "black"))
(define (cirkel a)
(circle 20 "solid" "red"))
(define (auto a)
(overlay/xy (rechthoek a) -50 30 (cirkel a)))
(auto 1)
As far as I can see I cannot use overlay/xy to make the second wheel.
Must I make a images of the 2 wheels first and use overlay/xy or is there another way to achieve this ?
Regards,
Roelof Wobben
I try to make a car with Racket.
So far I have got this :
(define (rechthoek a)
(rectangle 200 50 "solid" "black"))
(define (cirkel a)
(circle 20 "solid" "red"))
(define (auto a)
(overlay/xy (rechthoek a) -50 30 (cirkel a)))
(auto 1)
As far as I can see I cannot use overlay/xy to make the second wheel.
Must I make a images of the 2 wheels first and use overlay/xy or is there another way to achieve this ?
Regards,
Roelof Wobben
____________________ Racket Users list: http://lists.racket-lang.org/users