今天下午,https://www.nodeloc.com/t/topic/114320,根据官方的说法,本次模型有“小的提升”,那么实际到底如何?下面直接上几个测试案例(均使用DeepSeek Web版一遍出结果):
原版提示词结果:
20261017-1134-40.9010742
[upvote]
原版未修改代码
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<title>鹈鹕骑自行车 · 动态 SVG</title>
<style>
html,body{
margin:0;height:100%;
display:flex;align-items:center;justify-content:center;
background:radial-gradient(circle at 50% 40%, #1e2a44 0%, #0d1220 100%);
overflow:hidden;
}
svg{width:min(96vw, 960px);height:auto;display:block;
filter:drop-shadow(0 24px 48px rgba(0,0,0,.55));}
</style>
</head>
<body>
<svg id="scene" viewBox="0 0 800 600" xmlns="http://www.w3.org/2000/svg">
<defs>
<linearGradient id="skyGrad" x1="0" y1="0" x2="0" y2="1">
<stop offset="0%" stop-color="#bfe3f7"/>
<stop offset="62%" stop-color="#e6f5fd"/>
<stop offset="100%" stop-color="#f8fdf9"/>
</linearGradient>
<linearGradient id="groundGrad" x1="0" y1="0" x2="0" y2="1">
<stop offset="0%" stop-color="#a9da8b"/>
<stop offset="100%" stop-color="#74bd55"/>
</linearGradient>
<linearGradient id="beakGrad" x1="0" y1="0" x2="1" y2="0.35">
<stop offset="0%" stop-color="#ffd574"/>
<stop offset="55%" stop-color="#fca63a"/>
<stop offset="100%" stop-color="#f2811a"/>
</linearGradient>
<linearGradient id="pouchGrad" x1="0.2" y1="0" x2="0.6" y2="1">
<stop offset="0%" stop-color="#ffe09a"/>
<stop offset="55%" stop-color="#fcc164"/>
<stop offset="100%" stop-color="#ef9a35"/>
</linearGradient>
<linearGradient id="bodyGrad" x1="0.25" y1="0" x2="0.75" y2="1">
<stop offset="0%" stop-color="#ffffff"/>
<stop offset="55%" stop-color="#f8f4e9"/>
<stop offset="100%" stop-color="#ded8c6"/>
</linearGradient>
<linearGradient id="wingGrad" x1="0.2" y1="0" x2="0.8" y2="1">
<stop offset="0%" stop-color="#f2ecdd"/>
<stop offset="100%" stop-color="#d3cbb7"/>
</linearGradient>
<radialGradient id="cheekGrad" cx="0.5" cy="0.5" r="0.5">
<stop offset="0%" stop-color="#ffb4b4" stop-opacity=".75"/>
<stop offset="100%" stop-color="#ffb4b4" stop-opacity="0"/>
</radialGradient>
<linearGradient id="frameGrad" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#ff7a5c"/>
<stop offset="100%" stop-color="#d8402c"/>
</linearGradient>
</defs>
<!-- ═══════════ 背景 ═══════════ -->
<rect width="800" height="600" fill="url(#skyGrad)"/>
<!-- 太阳 -->
<circle cx="686" cy="104" r="58" fill="#ffe9a8" opacity="0.55"/>
<circle cx="686" cy="104" r="42" fill="#fff2c0"/>
<circle cx="686" cy="104" r="42" fill="none" stroke="#fff9dd" stroke-width="3" opacity=".8"/>
<!-- 云 -->
<g fill="#ffffff" opacity="0.8">
<ellipse cx="150" cy="108" rx="62" ry="26"/>
<ellipse cx="196" cy="94" rx="46" ry="23"/>
<ellipse cx="108" cy="97" rx="40" ry="20"/>
</g>
<g fill="#ffffff" opacity="0.6">
<ellipse cx="472" cy="78" rx="52" ry="21"/>
<ellipse cx="512" cy="66" rx="36" ry="17"/>
<ellipse cx="438" cy="68" rx="30" ry="15"/>
</g>
<!-- 远山 -->
<path d="M0 515 Q120 402 258 482 Q380 378 520 470 Q652 398 800 488 L800 515 Z"
fill="#c2e2aa" opacity="0.75"/>
<path d="M0 515 Q150 448 300 500 Q450 440 610 498 Q710 466 800 500 L800 515 Z"
fill="#aed494" opacity="0.6"/>
<!-- 地面 -->
<rect y="515" width="800" height="85" fill="url(#groundGrad)"/>
<line x1="0" y1="515" x2="800" y2="515" stroke="#89c268" stroke-width="4"/>
<!-- 滚动的地面标线(循环平移动画) -->
<g stroke="#7cb95c" stroke-width="7" stroke-linecap="round" opacity="0.65">
<line x1="-100" y1="549" x2="900" y2="549" stroke-dasharray="40 56"/>
<animateTransform attributeName="transform" type="translate"
from="0 0" to="-96 0" dur="0.30s" repeatCount="indefinite"/>
</g>
<g stroke="#94cc75" stroke-width="6" stroke-linecap="round" opacity="0.5">
<line x1="-100" y1="576" x2="900" y2="576" stroke-dasharray="24 40"/>
<animateTransform attributeName="transform" type="translate"
from="0 0" to="-64 0" dur="0.20s" repeatCount="indefinite"/>
</g>
<!-- 地面阴影 -->
<ellipse cx="400" cy="518" rx="300" ry="13" fill="#2f5c22" opacity="0.16"/>
<!-- ═══════════ 后轮 ═══════════ -->
<g transform="translate(230 420)">
<circle r="95" fill="none" stroke="#2c3240" stroke-width="12"/>
<circle r="84" fill="none" stroke="#b9c4d0" stroke-width="4.5"/>
<circle r="95" fill="none" stroke="#1b1f28" stroke-width="3" opacity=".45"/>
<g id="backSpokes" stroke="#dbe2ea" stroke-width="2.4" opacity=".95">
<line x1="0" y1="0" x2="84" y2="0"/>
<line x1="0" y1="0" x2="72.7" y2="42"/>
<line x1="0" y1="0" x2="42" y2="72.7"/>
<line x1="0" y1="0" x2="0" y2="84"/>
<line x1="0" y1="0" x2="-42" y2="72.7"/>
<line x1="0" y1="0" x2="-72.7" y2="42"/>
<line x1="0" y1="0" x2="-84" y2="0"/>
<line x1="0" y1="0" x2="-72.7" y2="-42"/>
<line x1="0" y1="0" x2="-42" y2="-72.7"/>
<line x1="0" y1="0" x2="0" y2="-84"/>
<line x1="0" y1="0" x2="42" y2="-72.7"/>
<line x1="0" y1="0" x2="72.7" y2="-42"/>
</g>
<circle r="10" fill="#4a5568"/>
<circle r="4.5" fill="#9fb0c2"/>
</g>
<!-- ═══════════ 前轮 ═══════════ -->
<g transform="translate(570 420)">
<circle r="95" fill="none" stroke="#2c3240" stroke-width="12"/>
<circle r="84" fill="none" stroke="#b9c4d0" stroke-width="4.5"/>
<circle r="95" fill="none" stroke="#1b1f28" stroke-width="3" opacity=".45"/>
<g id="frontSpokes" stroke="#dbe2ea" stroke-width="2.4" opacity=".95">
<line x1="0" y1="0" x2="84" y2="0"/>
<line x1="0" y1="0" x2="72.7" y2="42"/>
<line x1="0" y1="0" x2="42" y2="72.7"/>
<line x1="0" y1="0" x2="0" y2="84"/>
<line x1="0" y1="0" x2="-42" y2="72.7"/>
<line x1="0" y1="0" x2="-72.7" y2="42"/>
<line x1="0" y1="0" x2="-84" y2="0"/>
<line x1="0" y1="0" x2="-72.7" y2="-42"/>
<line x1="0" y1="0" x2="-42" y2="-72.7"/>
<line x1="0" y1="0" x2="0" y2="-84"/>
<line x1="0" y1="0" x2="42" y2="-72.7"/>
<line x1="0" y1="0" x2="72.7" y2="-42"/>
</g>
<circle r="10" fill="#4a5568"/>
<circle r="4.5" fill="#9fb0c2"/>
</g>
<!-- ═══════════ 链条(几何外切线精确绘制)═══════════ -->
<path id="chain"
d="M 391.48 411.03
L 230.70 404.02
A 16 16 0 0 0 225.79 435.44
L 381.05 477.80
A 34 34 0 1 0 391.48 411.03"
fill="none" stroke="#4d5866" stroke-width="6"
stroke-dasharray="9 7" stroke-linecap="round">
<animate attributeName="stroke-dashoffset" from="0" to="-32"
dur="0.45s" repeatCount="indefinite"/>
</path>
<!-- ═══════════ 车架 ═══════════ -->
<g stroke="url(#frameGrad)" stroke-width="10" stroke-linecap="round" fill="none">
<line x1="320" y1="275" x2="390" y2="445"/> <!-- 座管 -->
<line x1="390" y1="445" x2="515" y2="355"/> <!-- 下管 -->
<line x1="320" y1="275" x2="490" y2="285"/> <!-- 上管 -->
<line x1="490" y1="285" x2="515" y2="355"/> <!-- 头管 -->
<line x1="390" y1="445" x2="230" y2="420"/> <!-- 后下叉 -->
<line x1="320" y1="275" x2="230" y2="420"/> <!-- 后上叉 -->
</g>
<!-- 前叉 -->
<line x1="515" y1="355" x2="570" y2="420"
stroke="#d8402c" stroke-width="9" stroke-linecap="round"/>
<!-- 车座 -->
<path d="M 278 274 Q 300 258 348 262 Q 360 268 348 276 Q 310 284 278 274 Z"
fill="#333c4a"/>
<!-- 车把 -->
<g fill="none" stroke="#333c4a" stroke-width="9" stroke-linecap="round">
<path d="M 490 285 L 492 258"/>
<path d="M 468 251 Q 505 242 540 255 Q 556 262 548 281"/>
</g>
<path d="M 548 281 Q 545 292 536 293" fill="none"
stroke="#ff7a5c" stroke-width="11" stroke-linecap="round"/>
<!-- 飞轮(后齿轮) -->
<g transform="translate(230 420)">
<circle r="16" fill="none" stroke="#8b98a8" stroke-width="5"/>
<circle r="16" fill="none" stroke="#4d5866" stroke-width="9"
stroke-dasharray="3 5" opacity=".9"/>
</g>
<!-- ═══════════ 左曲柄 / 左踏板 / 左腿(远侧,压在车架下)═══════════ -->
<line id="lCrank" x1="390" y1="445" x2="340" y2="445"
stroke="#7c8b9c" stroke-width="9" stroke-linecap="round"/>
<rect id="lPedal" x="-15" y="-5" width="30" height="10" rx="4" fill="#39424f"
transform="translate(325 440)"/>
<path id="lThigh" d="M 322 272 L 400 320" fill="none"
stroke="#e2931f" stroke-width="22" stroke-linecap="round"/>
<path id="lShin" d="M 400 320 L 340 435" fill="none"
stroke="#f2a832" stroke-width="14" stroke-linecap="round"/>
<circle id="lKnee" cx="400" cy="320" r="10" fill="#e2931f"/>
<ellipse id="lFoot" cx="340" cy="435" rx="16" ry="8" fill="#e2931f"/>
<!-- ═══════════ 牙盘 ═══════════ -->
<g transform="translate(390 445)">
<g id="chainring">
<circle r="34" fill="none" stroke="#8b98a8" stroke-width="7"/>
<circle r="34" fill="none" stroke="#4d5866" stroke-width="10"
stroke-dasharray="4 6"/>
<circle r="24" fill="none" stroke="#aebbc9" stroke-width="2.5"/>
<line x1="-24" y1="0" x2="24" y2="0" stroke="#aebbc9" stroke-width="4"/>
<line x1="0" y1="-24" x2="0" y2="24" stroke="#aebbc9" stroke-width="4"/>
</g>
</g>
<!-- ═══════════ 右曲柄 / 右踏板 / 右腿(近侧)═══════════ -->
<line id="rCrank" x1="390" y1="445" x2="440" y2="445"
stroke="#9aa8b8" stroke-width="9" stroke-linecap="round"/>
<rect id="rPedal" x="-15" y="-5" width="30" height="10" rx="4" fill="#2f3844"
transform="translate(425 440)"/>
<path id="rThigh" d="M 322 272 L 400 320" fill="none"
stroke="#f2a832" stroke-width="23" stroke-linecap="round"/>
<path id="rShin" d="M 400 320 L 440 435" fill="none"
stroke="#ffc155" stroke-width="15" stroke-linecap="round"/>
<circle id="rKnee" cx="400" cy="320" r="10.5" fill="#f2a832"/>
<ellipse id="rFoot" cx="440" cy="435" rx="17" ry="8.5" fill="#f2a832"/>
<ellipse id="rFootTop" cx="440" cy="435" rx="12" ry="4" fill="#ffd77e" opacity=".7"/>
<!-- ═══════════ 鹈鹕 ═══════════ -->
<!-- 尾羽 -->
<path d="M 228 228 Q 192 214 180 240 Q 196 260 232 254 Z"
fill="#d9d2be"/>
<!-- 身体 -->
<ellipse cx="300" cy="215" rx="82" ry="58" fill="url(#bodyGrad)"
transform="rotate(-6 300 215)"/>
<!-- 收拢的翅膀(远侧,带羽毛纹理) -->
<path d="M 330 182 Q 268 174 232 206 Q 204 236 220 268
Q 244 296 292 290 Q 340 282 354 246 Q 362 208 330 182 Z"
fill="url(#wingGrad)"/>
<g stroke="#bdb49d" stroke-width="3" fill="none" stroke-linecap="round" opacity=".85">
<path d="M 330 198 Q 288 208 258 236"/>
<path d="M 336 218 Q 298 230 270 258"/>
<path d="M 340 238 Q 308 250 288 272"/>
</g>
<!-- 脖子 -->
<path d="M 350 185 C 358 150 370 132 395 122"
fill="none" stroke="#f8f4e9" stroke-width="42" stroke-linecap="round"/>
<path d="M 350 185 C 358 150 370 132 395 122"
fill="none" stroke="#ffffff" stroke-width="30" stroke-linecap="round"
opacity=".45"/>
<!-- 头 -->
<circle cx="400" cy="118" r="34" fill="#fdfaf3"/>
<!-- 脸颊红晕 -->
<circle cx="416" cy="130" r="14" fill="url(#cheekGrad)"/>
<!-- 喉囊 -->
<path d="M 420 122 Q 490 130 563 145 Q 525 200 460 196 Q 420 188 420 122 Z"
fill="url(#pouchGrad)"/>
<path d="M 432 132 Q 470 142 512 152" fill="none"
stroke="#e08f2a" stroke-width="2.5" opacity=".55" stroke-linecap="round"/>
<!-- 上喙 -->
<path d="M 420 98 Q 495 98 565 145 Q 495 125 418 122 Z"
fill="url(#beakGrad)"/>
<path d="M 424 106 Q 492 108 556 143" fill="none"
stroke="#ffd98d" stroke-width="3" opacity=".7" stroke-linecap="round"/>
<!-- 鼻孔 -->
<ellipse cx="447" cy="110" rx="4" ry="2.6" fill="#c46a11" opacity=".8"/>
<!-- 眼睛 -->
<circle cx="410" cy="103" r="7.5" fill="#2a2a33"/>
<circle cx="412.6" cy="100.6" r="2.6" fill="#ffffff"/>
<circle cx="407.8" cy="105.4" r="1.3" fill="#ffffff" opacity=".7"/>
<!-- 前翅:伸向车把,握住把手 -->
<path d="M 344 188 C 404 182 462 208 500 250"
fill="none" stroke="#efe9d9" stroke-width="46" stroke-linecap="round"/>
<path d="M 344 188 C 404 182 462 208 500 250"
fill="none" stroke="#fbf8f0" stroke-width="30" stroke-linecap="round"
opacity=".7"/>
<!-- 翅膀尖端(握把) -->
<path d="M 494 240 Q 522 246 524 264 Q 510 278 490 266 Q 484 252 494 240 Z"
fill="#efe9d9"/>
<g stroke="#c9c1ab" stroke-width="2.6" fill="none" stroke-linecap="round" opacity=".8">
<path d="M 498 250 Q 510 254 514 262"/>
<path d="M 494 258 Q 504 262 508 268"/>
</g>
<!-- 脖子上的小高光 -->
<path d="M 356 180 C 362 154 372 138 388 128"
fill="none" stroke="#ffffff" stroke-width="6" stroke-linecap="round"
opacity=".55"/>
</svg>
<script>
(function () {
"use strict";
/* ── 关键尺寸 ───────────────────────────── */
const BB = { x: 390, y: 445 }; // 中轴(曲柄旋转中心)
const HIP = { x: 322, y: 272 }; // 髋关节
const CRANK = 50; // 曲柄长度
const L1 = 95; // 大腿
const L2 = 148; // 小腿
const GEAR = 34 / 16; // 牙盘/飞轮 齿比
/* ── DOM 引用 ───────────────────────────── */
const $ = id => document.getElementById(id);
const rCrank = $('rCrank'), lCrank = $('lCrank');
const rPedal = $('rPedal'), lPedal = $('lPedal');
const rThigh = $('rThigh'), rShin = $('rShin'), rKnee = $('rKnee');
const lThigh = $('lThigh'), lShin = $('lShin'), lKnee = $('lKnee');
const rFoot = $('rFoot'), lFoot = $('lFoot'), rFootTop = $('rFootTop');
const backSpokes = $('backSpokes');
const frontSpokes = $('frontSpokes');
const chainring = $('chainring');
/* ── 两段式 IK:由髋与脚求膝盖位置 ─────── */
function solveKnee(hx, hy, fx, fy, l1, l2) {
const dx = fx - hx, dy = fy - hy;
const raw = Math.hypot(dx, dy) || 1e-6;
// 防止超出可达范围
const d = Math.min(Math.max(raw, Math.abs(l1 - l2) + 1), l1 + l2 - 1);
const ux = dx / raw, uy = dy / raw;
const a = (l1 * l1 - l2 * l2 + d * d) / (2 * d);
const h = Math.sqrt(Math.max(0, l1 * l1 - a * a));
// 两个解,取靠上(y 更小)的那个 —— 膝盖朝前上方弯曲
const k1 = { x: hx + a * ux - h * uy, y: hy + a * uy + h * ux };
const k2 = { x: hx + a * ux + h * uy, y: hy + a * uy - h * ux };
return k1.y < k2.y ? k1 : k2;
}
/* ── 单侧腿更新 ─────────────────────────── */
function updateLeg(side, foot) {
const knee = solveKnee(HIP.x, HIP.y, foot.x, foot.y, L1, L2);
const thigh = side === 'r' ? rThigh : lThigh;
const shin = side === 'r' ? rShin : lShin;
const kneeC = side === 'r' ? rKnee : lKnee;
thigh.setAttribute('d', `M ${HIP.x} ${HIP.y} L ${knee.x} ${knee.y}`);
shin.setAttribute('d', `M ${knee.x} ${knee.y} L ${foot.x} ${foot.y}`);
kneeC.setAttribute('cx', knee.x);
kneeC.setAttribute('cy', knee.y);
}
function setLine(el, x1, y1, x2, y2) {
el.setAttribute('x1', x1); el.setAttribute('y1', y1);
el.setAttribute('x2', x2); el.setAttribute('y2', y2);
}
/* ── 主循环 ─────────────────────────────── */
let theta = 0, lastT = null;
const RAD2DEG = 180 / Math.PI;
function frame(ts) {
if (lastT === null) lastT = ts;
const dt = Math.min((ts - lastT) / 1000, 0.05);
lastT = ts;
theta += dt * 2.2; // 踏频 ≈ 0.35 转/秒
const c = Math.cos(theta), s = Math.sin(theta);
/* 左右踏板位置(相差 180°) */
const rp = { x: BB.x + CRANK * c, y: BB.y + CRANK * s };
const lp = { x: BB.x - CRANK * c, y: BB.y - CRANK * s };
/* 曲柄臂 */
setLine(rCrank, BB.x, BB.y, rp.x, rp.y);
setLine(lCrank, BB.x, BB.y, lp.x, lp.y);
/* 踏板(保持水平) */
rPedal.setAttribute('transform', `translate(${rp.x - 15} ${rp.y - 5})`);
lPedal.setAttribute('transform', `translate(${lp.x - 15} ${lp.y - 5})`);
/* 双脚踩在踏板上 */
rFoot.setAttribute('cx', rp.x); rFoot.setAttribute('cy', rp.y - 11);
rFootTop.setAttribute('cx', rp.x); rFootTop.setAttribute('cy', rp.y - 13);
lFoot.setAttribute('cx', lp.x); lFoot.setAttribute('cy', lp.y - 11);
/* 腿部 IK */
updateLeg('r', { x: rp.x, y: rp.y - 11 });
updateLeg('l', { x: lp.x, y: lp.y - 11 });
/* 牙盘随曲柄同轴旋转 */
chainring.setAttribute('transform', `rotate(${theta * RAD2DEG})`);
/* 车轮:转速 = 踏频 × 齿比,方向与踏频一致 */
const wheelDeg = theta * GEAR * RAD2DEG;
backSpokes.setAttribute('transform', `rotate(${wheelDeg})`);
frontSpokes.setAttribute('transform', `rotate(${wheelDeg})`);
requestAnimationFrame(frame);
}
requestAnimationFrame(frame);
})();
</script>
</body>
</html>
[/upvote]
第二个修改版:让鹈鹕在骑车时看书:
20261017-1158-11.7303599
[upvote]
代码:
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<title>鹈鹕骑车看书 · 动态 SVG</title>
<style>
html,body{
margin:0;height:100%;
display:flex;align-items:center;justify-content:center;
background:radial-gradient(circle at 50% 40%, #1d2a3e 0%, #0c1120 100%);
overflow:hidden;
}
svg{width:min(96vw, 980px);height:auto;display:block;
filter:drop-shadow(0 24px 48px rgba(0,0,0,.55));}
</style>
</head>
<body>
<svg id="scene" viewBox="0 0 800 600" xmlns="http://www.w3.org/2000/svg">
<defs>
<linearGradient id="sky" x1="0" y1="0" x2="0" y2="1">
<stop offset="0%" stop-color="#b8dcf2"/>
<stop offset="60%" stop-color="#e4f3fb"/>
<stop offset="100%" stop-color="#f7fcf8"/>
</linearGradient>
<linearGradient id="ground" x1="0" y1="0" x2="0" y2="1">
<stop offset="0%" stop-color="#a5d887"/>
<stop offset="100%" stop-color="#6db84f"/>
</linearGradient>
<linearGradient id="beak" x1="0" y1="0" x2="1" y2="0.4">
<stop offset="0%" stop-color="#ffd979"/>
<stop offset="50%" stop-color="#fbaa3c"/>
<stop offset="100%" stop-color="#ef7f18"/>
</linearGradient>
<linearGradient id="pouch" x1="0.2" y1="0" x2="0.6" y2="1">
<stop offset="0%" stop-color="#ffe19c"/>
<stop offset="60%" stop-color="#fbc062"/>
<stop offset="100%" stop-color="#ec9732"/>
</linearGradient>
<linearGradient id="body" x1="0.25" y1="0" x2="0.75" y2="1">
<stop offset="0%" stop-color="#ffffff"/>
<stop offset="55%" stop-color="#f8f4e9"/>
<stop offset="100%" stop-color="#dcd6c4"/>
</linearGradient>
<linearGradient id="wing" x1="0.2" y1="0" x2="0.8" y2="1">
<stop offset="0%" stop-color="#f4eedf"/>
<stop offset="100%" stop-color="#cfc7b3"/>
</linearGradient>
<radialGradient id="cheek" cx="0.5" cy="0.5" r="0.5">
<stop offset="0%" stop-color="#ffb4b4" stop-opacity=".65"/>
<stop offset="100%" stop-color="#ffb4b4" stop-opacity="0"/>
</radialGradient>
<linearGradient id="frame" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#3aa8a0"/>
<stop offset="100%" stop-color="#1f7070"/>
</linearGradient>
<linearGradient id="pageL" x1="0" y1="0" x2="0.35" y2="1">
<stop offset="0%" stop-color="#fffdf6"/>
<stop offset="100%" stop-color="#f1e9d4"/>
</linearGradient>
<linearGradient id="pageR" x1="0" y1="0" x2="0.35" y2="1">
<stop offset="0%" stop-color="#fffdf6"/>
<stop offset="100%" stop-color="#f1e9d4"/>
</linearGradient>
</defs>
<!-- ═══════════ 背景 ═══════════ -->
<rect width="800" height="600" fill="url(#sky)"/>
<circle cx="678" cy="98" r="56" fill="#ffe9a8" opacity="0.42"/>
<circle cx="678" cy="98" r="40" fill="#fff3c4"/>
<g fill="#ffffff" opacity="0.85">
<ellipse cx="150" cy="106" rx="60" ry="25"/>
<ellipse cx="194" cy="92" rx="44" ry="22"/>
<ellipse cx="110" cy="95" rx="38" ry="19"/>
</g>
<g fill="#ffffff" opacity="0.6">
<ellipse cx="470" cy="76" rx="50" ry="20"/>
<ellipse cx="508" cy="64" rx="34" ry="16"/>
<ellipse cx="436" cy="66" rx="28" ry="14"/>
</g>
<path d="M0 515 Q120 405 258 482 Q380 380 520 470 Q652 400 800 486 L800 515 Z"
fill="#c2e2aa" opacity="0.7"/>
<path d="M0 515 Q150 450 300 500 Q450 442 610 498 Q710 468 800 500 L800 515 Z"
fill="#aed494" opacity="0.55"/>
<rect y="515" width="800" height="85" fill="url(#ground)"/>
<line x1="0" y1="515" x2="800" y2="515" stroke="#88c267" stroke-width="4"/>
<g stroke="#7cb95c" stroke-width="7" stroke-linecap="round" opacity="0.5">
<line x1="-120" y1="552" x2="920" y2="552" stroke-dasharray="42 58"/>
<animateTransform attributeName="transform" type="translate"
from="0 0" to="-100 0" dur="0.32s" repeatCount="indefinite"/>
</g>
<g stroke="#96cd77" stroke-width="6" stroke-linecap="round" opacity="0.42">
<line x1="-120" y1="580" x2="920" y2="580" stroke-dasharray="26 42"/>
<animateTransform attributeName="transform" type="translate"
from="0 0" to="-68 0" dur="0.22s" repeatCount="indefinite"/>
</g>
<ellipse cx="400" cy="518" rx="300" ry="13" fill="#2f5c22" opacity="0.15"/>
<!-- ═══════════ 后轮 ═══════════ -->
<g transform="translate(230 420)">
<circle r="95" fill="none" stroke="#2c3240" stroke-width="12"/>
<circle r="84" fill="none" stroke="#b9c4d0" stroke-width="4.5"/>
<g id="backSpokes" stroke="#dbe2ea" stroke-width="2.4" opacity=".95">
<line x1="0" y1="0" x2="84" y2="0"/>
<line x1="0" y1="0" x2="72.7" y2="42"/>
<line x1="0" y1="0" x2="42" y2="72.7"/>
<line x1="0" y1="0" x2="0" y2="84"/>
<line x1="0" y1="0" x2="-42" y2="72.7"/>
<line x1="0" y1="0" x2="-72.7" y2="42"/>
<line x1="0" y1="0" x2="-84" y2="0"/>
<line x1="0" y1="0" x2="-72.7" y2="-42"/>
<line x1="0" y1="0" x2="-42" y2="-72.7"/>
<line x1="0" y1="0" x2="0" y2="-84"/>
<line x1="0" y1="0" x2="42" y2="-72.7"/>
<line x1="0" y1="0" x2="72.7" y2="-42"/>
</g>
<circle r="10" fill="#4a5568"/>
<circle r="4.5" fill="#9fb0c2"/>
</g>
<!-- ═══════════ 前轮 ═══════════ -->
<g transform="translate(570 420)">
<circle r="95" fill="none" stroke="#2c3240" stroke-width="12"/>
<circle r="84" fill="none" stroke="#b9c4d0" stroke-width="4.5"/>
<g id="frontSpokes" stroke="#dbe2ea" stroke-width="2.4" opacity=".95">
<line x1="0" y1="0" x2="84" y2="0"/>
<line x1="0" y1="0" x2="72.7" y2="42"/>
<line x1="0" y1="0" x2="42" y2="72.7"/>
<line x1="0" y1="0" x2="0" y2="84"/>
<line x1="0" y1="0" x2="-42" y2="72.7"/>
<line x1="0" y1="0" x2="-72.7" y2="42"/>
<line x1="0" y1="0" x2="-84" y2="0"/>
<line x1="0" y1="0" x2="-72.7" y2="-42"/>
<line x1="0" y1="0" x2="-42" y2="-72.7"/>
<line x1="0" y1="0" x2="0" y2="-84"/>
<line x1="0" y1="0" x2="42" y2="-72.7"/>
<line x1="0" y1="0" x2="72.7" y2="-42"/>
</g>
<circle r="10" fill="#4a5568"/>
<circle r="4.5" fill="#9fb0c2"/>
</g>
<!-- ═══════════ 链条 ═══════════ -->
<path id="chain"
d="M 230.70 404.02
L 391.48 411.03
A 34 34 0 1 1 381.05 477.80
L 225.79 435.44
A 16 16 0 0 1 230.70 404.02 Z"
fill="none" stroke="#4d5866" stroke-width="6"
stroke-dasharray="8 8" stroke-linecap="round">
<animate attributeName="stroke-dashoffset" from="0" to="-16"
dur="0.235s" repeatCount="indefinite"/>
</path>
<!-- ═══════════ 远侧曲柄 / 踏板 / 腿(压在车架下)═══════════ -->
<line id="lCrank" x1="390" y1="445" x2="340" y2="445"
stroke="#6d7a8a" stroke-width="9" stroke-linecap="round"/>
<rect id="lPedal" x="-15" y="-5" width="30" height="10" rx="4" fill="#39424f"
transform="translate(340 445)"/>
<path id="lThigh" d="M 322 272 L 380 347" fill="none"
stroke="#d99427" stroke-width="22" stroke-linecap="round"/>
<path id="lShin" d="M 380 347 L 340 434" fill="none"
stroke="#e0a132" stroke-width="14" stroke-linecap="round"/>
<circle id="lKnee" cx="380" cy="347" r="10" fill="#d99427"/>
<ellipse id="lFoot" cx="340" cy="434" rx="16" ry="8" fill="#d99427"/>
<!-- ═══════════ 车架 ═══════════ -->
<g stroke="url(#frame)" stroke-width="10" stroke-linecap="round" fill="none">
<line x1="320" y1="275" x2="390" y2="445"/>
<line x1="390" y1="445" x2="515" y2="355"/>
<line x1="320" y1="275" x2="490" y2="285"/>
<line x1="490" y1="285" x2="515" y2="355"/>
<line x1="390" y1="445" x2="230" y2="420"/>
<line x1="320" y1="275" x2="230" y2="420"/>
</g>
<line x1="515" y1="355" x2="570" y2="420"
stroke="#1f7070" stroke-width="9" stroke-linecap="round"/>
<!-- 车座 -->
<path d="M 278 274 Q 300 258 348 262 Q 360 268 348 276 Q 310 284 278 274 Z"
fill="#2c3642"/>
<!-- 车把 -->
<g fill="none" stroke="#2c3642" stroke-width="8" stroke-linecap="round">
<path d="M 490 285 L 490 270"/>
<path d="M 476 266 Q 508 260 538 270"/>
</g>
<!-- 飞轮 -->
<g transform="translate(230 420)">
<circle r="16" fill="none" stroke="#8b98a8" stroke-width="5"/>
<circle r="16" fill="none" stroke="#4d5866" stroke-width="9"
stroke-dasharray="3 5" opacity=".9"/>
</g>
<!-- ═══════════ 牙盘 ═══════════ -->
<g transform="translate(390 445)">
<g id="chainring">
<circle r="34" fill="none" stroke="#8b98a8" stroke-width="7"/>
<circle r="34" fill="none" stroke="#4d5866" stroke-width="10"
stroke-dasharray="4 6"/>
<circle r="24" fill="none" stroke="#aebbc9" stroke-width="2.5"/>
<line x1="-24" y1="0" x2="24" y2="0" stroke="#aebbc9" stroke-width="4"/>
<line x1="0" y1="-24" x2="0" y2="24" stroke="#aebbc9" stroke-width="4"/>
</g>
</g>
<!-- ═══════════ 近侧曲柄 / 踏板 / 腿 ═══════════ -->
<line id="rCrank" x1="390" y1="445" x2="440" y2="445"
stroke="#95a3b4" stroke-width="9" stroke-linecap="round"/>
<rect id="rPedal" x="-15" y="-5" width="30" height="10" rx="4" fill="#2f3844"
transform="translate(440 445)"/>
<path id="rThigh" d="M 322 272 L 380 347" fill="none"
stroke="#f0a83a" stroke-width="23" stroke-linecap="round"/>
<path id="rShin" d="M 380 347 L 440 434" fill="none"
stroke="#ffc155" stroke-width="15" stroke-linecap="round"/>
<circle id="rKnee" cx="380" cy="347" r="10.5" fill="#f0a83a"/>
<ellipse id="rFoot" cx="440" cy="434" rx="17" ry="8.5" fill="#f0a83a"/>
<!-- ═══════════ 鹈鹕 ═══════════ -->
<!-- 尾羽 -->
<path d="M 232 224 Q 196 210 184 236 Q 200 256 236 250 Z" fill="#d5ceb9"/>
<!-- 身体 -->
<ellipse cx="298" cy="212" rx="82" ry="57" fill="url(#body)"
transform="rotate(-6 298 212)"/>
<!-- 远侧翅膀:从身体下方伸向书脊底部托住书 -->
<path d="M 338 202 C 372 232 412 262 448 272"
fill="none" stroke="url(#wing)" stroke-width="24" stroke-linecap="round"/>
<path d="M 338 202 C 372 232 412 262 448 272"
fill="none" stroke="#fbf8f0" stroke-width="12" stroke-linecap="round"
opacity=".55"/>
<g stroke="#c9c1ab" stroke-width="2.2" fill="none" stroke-linecap="round" opacity=".85">
<path d="M 436 268 Q 442 272 444 276"/>
<path d="M 430 272 Q 436 276 438 280"/>
</g>
<!-- 脖子(保持静态) -->
<path d="M 348 180 C 356 148 368 130 392 120"
fill="none" stroke="#f8f4e9" stroke-width="40" stroke-linecap="round"/>
<path d="M 348 180 C 356 148 368 130 392 120"
fill="none" stroke="#ffffff" stroke-width="28" stroke-linecap="round"
opacity=".5"/>
<!-- ═══════════ 头部组(带轻微点头微动)═══════════ -->
<g id="headGroup">
<!-- 头 -->
<circle cx="398" cy="118" r="33" fill="#fdfaf3"/>
<!-- 脸颊红晕 -->
<circle cx="414" cy="130" r="13" fill="url(#cheek)"/>
<!-- 喉囊 -->
<path d="M 418 122 Q 486 130 556 146 Q 520 190 458 186 Q 420 178 418 122 Z"
fill="url(#pouch)"/>
<path d="M 430 132 Q 468 142 510 152" fill="none"
stroke="#e08f2a" stroke-width="2.4" opacity=".5" stroke-linecap="round"/>
<!-- 上喙 -->
<path d="M 418 98 Q 490 98 558 146 Q 490 126 416 122 Z"
fill="url(#beak)"/>
<path d="M 422 106 Q 490 108 550 144" fill="none"
stroke="#ffd98d" stroke-width="3" opacity=".7" stroke-linecap="round"/>
<ellipse cx="444" cy="110" rx="4" ry="2.5" fill="#c46a11" opacity=".8"/>
<!-- 眼睛(向下看书) -->
<circle cx="408" cy="106" r="7.5" fill="#2a2a33"/>
<circle cx="410.2" cy="108.4" r="2.6" fill="#ffffff"/>
<circle cx="406" cy="103.4" r="1.2" fill="#ffffff" opacity=".75"/>
<!-- 头部微动:围绕脖子连接处轻微点头 -->
<animateTransform attributeName="transform" type="rotate"
values="-1.8 392 126; 1.8 392 126; -1.8 392 126"
dur="2.8s" repeatCount="indefinite"/>
</g>
<!-- ═══════════ 书本(比例更协调,微倾朝向鹈鹕视线)═══════════ -->
<g id="book">
<!-- 整本书绕书脊中心微倾,阅读面朝向鹈鹕 -->
<g transform="rotate(-7 455 235)">
<!-- 左页 -->
<path d="M 455 198 Q 428 203 406 216 L 410 258 Q 432 252 455 272 Z"
fill="url(#pageL)" stroke="#d9c9a8" stroke-width="2" stroke-linejoin="round"/>
<!-- 左页文字行 -->
<g stroke="#c4b394" stroke-width="2" opacity=".8" stroke-linecap="round">
<line x1="422" y1="222" x2="448" y2="217"/>
<line x1="422" y1="232" x2="448" y2="227"/>
<line x1="422" y1="242" x2="448" y2="237"/>
<line x1="422" y1="252" x2="440" y2="248"/>
</g>
<!-- 右页 -->
<path d="M 455 198 Q 482 203 504 216 L 500 258 Q 478 252 455 272 Z"
fill="url(#pageR)" stroke="#d9c9a8" stroke-width="2" stroke-linejoin="round"/>
<!-- 右页文字行 -->
<g stroke="#c4b394" stroke-width="2" opacity=".8" stroke-linecap="round">
<line x1="462" y1="217" x2="488" y2="222"/>
<line x1="462" y1="227" x2="488" y2="232"/>
<line x1="462" y1="237" x2="488" y2="242"/>
<line x1="470" y1="248" x2="488" y2="252"/>
</g>
<!-- 书脊 -->
<line x1="455" y1="198" x2="455" y2="272"
stroke="#7a5c3e" stroke-width="4" stroke-linecap="round"/>
<!-- 书脊高光 -->
<line x1="456.5" y1="200" x2="456.5" y2="270"
stroke="#a8875f" stroke-width="1.2" stroke-linecap="round" opacity=".6"/>
</g>
</g>
<!-- ═══════════ 近侧翅膀:从下方伸到右页下角,托住书 ═══════════ -->
<path d="M 352 224 C 395 252 455 274 500 266"
fill="none" stroke="url(#wing)" stroke-width="26" stroke-linecap="round"/>
<path d="M 352 224 C 395 252 455 274 500 266"
fill="none" stroke="#fbf8f0" stroke-width="13" stroke-linecap="round"
opacity=".55"/>
<g stroke="#c9c1ab" stroke-width="2.2" fill="none" stroke-linecap="round" opacity=".85">
<path d="M 488 262 Q 494 266 496 270"/>
<path d="M 482 266 Q 488 270 490 274"/>
</g>
<!-- 脖子高光 -->
<path d="M 354 176 C 360 150 370 134 386 124"
fill="none" stroke="#ffffff" stroke-width="6" stroke-linecap="round"
opacity=".55"/>
</svg>
<script>
(function () {
"use strict";
/* ── 关键尺寸 ───────────────────────────── */
const BB = { x: 390, y: 445 }; // 中轴
const HIP = { x: 322, y: 272 }; // 髋关节
const CRANK = 50; // 曲柄长度
const L1 = 95; // 大腿
const L2 = 148; // 小腿
const GEAR = 34 / 16; // 齿比(牙盘/飞轮)
const $ = id => document.getElementById(id);
const rCrank = $('rCrank'), lCrank = $('lCrank');
const rPedal = $('rPedal'), lPedal = $('lPedal');
const rThigh = $('rThigh'), rShin = $('rShin'), rKnee = $('rKnee');
const lThigh = $('lThigh'), lShin = $('lShin'), lKnee = $('lKnee');
const rFoot = $('rFoot'), lFoot = $('lFoot');
const backSpokes = $('backSpokes');
const frontSpokes = $('frontSpokes');
const chainring = $('chainring');
/* ── 两段式 IK:由髋与脚求膝盖位置 ─────── */
function solveKnee(hx, hy, fx, fy, l1, l2) {
const dx = fx - hx, dy = fy - hy;
const raw = Math.hypot(dx, dy) || 1e-6;
const d = Math.min(Math.max(raw, Math.abs(l1 - l2) + 1), l1 + l2 - 1);
const ux = dx / raw, uy = dy / raw;
const a = (l1 * l1 - l2 * l2 + d * d) / (2 * d);
const h = Math.sqrt(Math.max(0, l1 * l1 - a * a));
// 取靠上(y 更小)的解 —— 膝盖朝前上方弯曲
const k1 = { x: hx + a * ux - h * uy, y: hy + a * uy + h * ux };
const k2 = { x: hx + a * ux + h * uy, y: hy + a * uy - h * ux };
return k1.y < k2.y ? k1 : k2;
}
function updateLeg(side, foot) {
const knee = solveKnee(HIP.x, HIP.y, foot.x, foot.y, L1, L2);
const thigh = side === 'r' ? rThigh : lThigh;
const shin = side === 'r' ? rShin : lShin;
const kneeC = side === 'r' ? rKnee : lKnee;
thigh.setAttribute('d', `M ${HIP.x} ${HIP.y} L ${knee.x} ${knee.y}`);
shin.setAttribute('d', `M ${knee.x} ${knee.y} L ${foot.x} ${foot.y}`);
kneeC.setAttribute('cx', knee.x);
kneeC.setAttribute('cy', knee.y);
}
function setLine(el, x1, y1, x2, y2) {
el.setAttribute('x1', x1); el.setAttribute('y1', y1);
el.setAttribute('x2', x2); el.setAttribute('y2', y2);
}
/* ── 主循环 ─────────────────────────────── */
let theta = 0, lastT = null;
const RAD2DEG = 180 / Math.PI;
function frame(ts) {
if (lastT === null) lastT = ts;
const dt = Math.min((ts - lastT) / 1000, 0.05);
lastT = ts;
theta += dt * 2.0; // 踏频
const c = Math.cos(theta), s = Math.sin(theta);
/* 左右踏板(相位差 180°) */
const rp = { x: BB.x + CRANK * c, y: BB.y + CRANK * s };
const lp = { x: BB.x - CRANK * c, y: BB.y - CRANK * s };
/* 曲柄臂 */
setLine(rCrank, BB.x, BB.y, rp.x, rp.y);
setLine(lCrank, BB.x, BB.y, lp.x, lp.y);
/* 踏板(保持水平) */
rPedal.setAttribute('transform', `translate(${rp.x} ${rp.y})`);
lPedal.setAttribute('transform', `translate(${lp.x} ${lp.y})`);
/* 双脚踩在踏板上 */
rFoot.setAttribute('cx', rp.x); rFoot.setAttribute('cy', rp.y - 11);
lFoot.setAttribute('cx', lp.x); lFoot.setAttribute('cy', lp.y - 11);
/* 腿部 IK */
updateLeg('r', { x: rp.x, y: rp.y - 11 });
updateLeg('l', { x: lp.x, y: lp.y - 11 });
/* 牙盘随曲柄旋转 */
chainring.setAttribute('transform', `rotate(${theta * RAD2DEG})`);
/* 车轮:转速 = 踏频 × 齿比 */
const wheelDeg = theta * GEAR * RAD2DEG;
backSpokes.setAttribute('transform', `rotate(${wheelDeg})`);
frontSpokes.setAttribute('transform', `rotate(${wheelDeg})`);
requestAnimationFrame(frame);
}
requestAnimationFrame(frame);
})();
</script>
</body>
</html>
[/upvote]
由于时间所限,没能进行更多测试。不过从这些测试来看,deepseek-v4.1-flash-1017确实是有不小提升的。希望其他家赶紧上新吧!大家苦A\久矣! 
17
10
还在为IP不纯、平台风控、频繁验证而烦恼? 丽萨主机海外原生IP VPS,双ISP住宅IP,覆盖美国、香港、日本、新加坡、台湾、德国、越南、英国等热门地区,适合跨境电商、社媒运营、AI工具、流媒体及海外业务使用。
10 条回复
排序