The force is strong with this one!

On Tue, 30 Jul 2019 at 21:06, Justin Zamora <[email protected]> wrote:

> Stephen De Gabrielle announced this a few days ago on racket-dev, so I
> spent my weekend embracing my inner Star Wars nerd and made
> lightsabers in Racket. I had never used the pict library before, so it
> was also an interesting learning experience.
>
> I created a lightsaber function that produces a pict of a lightsaber.
> The only required argument is a color, which can be either a color
> name or a color% object. A length can be provided as an optional
> argument, as well as a style for the lightsaber hilt. The default hilt
> is Luke Skywalker's (#:style 'luke), but you can also select Darth
> Vader's (#:style 'vader), Kylo Ren's (#:style 'kylo), or Darth Maul's
> (#:style 'maul). See the attached picture for examples of each.
>
> The code is available at https://github.com/zamora/lightsaber
>
> Thanks to Stephen De Gabrielle for providing the incentive to learn
> about pict and have some fun!
>
> Justin
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/CA%2B80D0Xhbq8VTvNLL3CsA6zgQEXmj8uWzY_JzzRVZNboMVaYbg%40mail.gmail.com
> .
>
-- 
----

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CAGHj7-JXFD60Tp9f-YaaeHbsv9rRBD1u%3DBDcXf56to6YZe8m0g%40mail.gmail.com.

Reply via email to