mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-06-30 09:31:19 +08:00
- Multi-AI competition mode (Qwen vs DeepSeek) - Binance Futures integration - AI self-learning mechanism - Professional web dashboard - Complete risk management system
15 lines
253 B
JavaScript
15 lines
253 B
JavaScript
var pi = Math.PI,
|
|
halfPi = pi / 2;
|
|
|
|
export function sinIn(t) {
|
|
return (+t === 1) ? 1 : 1 - Math.cos(t * halfPi);
|
|
}
|
|
|
|
export function sinOut(t) {
|
|
return Math.sin(t * halfPi);
|
|
}
|
|
|
|
export function sinInOut(t) {
|
|
return (1 - Math.cos(pi * t)) / 2;
|
|
}
|