# Examples ## [abs](/examples/abs.rs) ``` cargo run --example "abs" --features="images" ``` ![abs.png] *abs.png* ## [add](/examples/add.rs) ``` cargo run --example "add" --features="images" ``` ![add.png] *add.png* ## [basicmulti](/examples/basicmulti.rs) ``` cargo run --example "basicmulti" --features="images" ``` ![basicmulti_perlin.png] *basicmulti_perlin.png* ![basicmulti_worley.png] *basicmulti_worley.png* ![basicmulti_basicmulti_perlin.png] *basicmulti_basicmulti_perlin.png* ## [billow](/examples/billow.rs) ``` cargo run --example "billow" --features="images" ``` ![billow_perlin.png] *billow_perlin.png* ![billow_worley.png] *billow_worley.png* ![billow_billow_perlin.png] *billow_billow_perlin.png* ## [blend](/examples/blend.rs) ``` cargo run --example "blend" --features="images" ``` ![blend.png] *blend.png* ## [cache](/examples/cache.rs) ``` cargo run --example "cache" --features="images" ``` ![cache.png] *cache.png* ## [checkerboard](/examples/checkerboard.rs) ``` cargo run --example "checkerboard" --features="images" ``` ![checkerboard.png] *checkerboard.png* ## [clamp](/examples/clamp.rs) ``` cargo run --example "clamp" --features="images" ``` ![clamp.png] *clamp.png* ## [complexplanet](/examples/complexplanet.rs) ``` cargo run --example "complexplanet" --features="images" ``` ![unscaledFinalPlanet.png] *unscaledFinalPlanet.png* ![unscaledFinalPlanet_4x_zoom.png] *unscaledFinalPlanet_4x_zoom.png* ![unscaledFinalPlanet_16x_zoom.png] *unscaledFinalPlanet_16x_zoom.png* ![unscaledFinalPlanet_sphere.png] *unscaledFinalPlanet_sphere.png* ## [constant](/examples/constant.rs) ``` cargo run --example "constant" --features="images" ``` ![constant_-1.png] *constant_-1.png* ![constant_0.png] *constant_0.png* ![constant_1.png] *constant_1.png* ## [curve](/examples/curve.rs) ``` cargo run --example "curve" --features="images" ``` ![curve.png] *curve.png* ## [cylinders](/examples/cylinders.rs) ``` cargo run --example "cylinders" --features="images" ``` ![cylinders-f5.png] *cylinders-f5.png* ![cylinders.png] *cylinders.png* ## [displace](/examples/displace.rs) ``` cargo run --example "displace" --features="images" ``` ![displace.png] *displace.png* ## [exponent](/examples/exponent.rs) ``` cargo run --example "exponent" --features="images" ``` ![exponent.png] *exponent.png* ## [fbm](/examples/fbm.rs) ``` cargo run --example "fbm" --features="images" ``` ![fbm_perlin.png] *fbm_perlin.png* ![fbm_worley.png] *fbm_worley.png* ![fbm_fbm_perlin.png] *fbm_fbm_perlin.png* ## [hybridmulti](/examples/hybridmulti.rs) ``` cargo run --example "hybridmulti" --features="images" ``` ![hybrid_multi_perlin.png] *hybrid_multi_perlin.png* ![hybrid_multi_worley.png] *hybrid_multi_worley.png* ![hybrid_multi_hybrid_multi_perlin.png] *hybrid_multi_hybrid_multi_perlin.png* ## [max](/examples/max.rs) ``` cargo run --example "max" --features="images" ``` ![max.png] *max.png* ## [min](/examples/min.rs) ``` cargo run --example "min" --features="images" ``` ![min.png] *min.png* ## [multiply](/examples/multiply.rs) ``` cargo run --example "multiply" --features="images" ``` ![multiply.png] *multiply.png* ## [negate](/examples/negate.rs) ``` cargo run --example "negate" --features="images" ``` ![negate.png] *negate.png* ## [open_simplex](/examples/open_simplex.rs) ``` cargo run --example "open_simplex" --features="images" ``` ![open_simplex 2d.png] *open_simplex 2d.png* ![open_simplex 3d.png] *open_simplex 3d.png* ![open_simplex 4d.png] *open_simplex 4d.png* ## [perlin_surflet](/examples/perlin_surflet.rs) ``` cargo run --example "perlin_surflet" --features="images" ``` ![perlin surflet 2d.png] *perlin surflet 2d.png* ![perlin surflet 3d.png] *perlin surflet 3d.png* ![perlin surflet 4d.png] *perlin surflet 4d.png* ## [perlin](/examples/perlin.rs) ``` cargo run --example "perlin" --features="images" ``` ![perlin_2d.png] *perlin_2d.png* ![perlin_3d.png] *perlin_3d.png* ![perlin_4d.png] *perlin_4d.png* ## [power](/examples/power.rs) ``` cargo run --example "power" --features="images" ``` ![power.png] *power.png* ## [ridgedmulti](/examples/ridgedmulti.rs) ``` cargo run --example "ridgedmulti" --features="images" ``` ![ridged_multi_perlin.png] *ridged_multi_perlin.png* ![ridged_multi_worley.png] *ridged_multi_worley.png* ![ridged_multi_ridged_multi_perlin.png] *ridged_multi_ridged_multi_perlin.png* ## [rotate_point](/examples/rotate_point.rs) ``` cargo run --example "rotate_point" --features="images" ``` ![rotate_point.png] *rotate_point.png* ## [scale_bias](/examples/scale_bias.rs) ``` cargo run --example "scale_bias" --features="images" ``` ![scale_bias.png] *scale_bias.png* ## [scale_point](/examples/scale_point.rs) ``` cargo run --example "scale_point" --features="images" ``` ![scale_point.png] *scale_point.png* ## [select](/examples/select.rs) ``` cargo run --example "select" --features="images" ``` ![select1.png] *select1.png* ![select2.png] *select2.png* ## [simplex](/examples/simplex.rs) ``` cargo run --example "simplex" --features="images" ``` ![simplex 2d.png] *simplex 2d.png* ![simplex 3d.png] *simplex 3d.png* ![simplex 4d.png] *simplex 4d.png* ## [spheres](/examples/spheres.rs) ``` cargo run --example "spheres" --features="images" ``` ![spheres 2d.png] *spheres 2d.png* ![spheres 3d.png] *spheres 3d.png* ![spheres 4d.png] *spheres 4d.png* ## [super_simplex](/examples/super_simplex.rs) ``` cargo run --example "super_simplex" --features="images" ``` ![super_simplex 2d.png] *super_simplex 2d.png* ![super_simplex 3d.png] *super_simplex 3d.png* ## [terrace](/examples/terrace.rs) ``` cargo run --example "terrace" --features="images" ``` ![terrace.png] *terrace.png* ![terrace_inverted.png] *terrace_inverted.png* ## [texturegranite](/examples/texturegranite.rs) ``` cargo run --example "texturegranite" --features="images" ``` ![texture_granite_planar.png] *texture_granite_planar.png* ![texture_granite_seamless.png] *texture_granite_seamless.png* ![texture_granite_sphere.png] *texture_granite_sphere.png* ## [texturejade](/examples/texturejade.rs) ``` cargo run --example "texturejade" --features="images" ``` ![texture_jade_planar.png] *texture_jade_planar.png* ![texture_jade_seamless.png] *texture_jade_seamless.png* ## [textureslime](/examples/textureslime.rs) ``` cargo run --example "textureslime" --features="images" ``` ![texture_slime_planar.png] *texture_slime_planar.png* ![texture_slime_seamless.png] *texture_slime_seamless.png* ## [texturewood](/examples/texturewood.rs) ``` cargo run --example "texturewood" --features="images" ``` ![texture_wood_planar.png] *texture_wood_planar.png* ## [translate_point](/examples/translate_point.rs) ``` cargo run --example "translate_point" --features="images" ``` ![translate_point.png] *translate_point.png* ## [turbulence](/examples/turbulence.rs) ``` cargo run --example "turbulence" --features="images" ``` ![turbulence.png] *turbulence.png* ## [value](/examples/value.rs) ``` cargo run --example "value" --features="images" ``` ![value 2d.png] *value 2d.png* ![value 3d.png] *value 3d.png* ![value 4d.png] *value 4d.png* ## [worley](/examples/worley.rs) ``` cargo run --example "worley" --features="images" ``` ![2d_euclidean_value.png] *2d_euclidean_value.png* ![3d_euclidean_value.png] *3d_euclidean_value.png* ![4d_euclidean_value.png] *4d_euclidean_value.png* ![2d_euclidean_distance.png] *2d_euclidean_distance.png* ![3d_euclidean_distance.png] *3d_euclidean_distance.png* ![4d_euclidean_distance.png] *4d_euclidean_distance.png* ![2d_euclidean_squared_value.png] *2d_euclidean_squared_value.png* ![3d_euclidean_squared_value.png] *3d_euclidean_squared_value.png* ![4d_euclidean_squared_value.png] *4d_euclidean_squared_value.png* ![2d_euclidean_squared_distance.png] *2d_euclidean_squared_distance.png* ![3d_euclidean_squared_distance.png] *3d_euclidean_squared_distance.png* ![4d_euclidean_squared_distance.png] *4d_euclidean_squared_distance.png* ![2d_manhattan_value.png] *2d_manhattan_value.png* ![3d_manhattan_value.png] *3d_manhattan_value.png* ![4d_manhattan_value.png] *4d_manhattan_value.png* ![2d_manhattan_distance.png] *2d_manhattan_distance.png* ![3d_manhattan_distance.png] *3d_manhattan_distance.png* ![4d_manhattan_distance.png] *4d_manhattan_distance.png* ![2d_chebyshev_value.png] *2d_chebyshev_value.png* ![3d_chebyshev_value.png] *3d_chebyshev_value.png* ![4d_chebyshev_value.png] *4d_chebyshev_value.png* ![2d_chebyshev_distance.png] *2d_chebyshev_distance.png* ![3d_chebyshev_distance.png] *3d_chebyshev_distance.png* ![4d_chebyshev_distance.png] *4d_chebyshev_distance.png* [abs.png]: /images/examples/abs.png [add.png]: /images/examples/add.png [basicmulti_perlin.png]: /images/examples/basicmulti_perlin.png [basicmulti_worley.png]: /images/examples/basicmulti_worley.png [basicmulti_basicmulti_perlin.png]: /images/examples/basicmulti_basicmulti_perlin.png [billow_perlin.png]: /images/examples/billow_perlin.png [billow_worley.png]: /images/examples/billow_worley.png [billow_billow_perlin.png]: /images/examples/billow_billow_perlin.png [blend.png]: /images/examples/blend.png [cache.png]: /images/examples/cache.png [checkerboard.png]: /images/examples/checkerboard.png [clamp.png]: /images/examples/clamp.png [unscaledFinalPlanet.png]: /images/examples/unscaledFinalPlanet.png [unscaledFinalPlanet_4x_zoom.png]: /images/examples/unscaledFinalPlanet_4x_zoom.png [unscaledFinalPlanet_16x_zoom.png]: /images/examples/unscaledFinalPlanet_16x_zoom.png [unscaledFinalPlanet_sphere.png]: /images/examples/unscaledFinalPlanet_sphere.png [constant_-1.png]: /images/examples/constant_-1.png [constant_0.png]: /images/examples/constant_0.png [constant_1.png]: /images/examples/constant_1.png [curve.png]: /images/examples/curve.png [cylinders-f5.png]: /images/examples/cylinders-f5.png [cylinders.png]: /images/examples/cylinders.png [displace.png]: /images/examples/displace.png [exponent.png]: /images/examples/exponent.png [fbm_perlin.png]: /images/examples/fbm_perlin.png [fbm_worley.png]: /images/examples/fbm_worley.png [fbm_fbm_perlin.png]: /images/examples/fbm_fbm_perlin.png [hybrid_multi_perlin.png]: /images/examples/hybrid_multi_perlin.png [hybrid_multi_worley.png]: /images/examples/hybrid_multi_worley.png [hybrid_multi_hybrid_multi_perlin.png]: /images/examples/hybrid_multi_hybrid_multi_perlin.png [max.png]: /images/examples/max.png [min.png]: /images/examples/min.png [multiply.png]: /images/examples/multiply.png [negate.png]: /images/examples/negate.png [open_simplex 2d.png]: /images/examples/open_simplex%202d.png [open_simplex 3d.png]: /images/examples/open_simplex%203d.png [open_simplex 4d.png]: /images/examples/open_simplex%204d.png [perlin surflet 2d.png]: /images/examples/perlin%20surflet%202d.png [perlin surflet 3d.png]: /images/examples/perlin%20surflet%203d.png [perlin surflet 4d.png]: /images/examples/perlin%20surflet%204d.png [perlin_2d.png]: /images/examples/perlin_2d.png [perlin_3d.png]: /images/examples/perlin_3d.png [perlin_4d.png]: /images/examples/perlin_4d.png [power.png]: /images/examples/power.png [ridged_multi_perlin.png]: /images/examples/ridged_multi_perlin.png [ridged_multi_worley.png]: /images/examples/ridged_multi_worley.png [ridged_multi_ridged_multi_perlin.png]: /images/examples/ridged_multi_ridged_multi_perlin.png [rotate_point.png]: /images/examples/rotate_point.png [scale_bias.png]: /images/examples/scale_bias.png [scale_point.png]: /images/examples/scale_point.png [select1.png]: /images/examples/select1.png [select2.png]: /images/examples/select2.png [simplex 2d.png]: /images/examples/simplex%202d.png [simplex 3d.png]: /images/examples/simplex%203d.png [simplex 4d.png]: /images/examples/simplex%204d.png [spheres 2d.png]: /images/examples/spheres%202d.png [spheres 3d.png]: /images/examples/spheres%203d.png [spheres 4d.png]: /images/examples/spheres%204d.png [super_simplex 2d.png]: /images/examples/super_simplex%202d.png [super_simplex 3d.png]: /images/examples/super_simplex%203d.png [terrace.png]: /images/examples/terrace.png [terrace_inverted.png]: /images/examples/terrace_inverted.png [texture_granite_planar.png]: /images/examples/texture_granite_planar.png [texture_granite_seamless.png]: /images/examples/texture_granite_seamless.png [texture_granite_sphere.png]: /images/examples/texture_granite_sphere.png [texture_jade_planar.png]: /images/examples/texture_jade_planar.png [texture_jade_seamless.png]: /images/examples/texture_jade_seamless.png [texture_slime_planar.png]: /images/examples/texture_slime_planar.png [texture_slime_seamless.png]: /images/examples/texture_slime_seamless.png [texture_wood_planar.png]: /images/examples/texture_wood_planar.png [translate_point.png]: /images/examples/translate_point.png [turbulence.png]: /images/examples/turbulence.png [value 2d.png]: /images/examples/value%202d.png [value 3d.png]: /images/examples/value%203d.png [value 4d.png]: /images/examples/value%204d.png [2d_euclidean_value.png]: /images/examples/worley/2d_euclidean_value.png [3d_euclidean_value.png]: /images/examples/worley/3d_euclidean_value.png [4d_euclidean_value.png]: /images/examples/worley/4d_euclidean_value.png [2d_euclidean_distance.png]: /images/examples/worley/2d_euclidean_distance.png [3d_euclidean_distance.png]: /images/examples/worley/3d_euclidean_distance.png [4d_euclidean_distance.png]: /images/examples/worley/4d_euclidean_distance.png [2d_euclidean_squared_value.png]: /images/examples/worley/2d_euclidean_squared_value.png [3d_euclidean_squared_value.png]: /images/examples/worley/3d_euclidean_squared_value.png [4d_euclidean_squared_value.png]: /images/examples/worley/4d_euclidean_squared_value.png [2d_euclidean_squared_distance.png]: /images/examples/worley/2d_euclidean_squared_distance.png [3d_euclidean_squared_distance.png]: /images/examples/worley/3d_euclidean_squared_distance.png [4d_euclidean_squared_distance.png]: /images/examples/worley/4d_euclidean_squared_distance.png [2d_manhattan_value.png]: /images/examples/worley/2d_manhattan_value.png [3d_manhattan_value.png]: /images/examples/worley/3d_manhattan_value.png [4d_manhattan_value.png]: /images/examples/worley/4d_manhattan_value.png [2d_manhattan_distance.png]: /images/examples/worley/2d_manhattan_distance.png [3d_manhattan_distance.png]: /images/examples/worley/3d_manhattan_distance.png [4d_manhattan_distance.png]: /images/examples/worley/4d_manhattan_distance.png [2d_chebyshev_value.png]: /images/examples/worley/2d_chebyshev_value.png [3d_chebyshev_value.png]: /images/examples/worley/3d_chebyshev_value.png [4d_chebyshev_value.png]: /images/examples/worley/4d_chebyshev_value.png [2d_chebyshev_distance.png]: /images/examples/worley/2d_chebyshev_distance.png [3d_chebyshev_distance.png]: /images/examples/worley/3d_chebyshev_distance.png [4d_chebyshev_distance.png]: /images/examples/worley/4d_chebyshev_distance.png