Initialize Martini with a specific grid size
mainTo use Martini, instantiate the Martini class. You must provide a gridSize that follows the pattern $2^n + 1$ (e.g., 257, 513, 1025). This size determines the resolution of the terrain tiles you will create.
If the provided gridSize does not satisfy the $2^n + 1$ requirement, the constructor will throw an error.
import Martini from 'martini';
// Valid grid size (257 = 2^8 + 1)
const martini = new Martini(257);