Uses of Interface
squidpony.squidmath.FlawedPointHash

Packages that use FlawedPointHash 
Package Description
squidpony.squidmath
A very broad package containing random number generators, geometry tools, data structures, and noise functions.
  • Uses of FlawedPointHash in squidpony.squidmath

    Classes in squidpony.squidmath that implement FlawedPointHash 
    Modifier and Type Class Description
    static class  FlawedPointHash.CubeHash
    Very similar to FlawedPointHash.QuiltHash, but this doesn't change the pattern in different large squares, and instead repeats a square or cube of symmetric and patterned results over and over (so it can be tiled).
    static class  FlawedPointHash.FNVHash
    FNV32a is OK as a hash for bytes when used in some hash tables, but it has major issues on its low-order bits when used as a point hash (the high bits aren't much better).
    static class  FlawedPointHash.QuiltHash
    Extremely flawed if you're using this as a point hash, but meant to be aesthetically interesting, this produces different symmetrical patterns in squares, as if on a quilt.
    static class  FlawedPointHash.RugHash
    Produces hashes that show strong bias on one axis (usually the later axes matter more) and have nice-looking patterns of dots.