The colour picking algorithm is way too complicated and hard to understand/debug. E.g. datapoints, should not be changed and stay constant in all subroutine. Simplify the algorithm. It should maintain its features including the default behaviour of spreading colours evenly from start to stop including both edges.
Definition of Done
[ ] All ACs fulfilled
[ ] Feature tested
[ ] Related feature branch(es) merged and deleted
[ ] Documentation updated
Acceptance Criteria
[ ] algorithm simplified for easy maintenance
[ ] Colour selection similar to previous behaviour
Description
The colour picking algorithm is way too complicated and hard to understand/debug. E.g. datapoints, should not be changed and stay constant in all subroutine. Simplify the algorithm. It should maintain its features including the default behaviour of spreading colours evenly from start to stop including both edges.
Definition of Done
Acceptance Criteria