IdenticonSvg
IdenticonSvg v0.9.5
  • Pages
  • Modules

    View Source IdenticonSvg.PolygonReducer (IdenticonSvg v0.9.5)

    Module incorporating functions that find neighboring squares and use Enum.reduce/3 to group them into polygons.

    Link to this section Summary

    Functions

    col_row_neighbors(list, divisor)
    col_row_to_index(list, divisor)
    disjoint?(a, b)
    group(neighbors_per_indexed_square)
    group_into_polygons(neighbors_per_indexed_square)
    index_neighbors(index, divisor)
    index_to_col_row(index, divisor)
    neighbors_per_index(indexes, divisor)
    reducer(arg, polygons)
    within_bounds(list, divisor)

    Link to this section Functions

    Link to this function

    col_row_neighbors(list, divisor)

    View Source
    Link to this function

    col_row_to_index(list, divisor)

    View Source
    Link to this function

    disjoint?(a, b)

    View Source
    Link to this function

    group(neighbors_per_indexed_square)

    View Source
    Link to this function

    group_into_polygons(neighbors_per_indexed_square)

    View Source
    Link to this function

    index_neighbors(index, divisor)

    View Source
    Link to this function

    index_to_col_row(index, divisor)

    View Source
    Link to this function

    neighbors_per_index(indexes, divisor)

    View Source
    Link to this function

    reducer(arg, polygons)

    View Source
    Link to this function

    within_bounds(list, divisor)

    View Source

    Hex Package Hex Preview (current file) Download ePub version

    Built using ExDoc (v0.29.2) for the Elixir programming language