buff unions

This commit is contained in:
biglyderv 2025-03-07 10:47:05 -05:00
parent 6cca7d939f
commit 5df5ea8d6c
Signed by: biglyderv
GPG key ID: 0E2EB0B4CD7397B5
2 changed files with 4 additions and 4 deletions

View file

@ -18,7 +18,7 @@ document.querySelector('canvas').addEventListener('click', (e) => {
let p1 = MDN.perspectiveMatrix(Math.PI * 100 / 180, ratio, 0.01, 1000) let p1 = MDN.perspectiveMatrix(Math.PI * 100 / 180, ratio, 0.01, 1000)
for (let cubieI in cubePos) { for (let cubieI in cubePos) {
let bonus = 1 + counts.doNothing / (cubieI * 1 + 2); let bonus = 1 + counts.doNothing / (cubieI * .02 + 2);
let cubie = cubePos[cubieI]; let cubie = cubePos[cubieI];
let p2 = MDN.multiplyPoint(p1, [cubie[0], cubie[1], cubie[2], 0]); let p2 = MDN.multiplyPoint(p1, [cubie[0], cubie[1], cubie[2], 0]);
@ -44,7 +44,7 @@ setInterval(function () {
for (let ab in cubePos) { for (let ab in cubePos) {
let a = cubePos[ab]; let a = cubePos[ab];
let bonus = 1 + counts.doNothing / (ab * 1 + 2); let bonus = 1 + counts.doNothing / (ab* .02 + 2);
bonus = (bonus) ** 0.05; bonus = (bonus) ** 0.05;
let f = (nGain + getBonus * bonus * 10000 + 10) / (nothingness + 10); let f = (nGain + getBonus * bonus * 10000 + 10) / (nothingness + 10);

View file

@ -139,8 +139,8 @@ function renderThing() {
let cubie = cubePos[ii]; let cubie = cubePos[ii];
let vp = MDN.rotateYMatrix(Math.log(nothingness + 1) * cubie[2] / 10); let vp = MDN.rotateYMatrix(Math.log(nothingness + 1) * cubie[2] / 10);
let bonus = 1 + counts.doNothing / (ii * 1+ 2); let bonus = 1 + counts.doNothing / (ii * .02 + 2);
bonus = bonus ** (1 / 2); bonus = bonus ** (1 / 3);
vp = MDN.multiplyMatrices(MDN.scaleMatrix(sizes * bonus, sizes * bonus, sizes * bonus), vp) vp = MDN.multiplyMatrices(MDN.scaleMatrix(sizes * bonus, sizes * bonus, sizes * bonus), vp)
vp = MDN.multiplyMatrices(MDN.translateMatrix(cubie[0], cubie[1], cubie[2]), vp) vp = MDN.multiplyMatrices(MDN.translateMatrix(cubie[0], cubie[1], cubie[2]), vp)