Demonstration of a numerical simulation of the gravitational lensing effect. The density function is the Einasto profile.
http://bayesianbiologist.com/2012/11/24/simulating-weak-gravitational-lensing/