feat: logs

This commit is contained in:
tresabhi committed 2025-05-15 23:31:26 -05:00
1 parent 5b8da36fb8
commit 165a9cd719
3 files changed
+38 -9

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
# BlitzKit 1.27.9
BlitzKit's great, but there's far too many numbers. This update adds a few visualizers to help new players understand how things relate numerically.
![](https://i.imgur.com/OV5ak4T.png)
## Features
- Added the turret and hull traverse speed visualizer
- Added the shell ricochet and normalization angles visualizer
- Added the view-range visualizer
- Added a search bar to the Tankopedia characteristics
- Bumped the decimal places for vehicle dimensions and volume
- Made tank ranks softer (the bars beneath the tank characteristics)
- Gave the navigation bar better distinction from the rest of the page
- Increased the number of characteristics rows to 3 on select devices
- Switched to a more contrasting classic style of components across the website (it's subtle, but beautiful)
## Changes
- Removed units
## Fixes
- Clarified a few confusing row labels in the Compare tool
- Made the Tankopedia hero section dynamically smaller on mobile phones to allow scrolling
- Tank ranks no longer reach 0 or go above the number of vehicles in the comparison
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "blitzkit",
"private": true,
"version": "1.27.8",
"version": "1.27.9",
"description": "🎉 Tools for everything World of Tanks Blitz",
"type": "module",
"types": "./types.d.ts",
@@ -31,19 +31,21 @@ export function TraverseVisualizer({ stats }: StatsAcceptorProps) {
let lastT = Date.now() / 1000;
function frame() {
if (!turret.current || !hull.current) return;
const t = Date.now() / 1000;
const dt = t - lastT;
lastT = t;
turretAngle.current =
(turretAngle.current + turretSpeedRad * dt) % (2 * Math.PI);
hullAngle.current =
(hullAngle.current + hullTraverseRad * dt) % (2 * Math.PI);
if (turret.current) {
turretAngle.current =
(turretAngle.current + turretSpeedRad * dt) % (2 * Math.PI);
turret.current.style.transform = `translate(-50%, -50%) rotate(${-turretAngle.current}rad)`;
}
turret.current.style.transform = `translate(-50%, -50%) rotate(${-turretAngle.current}rad)`;
hull.current.style.transform = `translate(-50%, -50%) rotate(${-hullAngle.current}rad)`;
if (hull.current) {
hullAngle.current =
(hullAngle.current + hullTraverseRad * dt) % (2 * Math.PI);
hull.current.style.transform = `translate(-50%, -50%) rotate(${-hullAngle.current}rad)`;
}
if (!cancel) requestAnimationFrame(frame);
}