|
@@ -115,11 +115,11 @@ const renderPokemonTile = (kind, name, { total: { mu, nu, size }, clusters }, sc
|
|
|
${ renderStatRow(
|
|
|
[ ["θ =", scores.total.theta.toFixed(3) + "°"],
|
|
|
["ϕ =", scores.total.phi.toFixed(3) + "°"],
|
|
|
+ ["δ =", scores.total.delta.toFixed(3)],
|
|
|
].map(([lbl, val]) => renderStatPair(lbl, val))
|
|
|
)}
|
|
|
${ renderStatRow(
|
|
|
- [ ["δ =", scores.total.delta.toFixed(3)],
|
|
|
- ["M =", scores.total.manhattan.toFixed(3)],
|
|
|
+ [ ["M =", scores.total.manhattan.toFixed(3)],
|
|
|
["Ч =", scores.total.ch.toFixed(3)],
|
|
|
["ℓ =", scores.total.lightnessDiff.toFixed(3)],
|
|
|
].map(([lbl, val]) => renderStatPair(lbl, val))
|
|
@@ -134,10 +134,7 @@ const renderPokemonTile = (kind, name, { total: { mu, nu, size }, clusters }, sc
|
|
|
[ ["I =", scores.total.inertia.toFixed(2)],
|
|
|
["V =", scores.total.muNuAngle.toFixed(2)],
|
|
|
["N =", size],
|
|
|
- ].map(([lbl, val, cls]) => renderStatPair(lbl, val, cls))
|
|
|
- )}
|
|
|
- ${ renderStatRow(
|
|
|
- [ ["L =", scores.total.lightness.toFixed(2)],
|
|
|
+ ["L =", scores.total.lightness.toFixed(2)],
|
|
|
["C =", scores.total.chroma.toFixed(2)],
|
|
|
].map(([lbl, val, cls]) => renderStatPair(lbl, val, cls))
|
|
|
)}
|