Package | Description |
---|---|
squidpony.squidgrid.mapping |
Tools specifically for generating maps and placing content in them, usually working with 2D char arrays.
|
squidpony.squidmath |
A very broad package containing random number generators, geometry tools, data structures, and noise functions.
|
Modifier and Type | Field and Description |
---|---|
Noise.Noise3D |
WorldMapGenerator.SphereMap.heat |
Noise.Noise3D |
WorldMapGenerator.EllipticalMap.heat |
Noise.Noise3D |
WorldMapGenerator.SpaceViewMap.heat |
Noise.Noise3D |
WorldMapGenerator.RoundSideMap.heat |
Noise.Noise3D |
WorldMapGenerator.HyperellipticalMap.heat |
Noise.Noise3D |
WorldMapGenerator.EllipticalHammerMap.heat |
Noise.Noise3D |
WorldMapGenerator.HexagonalMap.heat |
Noise.Noise3D |
WorldMapGenerator.SphereMap.moisture |
Noise.Noise3D |
WorldMapGenerator.EllipticalMap.moisture |
Noise.Noise3D |
WorldMapGenerator.SpaceViewMap.moisture |
Noise.Noise3D |
WorldMapGenerator.RoundSideMap.moisture |
Noise.Noise3D |
WorldMapGenerator.HyperellipticalMap.moisture |
Noise.Noise3D |
WorldMapGenerator.EllipticalHammerMap.moisture |
Noise.Noise3D |
WorldMapGenerator.HexagonalMap.moisture |
Noise.Noise3D |
WorldMapGenerator.SphereMap.otherRidged |
Noise.Noise3D |
WorldMapGenerator.EllipticalMap.otherRidged |
Noise.Noise3D |
WorldMapGenerator.SpaceViewMap.otherRidged |
Noise.Noise3D |
WorldMapGenerator.RoundSideMap.otherRidged |
Noise.Noise3D |
WorldMapGenerator.HyperellipticalMap.otherRidged |
Noise.Noise3D |
WorldMapGenerator.EllipticalHammerMap.otherRidged |
Noise.Noise3D |
WorldMapGenerator.HexagonalMap.otherRidged |
Noise.Noise3D |
WorldMapGenerator.SphereMap.terrain |
Noise.Noise3D |
WorldMapGenerator.EllipticalMap.terrain |
Noise.Noise3D |
WorldMapGenerator.RoundSideMap.terrain |
Noise.Noise3D |
WorldMapGenerator.HyperellipticalMap.terrain |
Noise.Noise3D |
WorldMapGenerator.EllipticalHammerMap.terrain |
Noise.Noise3D |
WorldMapGenerator.HexagonalMap.terrain |
Noise.Noise3D |
WorldMapGenerator.SpaceViewMap.terrainBasic |
Noise.Noise3D |
WorldMapGenerator.SphereMap.terrainLayered |
Noise.Noise3D |
WorldMapGenerator.EllipticalMap.terrainLayered |
Noise.Noise3D |
WorldMapGenerator.RoundSideMap.terrainLayered |
Noise.Noise3D |
WorldMapGenerator.HyperellipticalMap.terrainLayered |
Noise.Noise3D |
WorldMapGenerator.EllipticalHammerMap.terrainLayered |
Noise.Noise3D |
WorldMapGenerator.HexagonalMap.terrainLayered |
Noise.Noise3D |
WorldMapGenerator.SpaceViewMap.terrainRidged |
Constructor and Description |
---|
EllipticalHammerMap(long initialSeed,
int mapWidth,
int mapHeight,
Noise.Noise3D noiseGenerator)
Constructs a concrete WorldMapGenerator for a map that can be used to display a projection of a globe onto an
ellipse without distortion of the sizes of features but with significant distortion of shape.
|
EllipticalHammerMap(long initialSeed,
int mapWidth,
int mapHeight,
Noise.Noise3D noiseGenerator,
double octaveMultiplier)
Constructs a concrete WorldMapGenerator for a map that can be used to display a projection of a globe onto an
ellipse without distortion of the sizes of features but with significant distortion of shape.
|
EllipticalMap(long initialSeed,
int mapWidth,
int mapHeight,
Noise.Noise3D noiseGenerator)
Constructs a concrete WorldMapGenerator for a map that can be used to display a projection of a globe onto an
ellipse without distortion of the sizes of features but with significant distortion of shape.
|
EllipticalMap(long initialSeed,
int mapWidth,
int mapHeight,
Noise.Noise3D noiseGenerator,
double octaveMultiplier)
Constructs a concrete WorldMapGenerator for a map that can be used to display a projection of a globe onto an
ellipse without distortion of the sizes of features but with significant distortion of shape.
|
HexagonalMap(long initialSeed,
int mapWidth,
int mapHeight,
Noise.Noise3D noiseGenerator)
Constructs a concrete WorldMapGenerator for a map that can be used to display a projection of a globe onto an
ellipse without distortion of the sizes of features but with significant distortion of shape.
|
HexagonalMap(long initialSeed,
int mapWidth,
int mapHeight,
Noise.Noise3D noiseGenerator,
double octaveMultiplier)
Constructs a concrete WorldMapGenerator for a map that can be used to display a projection of a globe onto an
ellipse without distortion of the sizes of features but with significant distortion of shape.
|
HyperellipticalMap(long initialSeed,
int mapWidth,
int mapHeight,
Noise.Noise3D noiseGenerator)
Constructs a concrete WorldMapGenerator for a map that can be used to display a projection of a globe onto an
ellipse without distortion of the sizes of features but with significant distortion of shape.
|
HyperellipticalMap(long initialSeed,
int mapWidth,
int mapHeight,
Noise.Noise3D noiseGenerator,
double octaveMultiplier)
Constructs a concrete WorldMapGenerator for a map that can be used to display a projection of a globe onto an
ellipse without distortion of the sizes of features but with significant distortion of shape.
|
HyperellipticalMap(long initialSeed,
int mapWidth,
int mapHeight,
Noise.Noise3D noiseGenerator,
double octaveMultiplier,
double alpha,
double kappa)
Constructs a concrete WorldMapGenerator for a map that can be used to display a projection of a globe onto an
ellipse without distortion of the sizes of features but with significant distortion of shape.
|
MimicMap(long initialSeed,
GreasedRegion toMimic,
Noise.Noise3D noiseGenerator)
Constructs a concrete WorldMapGenerator for a map that should have land in roughly the same places as the
given GreasedRegion's "on" cells, using an elliptical projection (specifically, a Mollweide projection).
|
MimicMap(long initialSeed,
GreasedRegion toMimic,
Noise.Noise3D noiseGenerator,
double octaveMultiplier)
Constructs a concrete WorldMapGenerator for a map that should have land in roughly the same places as the
given GreasedRegion's "on" cells, using an elliptical projection (specifically, a Mollweide projection).
|
MimicMap(long initialSeed,
Noise.Noise3D noiseGenerator,
double octaveMultiplier)
Constructs a 512x256 elliptical world map that will use land forms with a similar shape to Earth.
|
RotatingSpaceMap(long initialSeed,
int mapWidth,
int mapHeight,
Noise.Noise3D noiseGenerator)
Constructs a concrete WorldMapGenerator for a map that can be used to view a spherical world from space,
showing only one hemisphere at a time.
|
RotatingSpaceMap(long initialSeed,
int mapWidth,
int mapHeight,
Noise.Noise3D noiseGenerator,
double octaveMultiplier)
Constructs a concrete WorldMapGenerator for a map that can be used to view a spherical world from space,
showing only one hemisphere at a time.
|
RoundSideMap(long initialSeed,
int mapWidth,
int mapHeight,
Noise.Noise3D noiseGenerator)
Constructs a concrete WorldMapGenerator for a map that can be used to display a projection of a globe onto an
ellipse without distortion of the sizes of features but with significant distortion of shape.
|
RoundSideMap(long initialSeed,
int mapWidth,
int mapHeight,
Noise.Noise3D noiseGenerator,
double octaveMultiplier)
Constructs a concrete WorldMapGenerator for a map that can be used to display a projection of a globe onto an
ellipse without distortion of the sizes of features but with significant distortion of shape.
|
SpaceViewMap(long initialSeed,
int mapWidth,
int mapHeight,
Noise.Noise3D noiseGenerator)
Constructs a concrete WorldMapGenerator for a map that can be used to view a spherical world from space,
showing only one hemisphere at a time.
|
SpaceViewMap(long initialSeed,
int mapWidth,
int mapHeight,
Noise.Noise3D noiseGenerator,
double octaveMultiplier)
Constructs a concrete WorldMapGenerator for a map that can be used to view a spherical world from space,
showing only one hemisphere at a time.
|
SphereMap(long initialSeed,
int mapWidth,
int mapHeight,
Noise.Noise3D noiseGenerator)
Constructs a concrete WorldMapGenerator for a map that can be used to wrap a sphere (as with a texture on a
3D model), with seamless east-west wrapping, no north-south wrapping, and distortion that causes the poles to
have significantly-exaggerated-in-size features while the equator is not distorted.
|
SphereMap(long initialSeed,
int mapWidth,
int mapHeight,
Noise.Noise3D noiseGenerator,
double octaveMultiplier)
Constructs a concrete WorldMapGenerator for a map that can be used to wrap a sphere (as with a texture on a
3D model), with seamless east-west wrapping, no north-south wrapping, and distortion that causes the poles to
have significantly-exaggerated-in-size features while the equator is not distorted.
|
Modifier and Type | Class and Description |
---|---|
class |
ClassicNoise
"Classic Perlin" noise, as opposed to the Simplex Noise also created by Ken Perlin (which is produced by
SeededNoise ; both can be produced by FastNoise ). |
class |
CosmicNumbering
Like a kind of RNG, but fully deterministic in a way that depends on a "connected" double array.
|
class |
FastNoise
A wide range of noise functions that can all be called from one configurable object.
|
class |
FoalNoise
WIP edit of
FoamNoise that doesn't use domain warping. |
class |
FoamNoise
An unusual continuous noise generator that tends to produce organic-looking forms, currently supporting 2D, 3D, 4D
and 6D.
|
class |
FoamyNoise
A modification of
FoamNoise that allows specifying a Noise implementation (or implementations) to use in
place of the value noise that FoamNoise uses. |
class |
GlitchNoise
A noise generator for 1D, 2D, 3D, 4D, or 6D noise that should look "glitchy", with waves of changing values moving
through triangular shapes.
|
class |
HashedValueNoise
A low-quality continuous noise generator with strong grid artifacts, this is nonetheless useful as a building block.
|
class |
JackNoise
Really weird experimental noise meant to be like
ValueNoise , but faster in higher dimensions by using the
simplex grid that SeededNoise uses. |
class |
JitterNoise
"Classic Perlin" noise with jitter applied to the grid it operates on.
|
class |
LumpNoise
A variant on the Simplex noise functions in
UnifiedNoise , using the hyperbolic tangent function to reduce the
result into the -1 to 1 range. |
class |
MasonNoise
Noise functions that delegate work to the best-suited noise type for the requested dimensionality, plus some extra
functions that affect a large multi-dimensional area at once.
|
class |
MerlinNoise
Really strange noise functions that typically produce curving black and white shapes when rendered.
|
static class |
Noise.Adapted3DFrom4D
Used to add an extra parameter to 3D noise, such as one based on rotation, time, or some non-spatial component.
|
static class |
Noise.Adapted3DFrom5D
Used to add extra parameters to 3D noise, such as those based on rotation, time, or some non-spatial component.
|
static class |
Noise.Exponential3D |
static class |
Noise.InverseLayered3D |
static class |
Noise.Layered3D |
static class |
Noise.LayeredSpiral3D |
static class |
Noise.Maelstrom3D |
static class |
Noise.Ridged3D |
static class |
Noise.Scaled3D |
static class |
Noise.Slick3D |
static class |
Noise.Turbulent3D |
static class |
Noise.Viny3D |
static class |
Noise.Warped3D |
class |
OctopusNoise
Experimenting with something like
FoamNoise but using fewer value noise calls. |
class |
OpenSimplex2F
K.jpg's OpenSimplex 2, faster variant
Using OpenSimplex 2 in its January 16, 2022 revision. |
class |
OpenSimplex2S
K.jpg's OpenSimplex 2, smooth variant ("SuperSimplex")
Using OpenSimplex 2 in its January 16, 2022 revision. |
class |
PyrlinNoise
A low-quality continuous noise generator with strong artifacts, meant to be used as a building block.
|
class |
PyrNoise
A low-quality continuous noise generator with strong artifacts, meant to be used as a building block.
|
class |
SeededNoise
Simplex noise functions, in 2D, 3D, 4D, 5D, and 6D, with 4D and 6D as options for generating seamlessly-tiling noise
using
Noise.seamless2D(double[][], long, int, Noise.Noise4D) and/or
Noise.seamless3D(double[][][], long, int, Noise.Noise6D) . |
class |
UnifiedNoise
Simplex noise functions, in 2D, 3D, 4D, 5D, and 6D, based on
SeededNoise but implemented more similarly
internally for 4D, 5D, and 6D noise. |
class |
ValueNoise
A low-quality continuous noise generator with strong grid artifacts, this is nonetheless useful as a building block.
|
class |
VastNoise
An experimental way of speeding up
FastNoise by using a large buffer of random bytes, and choosing a byte
from the buffer purely by the current seed and position (a simpler calculation than a hash). |
class |
WarbleNoise |
class |
WaveNoise
A variant on gradient or Perlin noise, explored by Inigo Quilez
here and initially discovered by "robobo1221".
|
class |
WeavingNoise
A low-quality continuous noise generator with strong artifacts, meant to be used as a building block.
|
class |
WhirlingNoise
A Noise class that's here for compatibility; it extends
SeededNoise and delegates to it for all methods
except WhirlingNoise.noiseAlt(double, double) and WhirlingNoise.noiseAlt(double, double, double) . |
class |
WhiteNoise
Performance-oriented white noise generator for 1D, 2D, 3D, 4D, and 6D.
|
Modifier and Type | Field and Description |
---|---|
protected Noise.Noise3D |
Noise.Layered3D.basis |
protected Noise.Noise3D |
Noise.InverseLayered3D.basis |
Noise.Noise3D |
Noise.Maelstrom3D.basis |
protected Noise.Noise3D |
Noise.Scaled3D.basis |
protected Noise.Noise3D |
Noise.Ridged3D.basis |
protected Noise.Noise3D |
Noise.Turbulent3D.basis |
protected Noise.Noise3D |
Noise.Viny3D.basis |
protected Noise.Noise3D |
Noise.Slick3D.basis |
protected Noise.Noise3D |
Noise.Exponential3D.basis |
protected Noise.Noise3D |
Noise.LayeredSpiral3D.basis |
protected Noise.Noise3D |
Noise.Turbulent3D.disturbance |
protected Noise.Noise3D |
Noise.Viny3D.disturbance |
protected Noise.Noise3D |
Noise.Slick3D.disturbance |
Noise.Noise3D |
FoamyNoise.n3 |
Modifier and Type | Method and Description |
---|---|
static void |
TuringPattern.addNoise(double[] substance,
int width,
int height,
double multiplier,
Noise.Noise3D noise,
double z,
long seed)
Simply adds the result of a noise call, multiplied by the given multiplier, to each point in substance.
|
static void |
TuringPattern.distort(int[][] offsets,
int width,
int height,
Noise.Noise3D noise,
double z,
long seed)
Alters the given offset information (as a jagged 2D int array) with the given Noise3D instance and seed, allowing
a z position for the 3D component so this can change over time with changing z.
|
Constructor and Description |
---|
Exponential3D(Noise.Noise3D basis) |
Exponential3D(Noise.Noise3D basis,
double sharpness) |
FoamyNoise(long seed,
Noise.Noise2D noise2D,
Noise.Noise3D noise3D,
Noise.Noise4D noise4D,
Noise.Noise5D noise5D,
Noise.Noise6D noise6D) |
InverseLayered3D(Noise.Noise3D basis) |
InverseLayered3D(Noise.Noise3D basis,
int octaves) |
InverseLayered3D(Noise.Noise3D basis,
int octaves,
double frequency) |
InverseLayered3D(Noise.Noise3D basis,
int octaves,
double frequency,
double lacunarity) |
Layered3D(Noise.Noise3D basis) |
Layered3D(Noise.Noise3D basis,
int octaves) |
Layered3D(Noise.Noise3D basis,
int octaves,
double frequency) |
Layered3D(Noise.Noise3D basis,
int octaves,
double frequency,
double lacunarity) |
LayeredSpiral3D(Noise.Noise3D basis) |
LayeredSpiral3D(Noise.Noise3D basis,
int octaves) |
LayeredSpiral3D(Noise.Noise3D basis,
int octaves,
double frequency) |
LayeredSpiral3D(Noise.Noise3D basis,
int octaves,
double frequency,
double lacunarity) |
Maelstrom3D(Noise.Noise3D basis) |
Ridged3D(Noise.Noise3D basis) |
Ridged3D(Noise.Noise3D basis,
int octaves) |
Ridged3D(Noise.Noise3D basis,
int octaves,
double frequency) |
Scaled3D(Noise.Noise3D basis) |
Scaled3D(Noise.Noise3D basis,
double scale) |
Scaled3D(Noise.Noise3D basis,
double scaleX,
double scaleY,
double scaleZ) |
Slick3D(Noise.Noise3D basis,
Noise.Noise3D disturb) |
Slick3D(Noise.Noise3D basis,
Noise.Noise3D disturb,
int octaves) |
Turbulent3D(Noise.Noise3D basis,
Noise.Noise3D disturb) |
Turbulent3D(Noise.Noise3D basis,
Noise.Noise3D disturb,
int octaves) |
Turbulent3D(Noise.Noise3D basis,
Noise.Noise3D disturb,
int octaves,
double frequency) |
Viny3D(Noise.Noise3D basis,
Noise.Noise3D disturb) |
Viny3D(Noise.Noise3D basis,
Noise.Noise3D disturb,
int octaves) |
Viny3D(Noise.Noise3D basis,
Noise.Noise3D disturb,
int octaves,
double frequency) |
Warped3D(Noise.Noise3D basis) |
Warped3D(Noise.Noise3D basis,
int octaves) |
Warped3D(Noise.Noise3D basis,
int octaves,
double frequency) |
Warped3D(Noise.Noise3D basis,
int octaves,
double frequency,
double lacunarity) |
Copyright © Eben Howard 2012–2022. All rights reserved.