Spectacular Cellular Automata
    Preparing search index...

    Function calculateMesh

    • Return a list of vertices in the mesh, and per-triangle lists of origins and indices.

      Parameters

      • width: number
      • height: number
      • meshWidthScale: number
      • meshHeightScale: number
      • shape: string

      Returns [vec3[], vec3[], number[]]