Skip to content

Instantly share code, notes, and snippets.

@baku89
Created October 27, 2020 00:57
Show Gist options
  • Save baku89/083a0fb9b61d7ac67e6ffe38913f7239 to your computer and use it in GitHub Desktop.
Save baku89/083a0fb9b61d7ac67e6ffe38913f7239 to your computer and use it in GitHub Desktop.
(defvar a -36.4821)
(defvar b -5.7589)
(defvar c 13)
(defvar d [-196 24.3125])
(style (stroke "crimson" 5)
(path/subtract
(circle [0 0] 100)
(rect [(.x d) (+ -200 (.y d)) 400 200] )
)
(path/subtract
(circle [0 0] 75)
(rect (rect2d/point-size d [400 200]))
)
(circle [a b] c)
(circle [(- a) b] c)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment