alter color selection algorithm
it should be more fair i think. maybe
This commit is contained in:
parent
d445eb9915
commit
bebc2daa95
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ export class ReticleCursor extends Reticle {
|
|||
hash = (hash << 5) - hash + this.nickname.charCodeAt(i);
|
||||
hash |= 0;
|
||||
}
|
||||
return `oklch(65% 0.2 ${(hash / 0xffff) * 360}deg)`;
|
||||
return `oklch(65% 0.2 ${(hash / 0x7fffffff) * 360}deg)`;
|
||||
}
|
||||
|
||||
setCursor(x, y) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue