Skip to content

Commit c0f6c2f

Browse files
committed
added logo
1 parent 44bade9 commit c0f6c2f

File tree

2 files changed

+74
-0
lines changed

2 files changed

+74
-0
lines changed

doc/logo.py

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
from Polygon import *
2+
from Polygon.Shapes import Circle, Star, Rectangle
3+
from Polygon.IO import writeSVG
4+
5+
p = Circle(5.5, points=128)
6+
p -= Circle(4.4, points=128)
7+
p += Circle(3.3, points=128)
8+
p -= Circle(2.2, points=128)
9+
p += Star(1.1)
10+
11+
l = Rectangle(4, 14)
12+
l.shift(-4.3, -10.5)
13+
14+
r = p ^ l
15+
16+
writeSVG('logo.svg', [r], width=800)

doc/logo.svg

+58
Loading

0 commit comments

Comments
 (0)