summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustav Sörnäs <gusso230@student.liu.se>2020-11-19 14:03:14 +0100
committerGustav Sörnäs <gusso230@student.liu.se>2020-11-20 13:39:20 +0100
commit78ae9bf9237648c21fa9db18475a057c84edbdf0 (patch)
treefa0102ea8e89b54dfc3e843135d39a82a9211c99
parentb72cc2755cde5c6e29eb9811b35456d94dc8ad45 (diff)
downloadtdde25-78ae9bf9237648c21fa9db18475a057c84edbdf0.tar.gz
clearer lerp-docstring
-rw-r--r--algorithms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/algorithms.py b/algorithms.py
index 707d55d..d0c79e3 100644
--- a/algorithms.py
+++ b/algorithms.py
@@ -27,7 +27,7 @@ def chunks(lst, n):
def lerp_color(start_color, end_color, t):
- """ Lerp between two colors by a factor t.
+ """ Linearly interpolate between two colors by a factor t.
Colors are assumed to be in the form "#RRGGBB"
"""