migrated to nextjs

This commit is contained in:
cupcakearmy
2020-01-05 17:34:03 +01:00
parent fafaff3990
commit 3a2ee3cd7c
51 changed files with 6321 additions and 287 deletions

6
utils/utils.ts Normal file
View File

@@ -0,0 +1,6 @@
export const Rand = (from: number = 0, to: number = 1, float: boolean = false) => {
const rand = (Math.random() * (to - from)) + from
return float ? rand : rand | 0
}
export const GoldenRatio: number = (1 + Math.sqrt(5)) / 2