mirror of
https://github.com/bspeice/speice.io
synced 2024-12-23 09:08:10 -05:00
9 lines
262 B
TypeScript
9 lines
262 B
TypeScript
|
// hidden-start
|
||
|
import { Variation } from './variations'
|
||
|
//hidden-end
|
||
|
export function pdj(a: number, b: number, c: number, d: number): Variation {
|
||
|
return (x, y) => [
|
||
|
Math.sin(a * y) - Math.cos(b * x),
|
||
|
Math.sin(c * x) - Math.cos(d * y)
|
||
|
]
|
||
|
}
|