Pixpipejs

This does the following :

Select an image file:

The first image is the gradient direction. Note that it does not really make sens to match a [-PI/2, PI/2] interval to [0, 255].
The second image is the gradient magnitude, matched to [0, 255]