Using transformations to graph functionsSometimes we can use the concept of transformations to graph complicated functions when we know how to graph the simpler ones.For example, if you know the graph of f(x), the graph of f(x) + c will be the same function, just shifted up by c ...
Normalize(v) = V2FromLengthDir(1, AngleOf(v)) I like this option better than the common alternative v/Length(v) because it allows the input to be a zero vector (since it avoids the division by zero). This will reduce the amount of edge cases needed in our code. Rotate90Degrees(v)...
If you want to have a better feel for how cubic beziers work, I recommend checking outthis desmos link. Play around with the control points and check how the animation changes through time. (Note that the animation in the link is represented by the black line.) MeetSmashing Workshopsonfron...
Step 1:Create a graph to help you visualize the problem.I usedDesmos.com: By looking at the intersections of the two functions, I can see that the two graphs form a leaf-like shape between x = 0 and x = 1. This is the shape we’re going to rotate. The interval from 0 to 1 i...