Skip to content
Draw lightsabers using Racket's pict library
Branch: master
Clone or download
Pull request Compare This branch is 1 commit ahead of zamora:master.
Latest commit 41546d1 Sep 6, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.


Draw lightsabers using Racket's pict library (


Created for Stephen De Gabrielle's Summer 2019 standard-fish competition

The lightsaber function 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 racket-lightsaber.png for examples of each.

Modification History

07/27/2019 Justin Zamora Initial creation

You can’t perform that action at this time.