Last active
December 7, 2016 16:40
-
-
Save eeropic/c637c2debe8452758eb9c9ce2d88f54d to your computer and use it in GitHub Desktop.
updated gist via ajax
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
data=JSON.parse('{"assets":[],"v":"4.1.7","ddd":0,"layers":[{"ddd":0,"ind":0,"ty":4,"nm":"Shape Layer 1","ks":{"o":{"k":100},"r":{"k":0},"p":{"k":[960,540,0]},"a":{"k":[0,0,0]},"s":{"k":[100,100,100]}},"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","closed":true,"ks":{"k":[{"i":{"x":0.34,"y":1},"o":{"x":0.66,"y":0},"n":"0p34_1_0p66_0","t":0,"s":[{"i":[[101,-24],[46.916,-87.635],[-110.845,-34.429],[51,252]],"o":[[-105.259,25.012],[-53,99],[132,41],[-35.754,-176.668]],"v":[[-138,-43],[-367,2],[-152,223],[209,-26]]}],"e":[{"i":[[103.718,-4.435],[46.916,-87.635],[-110.845,-34.429],[-20.551,256.286]],"o":[[-304,13],[-53,99],[132,41],[17,-212]],"v":[[52,-259],[-361,-24],[-64,99],[385,22]]}]},{"i":{"x":0.34,"y":1},"o":{"x":0.66,"y":0},"n":"0p34_1_0p66_0","t":25,"s":[{"i":[[103.718,-4.435],[46.916,-87.635],[-110.845,-34.429],[-20.551,256.286]],"o":[[-304,13],[-53,99],[132,41],[17,-212]],"v":[[52,-259],[-361,-24],[-64,99],[385,22]]}],"e":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[-800,-541],[-961,-540],[-960,-381],[-801,-380]]}]},{"t":50}]},"nm":"Path 1"},{"ty":"st","fillEnabled":true,"c":{"k":[255,0,0,255]},"o":{"k":100},"w":{"k":18},"lc":1,"lj":1,"ml":4,"nm":"Stroke 1"},{"ty":"fl","fillEnabled":true,"c":{"k":[0,0,255,255]},"o":{"k":100},"nm":"Fill 1"},{"ty":"tr","p":{"k":[0,0]},"a":{"k":[0,0]},"s":{"k":[100,100]},"r":{"k":0},"o":{"k":100},"sk":{"k":0},"sa":{"k":0}}],"nm":"Shape 1"}],"bounds":{"l":-970,"t":-550,"b":247,"r":395},"ip":0,"op":750,"st":0}],"ip":0,"op":50,"fr":25,"w":1920,"h":1080}'); | |
for (var a in data.layers){ | |
console.log(data.layers[a]) | |
var layer=new Layer() | |
layer.name=data.layers[a].nm; | |
for(var j in data.layers[a].shapes){ | |
var shape=data.layers[a].shapes[j]; | |
for(var k in shape.it){ | |
} | |
} | |
} |
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
[[inpt TUNE]] | |
_ | |
w {D 40; P 134.0:0 134.0:23 136.0:46 137.0:69} | |
1UX {D 30; P 139.0:0 140.0:31 139.0:75 139.0:81 139.0:88} | |
t {D 30; P 139.0:0 139.0:27 139.0:40} | |
_ | |
1AA {D 100; P 147.0:0 148.0:40 151.0:56} | |
r {D 100; P 167.0:0 162.0:81 156.0:88} | |
~ | |
w {D 90; P 148.0:0 124.0:50} | |
IY {D 50; P 113.0:0 113.0:5 113.0:60 113.0:80} | |
_ | |
t {D 150; P 113.0:0 113.0:15 113.0:46 113.0:77} | |
r {D 50; P 113.0:0 113.0:7 113.0:29 121.0:57 120.0:79} | |
1AY {D 30; P 117.0:0 117.0:14 116.0:42 116.0:49 116.0:56} | |
=IH {D 30; P 114.0:0 114.0:29} | |
N {D 50; P 114.0:0} | |
~ | |
t {D 90; P 114.0:0 114.0:50} | |
UW {D 40; P 109.0:0 109.0:4 160.0:33} | |
_ | |
AX {D 70; P 212.0:0 212.0:54} | |
C {D 130; P 212.0:0 212.0:19 212.0:50 212.0:75} | |
1IY {D 120; P 212.0:0 211.0:3 210.0:20 208.0:53} | |
v {D 20; P 208.0:0 208.0:7 208.0:60} | |
_ | |
h {D 130; P 208.0:0 208.0:18 208.0:45 208.0:73} | |
1IY {D 40; P 208.0:0 208.0:3 208.0:21 208.0:32 208.0:38} | |
r {D 80; P 208.0:0 208.0:17 208.0:100} | |
. {D 90} | |
[[inpt TEXT]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment