Phaser home
Phaser AE
Open source
Phaser 4
Download
Learn
Editor
Tools
Docs
Examples
News
Log in
Examples
/
Math
Phaser 4.1.0
Phaser 4 examples
Math
18
examples
3
folders
Folders
3
Distance
4 examples
Hash Simplex
3 examples
Vec2
9 examples
Examples
2
Hash Cell Landscape
Demonstrates using Phaser.Math.HashCell and Phaser.Math.Hash to create a procedurally generated, vertically scrolling landscape with deterministic noise-based positioning.
Hash Stability
Compare the deterministic results of the Phaser Math Hash function against standard random values. This example shows how hashing provides consistent, repeatable values for the same input data.