Created
December 21, 2011 12:55
-
-
Save dennisschaaf/1505946 to your computer and use it in GitHub Desktop.
SVG Path for Labyrinth
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The Path Data | |
var path = 'M120,4 V112 H4 V12 H48 V24 H16 V100 H108 V16 H72 V20 H104 V96 H20 V28 H52 V8 L56,4 V32 H24 V92 H100 V24 H68 V12 H112 V104 H12 V20 H44 V16 H8 V108 H116 V8 H64 V28 H96 V88 H28 V36 H56 V60 H68 V44 H80 V72 H44 V48 H40 V76 H84 V40 H64 V52 L60,56 V36 H88 V80 H36 V44 H48 V68 H76 V48 H72 V64 H52 V40 H32 V84 H92 V32 H60 V4Z'; | |
// The Drawing Command | |
canto | |
.translate(10, 50) | |
.svgpath(path) | |
.fill() | |
.endPath(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment