Pick a picture with hard edges
The lines come from brightness steps in the picture. Architecture, hard shadows and flat colour draw clean lines. Soft or busy pictures draw very few, or a scribble.
Let it start below the fold
The paint starts when the stage scrolls into view. Put a section above it, or it has already begun by the time anyone looks.
Keep the picture on your own domain
The picture is drawn into a canvas. A picture from another domain needs CORS headers and crossorigin="anonymous" on the <img>, or the plain picture stays.
Match the line colour to the page
The lines are drawn on the bare page before the paint arrives. --cnp-line should read against --cnp-bg.