feat(artboard): implement 8 new templates

This commit is contained in:
Amruth Pillai
2023-11-09 21:01:01 +01:00
parent 9acf7e8d22
commit 92bb9f96a0
37 changed files with 5422 additions and 1810 deletions

View File

@ -0,0 +1,7 @@
export const linearTransform = (
value: number,
inMin: number,
inMax: number,
outMin: number,
outMax: number,
) => ((value - inMin) * (outMax - outMin)) / (inMax - inMin) + outMin;