feat(projects): 微调
This commit is contained in:
@@ -148,29 +148,29 @@ const waves = [
|
||||
|
||||
/** 电力场景剪影:输电铁塔(底部接地,局部坐标基点为塔脚中心) */
|
||||
const towers = [
|
||||
{ x: 150, s: 1 },
|
||||
{ x: 540, s: 0.85 },
|
||||
{ x: 1280, s: 0.7 }
|
||||
{ x: 150, s: 1.42 },
|
||||
{ x: 540, s: 1.2 },
|
||||
{ x: 1280, s: 1.0 }
|
||||
];
|
||||
|
||||
/** 塔间悬垂导线(悬链线意象),坐标对应各塔最宽横担端点 */
|
||||
/** 塔间悬垂导线(悬链线意象),坐标对应各塔最宽横担端点(随铁塔 scale 同步重算) */
|
||||
const powerLines = [
|
||||
{ path: 'M -60,762 Q 30,800 92,750' },
|
||||
{ path: 'M 208,750 Q 350,819 491,768' },
|
||||
{ path: 'M 589,768 Q 914,867 1239,786' },
|
||||
{ path: 'M 1321,786 Q 1430,824 1520,804' }
|
||||
{ path: 'M -60,712 Q 4,756 68,700' },
|
||||
{ path: 'M 232,700 Q 350,777 470,726' },
|
||||
{ path: 'M 610,726 Q 915,831 1222,750' },
|
||||
{ path: 'M 1338,750 Q 1429,788 1520,768' }
|
||||
];
|
||||
|
||||
/** 导线上滑过的电流光点 */
|
||||
/** 导线上滑过的电流光点(端点对齐 powerLines 的中间两段) */
|
||||
const lineSparks = [
|
||||
{ key: 'spark-1', path: 'M 208,750 Q 350,819 491,768', dur: '5s', begin: '0s' },
|
||||
{ key: 'spark-2', path: 'M 589,768 Q 914,867 1239,786', dur: '7s', begin: '2s' }
|
||||
{ key: 'spark-1', path: 'M 232,700 Q 350,777 470,726', dur: '5s', begin: '0s' },
|
||||
{ key: 'spark-2', path: 'M 610,726 Q 915,831 1222,750', dur: '7s', begin: '2s' }
|
||||
];
|
||||
|
||||
/** 风机(新能源应用场景),dur 为叶轮旋转周期 */
|
||||
const turbines = [
|
||||
{ key: 'turbine-1', x: 715, s: 0.9, dur: '9s' },
|
||||
{ key: 'turbine-2', x: 828, s: 0.6, dur: '13s' }
|
||||
{ key: 'turbine-1', x: 715, s: 1.28, dur: '9s' },
|
||||
{ key: 'turbine-2', x: 828, s: 0.88, dur: '13s' }
|
||||
];
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user