tchanged color of smallest polygon - polygen - generative drawing of polygonal … | |
git clone git://src.adamsgaard.dk/polygen | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 5dd9f00e86c7b9105d45210c542528df5fc6bc2c | |
parent fb0cf5065495d77f718537bf95cd39a007b28437 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Fri, 14 Mar 2014 14:14:42 +0100 | |
changed color of smallest polygon | |
Diffstat: | |
M heptagon.png | 0 | |
M heptagon.py | 3 ++- | |
2 files changed, 2 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/heptagon.png b/heptagon.png | |
Binary files differ. | |
diff --git a/heptagon.py b/heptagon.py | |
t@@ -47,7 +47,8 @@ heptagon_smallest = polygen.regular_star_polygon(7, 0.3) | |
p.set_points(heptagon_smallest.points) | |
# Plot heptagon, do not draw lines to opposite points. Use custom colors. | |
-p.plot_all_to_all(line_width=2, line_color='#268bd2', | |
+#p.plot_all_to_all(line_width=2, line_color='#268bd2', | |
+p.plot_all_to_all(line_width=2, line_color='#657b83', | |
exceptions=[[0,1], [1,2], [2,3], [3,4], [4,5], [5,6], [6,0]]) | |
# Save figure as file |