I'm creating a graphing solution with desmos to help me visualize a problem I'm going to solve in code. If possible I want to vectorize this line: y = tan(a%360) * (x-0.5) + 0.5 where a is any given angle (positive or negative). The magnitude of the vector should be no longer than sqrt(2). I will link what I have so far. https://www.desmos.com/calculator/ow9uwowfjq
#Graphing values for a LinearGradient given an angle
1 messages · Page 1 of 1 (latest)
<@&987246746478460948> please have a look, thanks.
Got some help! For future devs looking for a solution to some acurate LinearGradient values given an angle, take a look! https://www.desmos.com/calculator/0d3tpredb5