Worked on reference slider script. It is working well currently. Still going to tune it a bit before a writeup though

This commit is contained in:
Jaret Burkett committed 2023-08-12 17:59:24 -06:00
1 parent fd95e7b60c
commit 196b693cf0
4 files changed
+54 -33

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
def value_map(inputs, min_in, max_in, min_out, max_out):
return (inputs - min_in) * (max_out - min_out) / (max_in - min_in) + min_out