World Building
Heightfield Explorer
What this shows
Click to lock the pointer, then use WASD and the mouse to explore the terrain.
Loading scene…Key API excerpt
Key API excerpt
import * as EASEL from "@xsyetopz/easel";
const terrain = new EASEL.Geometry();
terrain.setPositions(heightField);
terrain.index = gridIndices;
terrain.computeVertexNormals();