diff options
| author | Lex Neva <github.com@lexneva.name> | 2018-05-29 20:55:46 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2018-05-29 20:55:46 -0400 |
| commit | a9b834878b618a3aea6c343e71a2df3046bde3a7 (patch) | |
| tree | 93867abc9534362e89c3ab97541fd82d1f7b8a9d /lib/svg | |
| parent | d7d2328b59e4a0f0f93830d636b74c2d92ab9d56 (diff) | |
optimize path
Diffstat (limited to 'lib/svg')
| -rw-r--r-- | lib/svg/svg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/svg/svg.py b/lib/svg/svg.py index 8921ccec..655ddc58 100644 --- a/lib/svg/svg.py +++ b/lib/svg/svg.py @@ -17,7 +17,7 @@ from ..utils import cache, Point stitch_height = 1.216 # This vector path starts at the origin and contains a placeholder (%s) for the stitch length. -stitch_path = "M0,0c0.386,0,0.417,0.302,0.428,0.607c0.012,0.306,-0.048,0.603,-0.428,0.607h-%sc-0.357,-0.002,-0.399,-0.3,-0.413,-0.607c-0.014,-0.305,0.067,-0.607,0.413,-0.607z" +stitch_path = "M0,0c0.4,0,0.4,0.3,0.4,0.6c0,0.3,-0.1,0.6,-0.4,0.6v0.2,-0.2h-%sc-0.4,0,-0.4,-0.3,-0.4,-0.6c0,-0.3,0.1,-0.6,0.4,-0.6v-0.2,0.2z" # This filter makes the above stitch path look like a real stitch with lighting. realistic_filter = """ |
