0
less than or equal to "t" less than or equal to
1
11
I have a function F that rotates things in order to get the normal direction, perpendicular to the direction obtained by the derivative (rotating by 90 degrees). I also normalize it by dividing by the absolute value of the derivative.
12
0
less than or equal to "t" less than or equal to
1
13
Here the function h is used to add waves in the horizontal direction.
14
15
In the end I didn't use this approach exactly, since I've simply added the normalized derivative to the x-component, which yields equivalent results. I've also added a bit of a fudge factor multiplying all occurrences of u_0 by 10, which tends to result in less glitches. You can observe this in the function below by using the slider for the variable c.
16
0
less than or equal to "t" less than or equal to
1
17
18
0
1
19
utils
20
colors
28
41
powered by
powered by
New Blank Graph
Examples