Skip to content

Instantly share code, notes, and snippets.

@tcoxon
Last active June 28, 2023 20:09
Show Gist options
  • Save tcoxon/8e053208b4ef8cee732443a743e75470 to your computer and use it in GitHub Desktop.
Save tcoxon/8e053208b4ef8cee732443a743e75470 to your computer and use it in GitHub Desktop.
Default Kirigami beast generator configuration - http://bytten-studio.com/kirigami/
{
"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,
"relativeX" : 0,
"relativeY" : 0,
"relativeZ" : 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", 0, 90],
"relativeX" : ["uniform", 0.2, 0.8],
"relativeY" : ["uniform", -1.0, 0.5],
"relativeZ" : 2
},
"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],
"relativeX" : ["uniform", -1, 1],
"relativeY" : ["uniform", 0.5, 1.0],
"relativeZ" : 0.5
}
},
"leg" : {
"scalars" : {
"reflectChildren" : 1,
"polyPoints" : 20,
"scale" : ["uniform", 0.2, 0.5],
"aspect" : ["uniform", 0.3, 1.2],
"rotation" : 0,
"relativeX" : ["uniform", 0.5, 1.0],
"relativeY" : ["uniform", 0.3, 1.0],
"relativeZ" : 1
}
},
"head" : {
"scalars" : {
"reflectChildren" : 1,
"polyPoints" : 20,
"scale" : ["abs", ["normal", 0.7, 0.1]],
"aspect" : ["abs", ["normal", 1.0, 0.3]],
"rotation" : 0,
"relativeX" : 0,
"relativeY" : ["uniform", 0.0, -1.0],
"relativeZ" : 3
},
"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,
"relativeX" : 0,
"relativeY" : ["uniform", -0.25, 0.25],
"relativeZ" : -0.4
}
},
"nose" : {
"scalars" : {
"reflectChildren" : 1,
"polyPoints" : 20,
"scale" : ["uniform", 0.2, 0.75],
"aspect" : ["abs", ["normal", 1.0, 0.3]],
"rotation" : 0,
"relativeX" : 0,
"relativeY" : ["uniform", -1.0, 1.0],
"relativeZ" : 1
}
},
"cheek" : {
"scalars" : {
"reflectChildren" : 1,
"polyPoints" : 20,
"scale" : ["uniform", 0.2, 0.5],
"aspect" : ["abs", ["normal", 1.0, 0.3]],
"rotation" : ["uniform", -180, 180],
"relativeX" : ["uniform", 0.25, 0.5],
"relativeY" : ["uniform", -1.0, 1.0],
"relativeZ" : 1
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment