p5.quadrille.js

        • createQuadrille()
        • createQuadrille(color1, color2)
        • createQuadrille(width, height)
        • createQuadrille(jagged_array)
        • createQuadrille(array)
        • createQuadrille(width, array)
        • createQuadrille(FEN)
        • createQuadrille(string)
        • createQuadrille(width, string)
        • createQuadrille(width, image)
        • createQuadrille(width, image, coherence)
        • createQuadrille(width, height, predicate, value)
        • createQuadrille(width, height, order, value)
        • createQuadrille(width, bitboard, value, littleEndian?)
        • createQuadrille(width, height, bitboard, value, littleEndian?)
        • cellLength
        • outline
        • outlineWeight
        • textColor
        • textZoom
        • textFont
        • x & y
        • row & col
        • filter
        • graphics
        • origin
        • display functions
      • visit(callback)
      • visit(callback, collection)
      • visit(callback, predicate)
        • mouseRow
        • mouseCol
        • size
        • order
        • width
        • height
        • memory2D
        • magnitude(row)
        • search(pattern, strict)
        • screenRow(pixelY, y, cellLength)
        • screenCol(pixelX, x, cellLength)
        • bitIndex(row, col, littleEndian?)
        • bitCell(bitIndex, littleEndian?)
        • read(row, col)
        • isValid(row, col)
        • isEmpty(row, col)
        • isFilled(row, col)
        • isBoolean(row, col)
        • isNumber(row, col)
        • isBigInt(row, col)
        • isString(row, col)
        • isColor(row, col)
        • isImage(row, col)
        • isArray(row, col)
        • isFunction(row, col)
        • isObject(row, col)
        • isSymbol(row, col)
        • clone()
        • row(row)
        • crop(row, col, width, height, wrap)
        • ring(row, col, dimension, wrap)
      • delete(row)
      • insert(row)
      • shift(dRow, dCol, wrap)
      • randomize()
        • rand(times, value)
        • rand(times)
        • swap(row1, col1, row2, col2)
        • swap(row1, row2)
        • replace(value)
        • replace(value1, value2)
        • clear()
        • clear(predicate)
        • clear(row, col)
        • clear(row)
        • clear(bitboard, littleEndian?)
        • clear(row, col, directions, border)
        • clear(row, col, border)
        • clear(row, col, directions)
        • fill()
        • fill(color1, color2)
        • fill(value)
        • fill(predicate, value)
        • fill(row, col, value)
        • fill(bitboard, value, littleEndian?)
        • fill(row, value)
        • fill(row, col, value, directions, border)
        • fill(row, col, value, directions)
        • fill(row, col, value, border)
      • not(q, value)
      • or(q1, q2, row, col)
      • xor(q1, q2, row, col)
      • and(q1, q2, row, col)
      • diff(q1, q2, row, col)
      • merge(q1, q2, operator, row, col)
      • reflect()
      • rotate()
      • transpose()
      • filter(args)
      • sort({options})
      • sample({options})
      • rasterize(args)
      • colorize(args)
      • rasterizeTriangle(args)
      • colorizeTriangle(args)
      • toArray()
      • toBigInt(littleEndian?)
      • toImage(args)
      • toFEN()

    toArray()

      • Syntax

    Returns a row-major order array of the quadrille cells (refer to createQuadrille() for all the possible cell contents). The resulting array has width * height dimensions.

    Syntax#

    toArray()

    Backward Reformatter toBigInt(littleEndian?) Forward
      • Syntax