Skip to content

Instantly share code, notes, and snippets.

View Domepo's full-sized avatar
🐻
Holidays

Dominik Domepo

🐻
Holidays
  • Student
  • Germany
View GitHub Profile
@Domepo
Domepo / main.py
Last active May 30, 2022 13:38
Avolites curve generator
import math
def mapRange(value, inMin, inMax, outMin, outMax):
return outMin + (((value - inMin) / (inMax - inMin)) * (outMax - outMin))
# https://stackoverflow.com/questions/1969240/mapping-a-range-of-values-to-another
start_percent = 10
end_percent = 100
all_values = []