const flyInScatter = (duration, easing, loop = false, startTime = 0, delayAfter = 0)=>{
    const half = duration / 2;
    return [
        {
            loop,
            startTime,
            duration: half,
            easing,
            type: 'moveIn',
            delayAfter,
            options: {
                direction: 'y',
                orient: 'negative'
            },
            controlOptions: {
                immediatelyApply: false
            }
        },
        {
            loop,
            startTime,
            duration: half,
            easing,
            delayAfter,
            channel: {
                fillOpacity: {
                    from: 0.5
                },
                size: {
                    from: (...args)=>args[1]?.attribute?.size
                }
            },
            controlOptions: {
                immediatelyApply: false
            }
        }
    ];
};
const scaleInScatter = (duration, easing, loop = false, startTime = 0, delayAfter = 0)=>[
        {
            loop,
            startTime,
            duration,
            easing,
            delayAfter,
            channel: {
                size: {
                    from: 0,
                    to: (...args)=>args[1]?.attribute?.size
                }
            },
            controlOptions: {
                immediatelyApply: false
            }
        }
    ];
export { flyInScatter, scaleInScatter };

//# sourceMappingURL=scatter.js.map