This file contains hidden or 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
| #!/usr/bin/env julia | |
| using Luxor, Colors | |
| Drawing(600, 500, "/tmp/stackad.png") | |
| origin() | |
| background("white") | |
| # background textifying, not for reading, fortunately | |
| function background_text(str_array, fontsz, beginning::Point, ending::Point) |
This file contains hidden or 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
| #!/usr/bin/env julia | |
| using Luxor, Colors | |
| function julia_balls() | |
| # get centers for the three balls | |
| points = reverse(ngon(0, 0, 100, 3, pi/6, vertices=true)) | |
| gsave() | |
| # setcolor(0.251, 0.388, 0.847) # the darker blue not used | |
| # setcolor(0.4, 0.51, 0.878) # the lighter blue not used |
This file contains hidden or 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
| #!/usr/bin/env julia | |
| using Luxor, Colors | |
| function julia_balls() | |
| # get centers for the three balls | |
| points = reverse(ngon(0, 0, 100, 3, pi/6, vertices=true)) | |
| gsave() | |
| # setcolor(0.251, 0.388, 0.847) # the darker blue not used | |
| # setcolor(0.4, 0.51, 0.878) # the lighter blue not used |
NewerOlder