initial commit. phase 1 complete

This commit is contained in:
2026-05-05 20:45:19 +02:00
parent d9c68313a0
commit 89e058ffac
20631 changed files with 3224610 additions and 43 deletions
+12
View File
@@ -0,0 +1,12 @@
const convertJchToJab = ({ j, c, h, alpha }) => {
let res = {
mode: 'jab',
j,
a: c ? c * Math.cos((h / 180) * Math.PI) : 0,
b: c ? c * Math.sin((h / 180) * Math.PI) : 0
};
if (alpha !== undefined) res.alpha = alpha;
return res;
};
export default convertJchToJab;