Skip to content

Instantly share code, notes, and snippets.

@tcoxon
Last active July 15, 2017 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tcoxon/d97a4161ba06922f308a28b3d12c0eb7 to your computer and use it in GitHub Desktop.
Save tcoxon/d97a4161ba06922f308a28b3d12c0eb7 to your computer and use it in GitHub Desktop.
{
"class" : "modelgen",
"version" : 3,
"data" : {
"root" : "body",
"colors" : {
"baseColors" : [
[1, {
"h" : ["uniform", 0, 360],
"s" : 1,
"l" : 0.825
}]
],
"palettes" : [
[1, [{"h": 0}, {"h": 180}, {"s": 0}]],
[1, [{"h": 0}, {"h": 150}, {"h": 210}, {"s": 0}]],
[1, [{"h": 0}, {"h": 120}, {"h": 240}, {"s": 0}]],
[1, [{"h": 0}, {"h": 90}, {"h": 180}, {"h": 270}, {"s": 0}]],
[1, [{"h": 0}, {"h": 30}, {"h": -30}, {"h": 60}, {"h": -60}, {"s": 0}]]
]
},
"parts" : {
"body" : {
"scalars" : {
"reflectChildren" : 1,
"polyPoints" : 20,
"scale" : ["uniform", 1.0, 7.0],
"aspect" : ["abs", ["normal", 1.0, 0.5]],
"rotation" : 0,
"relativeZ" : 0
},
"vectors" : {
"position" : [0, 0],
"origin" : [0, 0]
},
"parts" : {
"head" : ["abs", ["normal", 1, 0.1]],
"arm" : ["abs", ["normal", 1, 0.5]],
"leg" : ["abs", ["normal", 1, 0.5]]
}
},
"arm" : {
"scalars" : {
"reflectChildren" : 1,
"polyPoints" : 20,
"scale" : ["uniform", 0.2, 0.6],
"aspect" : ["uniform", 0.2, 0.6],
"rotation" : ["uniform", -135, 0],
"relativeZ" : 2
},
"vectors" : {
"position" : [
["uniform", 0.2, 0.8],
["uniform", -1.0, 0.5]
],
"origin" : [0, -1]
},
"parts" : {
"finger" : ["*", ["poisson", 1], 0.7]
}
},
"finger" : {
"scalars" : {
"reflectChildren" : 1,
"polyPoints" : 20,
"scale" : ["uniform", 0.2, 0.5],
"aspect" : ["uniform", 0.3, 1.0],
"rotation" : ["uniform", -10, 10],
"relativeZ" : 0.5
},
"vectors" : {
"position" : [
["uniform", -1, 1],
["uniform", 0.5, 1.0]
],
"origin" : [0, 0]
}
},
"leg" : {
"scalars" : {
"reflectChildren" : 1,
"polyPoints" : 20,
"scale" : ["uniform", 0.2, 0.5],
"aspect" : ["uniform", 0.3, 1.2],
"rotation" : 0,
"relativeZ" : 1
},
"vectors" : {
"position" : [
["uniform", 0.5, 1.0],
["uniform", 0.3, 1.0]
],
"origin" : [0, 0]
}
},
"head" : {
"scalars" : {
"reflectChildren" : 1,
"polyPoints" : 20,
"scale" : ["abs", ["normal", 0.7, 0.1]],
"aspect" : ["abs", ["normal", 1.0, 0.3]],
"rotation" : 0,
"relativeZ" : 3
},
"vectors" : {
"position" : [
0,
["uniform", 0.0, -1.0]
],
"origin" : [0, 0]
},
"parts" : {
"nose" : ["*", ["poisson", 1], 0.5],
"cheek" : ["*", ["poisson", 1], 0.5],
"neck" : ["uniform", 0, 1.0]
}
},
"neck" : {
"scalars" : {
"reflectChildren" : 1,
"polyPoints" : 20,
"scale" : ["*", ["poisson", 1], 0.3],
"aspect" : ["abs", ["normal", 1.0, 0.3]],
"rotation" : 0,
"relativeZ" : -0.4
},
"vectors" : {
"position" : [
0,
["uniform", -0.25, 0.25]
],
"origin" : [0, 0]
}
},
"nose" : {
"scalars" : {
"reflectChildren" : 1,
"polyPoints" : 20,
"scale" : ["uniform", 0.2, 0.75],
"aspect" : ["abs", ["normal", 1.0, 0.3]],
"rotation" : 0,
"relativeZ" : 1
},
"vectors" : {
"position" : [
0,
["uniform", -1.0, 1.0]
],
"origin" : [0, 0]
}
},
"cheek" : {
"scalars" : {
"reflectChildren" : 1,
"polyPoints" : 20,
"scale" : ["uniform", 0.2, 0.5],
"aspect" : ["abs", ["normal", 1.0, 0.3]],
"rotation" : ["uniform", -180, 180],
"relativeZ" : 1
},
"vectors" : {
"position" : [
["uniform", 0.25, 0.5],
["uniform", -1.0, 1.0]
],
"origin" : [0, 0]
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment