Skip to content

Instantly share code, notes, and snippets.

@pencelab
Created May 16, 2021 04:41
Show Gist options
  • Save pencelab/039ebe1870446c27b014f2c4fda4ee13 to your computer and use it in GitHub Desktop.
Save pencelab/039ebe1870446c27b014f2c4fda4ee13 to your computer and use it in GitHub Desktop.
panel {
val square = square {
lines = 8
char = 'd'
}
space()
val triangle = triangle {
lines = 8
char = 'd'
}
space()
val rhombus = rhombus {
lines = 11
char = 'l'
}
space()
composed { square union rhombus }
space()
composed { rhombus union triangle }
space()
composed { square intersection rhombus }
space()
composed { rhombus intersection triangle }
space()
composed { square union rhombus union triangle }
space()
composed { square intersection rhombus intersection triangle }
}.print()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment