Created
September 5, 2020 12:10
-
-
Save baku89/30afdbbac3e7c5525c4865adebb59378 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#@{:expanded true}(def text-paths | |
[(text "Foo\nBar Buz" [163.6896 -286.8947] :size 120) | |
(text "waaa\nsd\nerwer" [-387.6719 -332.4019] :size 72) | |
(text "@@@\n@@@@\n@@@" [244.4186 26.8916] :size 63.2)]) | |
:start-sketch | |
(background "#EFF0EB") | |
(style (fill "#6E8492") | |
(for [text-path text-paths] | |
[:g :_ | |
(style [(fill "#EACB48")] | |
(rect (rect2d/expand 20 20 (path/bounds text-path)))) | |
text-path])) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment