misc: Profile SVGs - Colors reworked everywhere

This commit is contained in:
vicnaum
2023-11-29 14:19:26 +01:00
parent 1f587b57ee
commit a5cfdbc01d
24 changed files with 322 additions and 200 deletions

View File

@@ -182,13 +182,13 @@ contract ProfileSVGGen is Test {
}
}
// Icecream
for (uint8 c = 0; c <= 4; c++) {
for (uint8 c = 0; c <= 7; c++) {
uint256 seed = setVariant(69, Helpers.ComponentBytes.HEADWEAR) +
setColor(c, Helpers.ComponentBytes.HEADWEAR);
string memory result = profileNFT.tryWithSeed(seed, false);
vm.writeFile(string.concat(dir, 'headwear/headwear_v69', '_c', vm.toString(c), '.svg'), result);
}
for (uint8 c = 0; c <= 4; c++) {
for (uint8 c = 0; c <= 7; c++) {
uint256 seed = setVariant(69, Helpers.ComponentBytes.HEADWEAR) +
setColor(c, Helpers.ComponentBytes.HEADWEAR);
string memory result = profileNFT.tryWithSeed(seed, true);