agents defs from DB

This commit is contained in:
STEINNI
2025-10-12 19:45:18 +00:00
parent f62a7176d4
commit a38d2da3e4
11 changed files with 64 additions and 1014 deletions
+4 -2
View File
@@ -130,6 +130,7 @@ export class Threetobus{
&& (typeof(tweenProps[tweenGroup].method)=='function')){
tweenProps[tweenGroup].props.object = obj3D
tweenProps[tweenGroup].props.delay = mapping.tweenDelay
tweenProps[tweenGroup].props.easing = mapping.tweenEasing
tweenProps[tweenGroup].method(tweenProps[tweenGroup].props)
} // else { console.log('avoided tween', tweenGroup)}
}
@@ -262,11 +263,12 @@ export class Threetobus{
// Relative: dx,dy,dz
// delay: ms
// easings: Linear, Quadratic, Cubic, Quartic, Quintic, Sinusoidal, Exponential, Circular, Elastic, Back, Bounce
// easingMode: In → starts slow, accelerates towards the end.
// easingMode: None (mandatory for 'Linear')
// In → starts slow, accelerates towards the end.
// Out → starts fast, decelerates smoothly.
// InOut → slow at both ends, faster in the middle.
options.easing = options.easing ? options.easing : 'Quadratic'
options.easingMode = options.easingMode ? options.easingMode : 'InOut'
options.easingMode = options.easingMode ? options.easingMode : ((options.easing !='Linear') ? 'InOut' : 'None')
let newX = parseFloat(options.x)
newX = isNaN(newX) ? options.object.position.x : newX
-1
View File
@@ -772,7 +772,6 @@ label[secondary],p[secondary],b[secondary],span[secondary] { color: var(--eicui-
[eicapp] h1 {
font: normal normal 400 2rem/2.5rem arial,sans-serif;
border-bottom: 1px solid var(--eicui-base-color-grey-75);
color: var(--eicui-base-color-primary-100);
font-size: var(--eicui-base-font-size-4xl);
margin: var(--eicui-base-font-size-3xl) 0 var(--eicui-base-font-size-2xl);