tAdded circle - polygen - generative drawing of polygonal patterns | |
git clone git://src.adamsgaard.dk/polygen | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit fb0cf5065495d77f718537bf95cd39a007b28437 | |
parent 9e73797f4d2c77720bc8e663f0358c4a29b4b8eb | |
Author: Anders Damsgaard <[email protected]> | |
Date: Fri, 14 Mar 2014 13:24:19 +0100 | |
Added circle | |
Diffstat: | |
M heptagon.png | 0 | |
M heptagon.py | 3 +++ | |
2 files changed, 3 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/heptagon.png b/heptagon.png | |
Binary files differ. | |
diff --git a/heptagon.py b/heptagon.py | |
t@@ -10,6 +10,9 @@ heptagon = polygen.regular_star_polygon(7) | |
# Create the polygon plotting object | |
p = polygen.polyplot() | |
+# Add a circle to be in the background | |
+p.plot_circle(coord=[0,0], radius=1.0, color='#073642') | |
+ | |
# Pass the heptagon points to the plot object | |
p.set_points(heptagon.points) | |