Based on this awesome post by John Nelson, the example simulates a chalk drawing on a blackboard.
I’ve used the new D3js 4.0 version and Canvas instead of SVG, since this could be a nice background for some visalization.