I’ve found this thread on StackOverflow but my python understanding isn’t that good to properly translate it to C, I’m trying to add that gradient feature to this line drawing algorithm: I feel bad for asking such a trivial task but I really can’t understand what is going on on the python side nor how the colours are represented (mine