首页宝宝踢:脚趾放大、边缘收紧(v26110647)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -459,7 +459,7 @@
|
||||
/* 脚印(11-07 重画):一整块脚掌轮廓(脚跟 → 内侧足弓收窄 → 前掌)+ 五个脚趾,单位坐标(脚尖朝 -y,大脚趾在 -x 一侧)。
|
||||
11-07 用户:「力度大一点,能看出小脚印这种」→ 原来是 8 个极淡的软圆点(0.075),看不出是脚;
|
||||
改成实心 + shadowBlur 软边的暖灰压痕(峰值约 0.34),左上错开一层白当受光沿,顶到一小半就开始显出来 */
|
||||
const TOES = [[-.12, -.5, .078, .092], [-.01, -.54, .056, .066], [.075, -.515, .049, .057], [.142, -.465, .043, .05], [.192, -.395, .037, .044]];
|
||||
const TOES = [[-.13, -.53, .1, .115], [.0, -.585, .075, .085], [.1, -.56, .066, .074], [.18, -.5, .058, .066], [.24, -.42, .05, .057]];
|
||||
function soleShape(dx, dy) {
|
||||
cx.beginPath();
|
||||
cx.moveTo(dx, .52 + dy);
|
||||
@@ -476,9 +476,9 @@
|
||||
if (k < .15) return;
|
||||
const a = Math.min(1, (k - .15) / .6), f = .9;
|
||||
cx.save(); cx.translate(x, y); cx.rotate(ang); cx.scale(rx * f, ry * f);
|
||||
cx.shadowBlur = 5 * dpr;
|
||||
cx.shadowBlur = 3 * dpr;
|
||||
cx.fillStyle = cx.shadowColor = 'rgba(255,255,255,' + (.3 * a).toFixed(3) + ')'; soleShape(-.025, -.03);
|
||||
cx.fillStyle = cx.shadowColor = 'rgba(120,72,58,' + (.34 * a).toFixed(3) + ')'; soleShape(0, 0);
|
||||
cx.fillStyle = cx.shadowColor = 'rgba(120,72,58,' + (.3 * a).toFixed(3) + ')'; soleShape(0, 0);
|
||||
cx.restore();
|
||||
}
|
||||
function paint() {
|
||||
|
||||
Reference in New Issue
Block a user