mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-05 20:11:13 +08:00
Initial commit: NOFX AI Trading System
- Multi-AI competition mode (Qwen vs DeepSeek) - Binance Futures integration - AI self-learning mechanism - Professional web dashboard - Complete risk management system
This commit is contained in:
14
web/node_modules/d3-ease/src/sin.js
generated
vendored
Normal file
14
web/node_modules/d3-ease/src/sin.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user