🚀 use ts node

This commit is contained in:
platane
2020-10-16 18:54:09 +02:00
parent 5243a665b1
commit 89e2630eec
8 changed files with 32 additions and 17 deletions

View File

@@ -18,7 +18,8 @@ export const generateContributionSnake = async (userName: string) => {
{ x: 0, y: -1 },
]);
const upscale = 1.6;
// const upscale = 815 / (grid0.width + 2) / 16;
const upscale = 2;
const drawOptions = {
sizeBorderRadius: 2 * upscale,
sizeCell: 16 * upscale,