feat: integrate brighter A3 soft ribbon hints with cached target glow

This commit is contained in:
toshiocn
2026-10-23 17:18:09 +08:00
parent 6abbc37399
commit 8f2263b5d3
23 changed files with 683 additions and 186 deletions
@@ -0,0 +1,79 @@
{
"id": "hint-soft-ribbon-a3-bright",
"status": "production",
"units": "logical-canvas-pixels",
"body": {
"widthRatio": 0.235,
"widthMin": 7,
"widthMax": 26,
"cornerRadiusRatio": 0.2,
"edgeOuterExtra": 5,
"edgeInnerExtra": 2,
"edgeOuter": "rgba(255,191,126,0.10)",
"edgeInner": "rgba(255,199,140,0.18)",
"gradient": [
[
0,
"rgba(255,196,136,0.78)"
],
[
0.55,
"rgba(255,185,126,0.72)"
],
[
1,
"rgba(255,196,139,0.65)"
]
],
"crownWidthRatio": 0.76,
"crownOffset": [
-0.8,
-1.2
],
"crownColor": "rgba(255,240,203,0.24)",
"shadowColor": "rgba(197,122,53,0.09)",
"shadowBlur": 5,
"shadowY": 2
},
"highlight": {
"count": 1,
"speed": 60,
"minCycleMs": 1800,
"radiusRatioToWidth": 0.62,
"stretchAlongPath": 2.2,
"gradient": [
[
0,
"rgba(255,255,245,0.90)"
],
[
0.5,
"rgba(255,251,225,0.48)"
],
[
1,
"rgba(255,251,225,0)"
]
]
},
"endpointFade": {
"radiusRatio": 0.39,
"opaqueEraseUntil": 0.6
},
"target": {
"blur": 15,
"shadowColor": "rgba(250,194,99,0.70)",
"faceColor": "rgba(255,233,166,0.12)",
"tintCenterColor": "rgba(255,235,175,0.36)",
"tintRadiusRatio": 0.8,
"breathCycleMs": 2200,
"breathMin": 0.65,
"breathMax": 1
},
"constraints": {
"noArrows": true,
"noBracket": true,
"noTargetRing": true
},
"keepoutFeather": 3
}