Skip to content

Commit

Permalink
vanity, fix stamp uv (for good)
Browse files Browse the repository at this point in the history
  • Loading branch information
onlypuppy7 committed Nov 18, 2024
1 parent e03f676 commit 1fa9461
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions server-client/src/stampsGenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export async function prepareStamps() {
};
};

widthheight = Math.ceil(Math.pow(filesForImage.length, 0.5));
// widthheight = Math.ceil(Math.pow(filesForImage.length, 0.5));

log.info(filesForImage.length, "Stamp images prepared. Will use a", widthheight, "x", widthheight, "grid - hence total:", widthheight * widthheight);

Expand Down Expand Up @@ -205,7 +205,7 @@ export function createStampsUV(wh = widthheight) {
1-(1/wh),
(.2048/wh),
1-(1.04/wh),
(0.00015*wh),
(.08/wh),
(1-(.736/wh)),
0,
1,
Expand Down

0 comments on commit 1fa9461

Please sign in to comment.