var lock= new PatternLock('#patternHolder');
var lock= new PatternLock('#patternHolder',{lineOnMove:false})
var lock= new PatternLock('#patternHolder',{patternVisible:false});
Note : Allowing repeation over dots gives a more complex pattern but have different side effects, like arrow css will not be correct, forming a multiple loop and confusing patterns.
var lock= new PatternLock('#patternHolder',{allowRepeat : true});
var lock= new PatternLock('#patternHolder',{radius:30,margin:20});
var lock= new PatternLock('#patternHolder',{matrix:[4,4]});
var lock=new PatternLock('#patternHolder',{ mapper: function(idx){ return (idx%9) + 1; } });
var lock= new PatternLock('#patternHolder');