feat(templates): redesign and add back in the original templates from v3

This commit is contained in:
Amruth Pillai
2023-11-26 14:33:40 +01:00
parent 765bf71220
commit 446c5db68f
30 changed files with 2817 additions and 415 deletions

View File

@ -8,5 +8,3 @@ export const linearTransform = (
if (inMax === inMin) return value === inMax ? outMin : NaN;
return ((value - inMin) * (outMax - outMin)) / (inMax - inMin) + outMin;
};
// Handle this case: returns output minimum if input maximum equals input minimum