Thank you, I just implemented a UCBLogo compatible `arc`:
(define (arc angle radius)
(let* ([alpha (* 2 (asin (/ 1 (* 2 radius]
[rangle (* pi (/ angle 180))]
[n (abs (/ rangle alpha))]
[astep (if (> angle 0) (- alpha) alpha)])
(tprompt
(move radius)
I am imitating the Logo API to draw some shapes with `graphics/turtles`, but in
it I only find functions to draw lines, is there a way to draw an arc?
Greetings.
Killian Zhuo (KDr2, https://kdr2.com)
--
You received this message because you are subscribed to the Google Groups
"Racket
I want to split a pane into two columns and make the columns resizable by
dragging their joint border, in Qt, there's an established widget called
QSplitter for this purpose. Is there one in Racket's GUI library? or how to
implement it in the easiest way?
Thanks.
Greetings.
Killian Zhuo (KDr2,
://gist.github.com/Metaxal/946aa17033c10e76c48a74127ae0b11b
[1]
https://docs.racket-lang.org/framework/Panel.html?q=panel%3Avertical-dragable#%28def._%28%28lib._framework%2Fmain..rkt%29._panel~3avertical-dragable~25%29%29
On Wed, Mar 31, 2021 at 9:08 AM 'Killian Zhuo (KDr2)' via Racket Users
wrote:
I
Here is my configure command:
./configure --enable-cs --enable-bc --enable-csdefault
--enable-racket=$HOME/programs/racket/bin/racket
$HOME/programs/racket/bin/racket is a prebuilt Racket whose version is 7.9.
Then I ran `make cs` and `make install-cs`, all worked well.
Then `make bc` it also
of Racket that is too
old (which might be quite recent but is nonetheless too old to use in place of
bootstrapping).
Sam
On Fri, Feb 5, 2021, 6:44 PM 'Killian Zhuo (KDr2)' via Racket Users
wrote:
Here is my configure command:
./configure --enable-cs --enable-bc --enable-csdefault
--enable
eb 2021 17:57:31 -0600, Shu-Hung You wrote:
> The snapshot build here may help: https://snapshot.racket-lang.org/
>
> The HEAD version could add new internal primitives from time to time.
>
> Shu-Hung
>
> On Fri, Feb 5, 2021 at 5:52 PM 'Killian Zhuo (KDr2)' via Racket User
Thank you for the reply, it helped me a lot.
I was following
https://github.com/racket/racket/blob/master/racket/src/README.txt to build a
minimal racket (both bc and cs), and now I found out a way to do that:
in `racket/src` directory:
./configure --enable-cs --enable-bc
8 matches
Mail list logo