|
|
@@ -445,13 +445,13 @@
|
|
|
|
|
|
// Anatomical heat profile: retain the existing warm head, chest and core,
|
|
|
// then add a distinct but smoothly blended maximum over the heart area.
|
|
|
- // Coordinates are relative to the detected silhouette, not the full photo:
|
|
|
- // x=0.54 is slightly to the subject's left (viewer-right in a frontal pose),
|
|
|
- // y=0.40 places the focus in the upper torso. This is an illustration,
|
|
|
- // not a measurement of real body temperature.
|
|
|
+ // Coordinates are relative to the detected silhouette, not the full photo.
|
|
|
+ // Keep the rightward offset from v2; raise the heart maximum by 0.10
|
|
|
+ // of the detected silhouette height relative to v2. Other heat fields
|
|
|
+ // remain unchanged.
|
|
|
const head = Math.exp(-((((nx - 0.50) / 0.17) ** 2) + (((ny - 0.105) / 0.10) ** 2)) * 2.0);
|
|
|
const chest = Math.exp(-((((nx - 0.51) / 0.23) ** 2) + (((ny - 0.36) / 0.20) ** 2)) * 1.65);
|
|
|
- const heart = Math.exp(-((((nx - 0.54) / 0.115) ** 2) + (((ny - 0.405) / 0.12) ** 2)) * 1.45);
|
|
|
+ const heart = Math.exp(-((((nx - 0.655) / 0.115) ** 2) + (((ny - 0.405) / 0.12) ** 2)) * 1.45);
|
|
|
const core = Math.exp(-((((nx - 0.50) / 0.29) ** 2) + (((ny - 0.43) / 0.34) ** 2)) * 1.25);
|
|
|
const shoulder = Math.exp(-((((nx - 0.50) / 0.34) ** 2) + (((ny - 0.24) / 0.13) ** 2)) * 1.3);
|
|
|
const outer = clamp(
|