tAdded circle - polygen - generative drawing of polygonal patterns
(HTM) git clone git://src.adamsgaard.dk/polygen
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit fb0cf5065495d77f718537bf95cd39a007b28437
(DIR) parent 9e73797f4d2c77720bc8e663f0358c4a29b4b8eb
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
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(-)
---
(DIR) diff --git a/heptagon.png b/heptagon.png
Binary files differ.
(DIR) 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)