|
@@ -40,6 +40,7 @@
|
|
|
<select class="pill-shape highlight-border" name="stat" disabled>
|
|
|
<option value="beta">Visual Importance (β)</option>
|
|
|
<option value="size">Size (N)</option>
|
|
|
+ <option value="lightness">Mean Lightness (L̅)</option>
|
|
|
<option value="chroma">Mean Chroma (C̅)</option>
|
|
|
<option value="variance">Variance (σ²)</option>
|
|
|
</select>
|
|
@@ -47,35 +48,42 @@
|
|
|
</template>
|
|
|
|
|
|
<template id="pkmn-data-template">
|
|
|
- <div class="full-grid-row">μ = (<span bind-to="centroid"></span>)</div>
|
|
|
- <div class="full-grid-row">τ = (<span bind-to="tilt"></span>)</div>
|
|
|
- <div>σ² = <span bind-to="variance"></span></div>
|
|
|
- <div>σ = <span bind-to="stddev"></span></div>
|
|
|
- <div>C̅ = <span bind-to="chroma"></span></div>
|
|
|
- <div>h̅ = <span bind-to="hue"></span>°</div>
|
|
|
<div>α = <span bind-to="alpha"></span></div>
|
|
|
- <div>β = <span bind-to="beta"></span></div>
|
|
|
- <div>δ = <span bind-to="delta"></span></div>
|
|
|
<div>Ψ = <span bind-to="psi"></span></div>
|
|
|
- <div>θ = <span bind-to="theta"></span>°</div>
|
|
|
<div>Ω = <span bind-to="omega"></span></div>
|
|
|
- <div>N = <span bind-to="size"></span></div>
|
|
|
+ <div role="presentation"></div>
|
|
|
+ <div>δ = <span bind-to="delta"></span></div>
|
|
|
+ <div>θ = <span bind-to="theta"></span>°</div>
|
|
|
<div>ΔL = <span bind-to="deltaL"></span></div>
|
|
|
<div>ΔC = <span bind-to="deltaC"></span></div>
|
|
|
<div>Δh = <span bind-to="deltaH"></span>°</div>
|
|
|
+ <div class="pkmn-data-separator | full-grid-row" role="presentation"></div>
|
|
|
+ <div>β = <span bind-to="beta"></span></div>
|
|
|
+ <div class="pkmn-data-size">N = <span bind-to="size"></span></div>
|
|
|
+ <div>σ² = <span bind-to="variance"></span></div>
|
|
|
+ <div>L̅ = <span bind-to="lightness"></span></div>
|
|
|
+ <div>C̅ = <span bind-to="chroma"></span></div>
|
|
|
+ <div class="pkmn-data-separator | full-grid-row" role="presentation"></div>
|
|
|
+ <div>a̅ = <span bind-to="abar"></span></div>
|
|
|
+ <div>b̅ = <span bind-to="bbar"></span></div>
|
|
|
+ <div>h̅ = <span bind-to="hue"></span>°</div>
|
|
|
+ <div class="full-grid-row center">τ = (<span bind-to="tilt"></span>)</div>
|
|
|
</template>
|
|
|
|
|
|
<template id="pkmn-tile-template">
|
|
|
<div class="pkmn-tile | flex col no-gap">
|
|
|
<div class="ellipsis emphasis" bind-to="name"></div>
|
|
|
- <div class="pkmn-info | highlight-border flex even">
|
|
|
+ <div class="pkmn-info | highlight-border flex">
|
|
|
<div class="flex col small-gap">
|
|
|
<a bind-to="link" href=""><img bind-to="image" /></a>
|
|
|
- <div class="center" bind-to="score"></div>
|
|
|
- <button bind-to="totalBtn" class="pkmn-total | color-select"></button>
|
|
|
- <div class="total-info | grid small-gap" bind-to="totalData"></div>
|
|
|
+ <div class="math-font center" bind-to="score"></div>
|
|
|
+ <button
|
|
|
+ bind-to="totalBtn"
|
|
|
+ class="pkmn-total | math-font color-select"
|
|
|
+ ></button>
|
|
|
+ <div class="total-info | math-font grid small-gap" bind-to="totalData"></div>
|
|
|
</div>
|
|
|
- <div class="cluster-buttons | flex col">
|
|
|
+ <div class="cluster-buttons | math-font flex col">
|
|
|
<button bind-to="cls1Btn" class="color-select" hidden></button>
|
|
|
<div class="cluster-info | grid small-gap" bind-to="cls1Data"></div>
|
|
|
<button bind-to="cls2Btn" class="color-select" hidden></button>
|
|
@@ -189,7 +197,7 @@
|
|
|
<span class="toggle-label | pill-shape highlight-border">Maximizing</span>
|
|
|
</label>
|
|
|
</div>
|
|
|
- <div class="fn-body | flex">
|
|
|
+ <div class="fn-body | math-font flex">
|
|
|
<label>
|
|
|
<input
|
|
|
form="colorCalculateForm"
|
|
@@ -281,7 +289,7 @@
|
|
|
<span class="toggle-label | pill-shape highlight-border">Maximizing</span>
|
|
|
</label>
|
|
|
</div>
|
|
|
- <div class="fn-body | flex">
|
|
|
+ <div class="fn-body | math-font flex">
|
|
|
<span class="toggle-label | pill-shape highlight-border">
|
|
|
<output form="colorCalculateForm" name="clusterMetricSymbol"></output>(K)
|
|
|
</span>
|