A first-order ODE dy/dx = f(x,y) assigns a slope to every point. The segments drawn are the tangent directions (1, f)/sqrt(1+f^2); a solution curve is tangent to the field everywhere.
Euler: y_{n+1} = y_n + h f(x_n,y_n) (global error O(h)). Classical RK4 uses four slope samples per step (global error O(h^4)). Halving h should cut the Euler error by about 2 and the RK4 error by about 16.
Exact solutions used: y'=y-x gives y=x+1+Ce^x; y'=x-y gives y=x-1+Ce^-x; y'=-xy gives y=y0 e^{-(x^2-x0^2)/2}; logistic y'=y(1-y) gives y=1/(1+((1-y0)/y0)e^{-(x-x0)}). The other two fields have no closed form here; they are checked against a very fine RK4 reference.
Envelope mode: the tangent to y=g(x) at x0 is y=g(x0)+g'(x0)(x-x0). The family of tangents envelopes the curve (the parabola case is the classic string-art curve).
Limits: curves stop at the screen edge or where they blow up; Euler and RK4 here are fixed-step with no error control.