ckrbd.js
//Entry point for plusLevel headprints of givendots. To see results, follow with portrayLevel(plusLevel)
Entry point for plusLevel headprints of givendots. To see results, follow with portrayLevel(plusLevel)
Entry point for plusLevel headprints of givendots . To see results follow with portrayLevel ( plusLevel )
function headprints(givenDots, plusLevel){ 
    if (plusLevel <0) return;
    dots = givenDots;
    clearImage();
    clearPyr();
    clearRGBA();
    for (let km=1;km<dots.length;km++) cellsLevel0Parents(Math.floor(dots[km].i), Math.floor(dots[km].j)).forEach(node=>{
        pyr[node.i][node.j]++;
    });
    indexUp(incParents,0,plusLevel);
}
function headprints ( givenDots , plusLevel ) { if ( plusLevel < 0 ) return ; dots = givenDots ; clearImage ( ) ; clearPyr ( ) ; clearRGBA ( ) ; for ( let km = 1 ; km < dots . length ; km ++ ) cellsLevel0Parents ( Math . floor ( dots [ km ] . i ) , Math . floor ( dots [ km ] . j ) ) . forEach ( node => { pyr [ node . i ] [ node . j ] ++ ; } ) ; indexUp ( incParents , 0 , plusLevel ) ; }
Entry point for plusLevel headprints of givendots.
Entry point for plusLevel headprints of givendots .
//seed level 0