Skip to content

Instantly share code, notes, and snippets.

@pencelab
Created May 16, 2021 09:14
Show Gist options
  • Save pencelab/06d0532b4a8c20421d40693ec140f04e to your computer and use it in GitHub Desktop.
Save pencelab/06d0532b4a8c20421d40693ec140f04e to your computer and use it in GitHub Desktop.
panel {
val square = square {
lines = 8
char = 'd'
}
space()
val triangle = triangle {
lines = 7
char = 's'
}
space()
val rhombus = rhombus {
lines = 11
char = 'l'
}
space()
composed { square union rhombus }
space()
composed { rhombus + triangle }
space()
composed { square intersection rhombus }
space()
composed { rhombus - 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