tsParticles - v4.0.0-beta.12
    Preparing search index...
    interface IGridPathOptions {
        autoMaze?: boolean;
        cellSize: number;
        graph?: Record<string, number[]>;
    }
    Index

    Properties

    autoMaze?: boolean

    If true, generate a maze automatically

    cellSize: number
    graph?: Record<string, number[]>

    Optional explicit graph: key = "x,y" value = allowed directions [0=right,1=down,2=left,3=up]