In order to work with gradients and straight lines successfully, a good understanding of coordinates and linear graphs is needed. The gradient of a line is calculated by dividing the difference in the ...
Any straight line graph has a constant gradient, which is calculated by the change in 𝑦 divided by the change in 𝑥, along any section of the graph. The gradient is measuring the steepness of the ...
This is a simple demo of the gradient line code I wrote. It is targeted to the tft_espi library. It will write to a sprite or (I think) the base tft screen. The sprite is named in the call. It will ...