---
title: "Terrain"
date: "2022-03-31T23:51:19+00:00"
tags: ["canvas","JavaScript","NFT","PixelArt","tutorial"]
project: null
---

# Terrain

Source: https://greenzeta.com/update/terrain/
Last updated: 2022-03-29T00:58:12+00:00

The \#PixelArt \#tutorial terrain function accepts an array of heights, spaces them evenly, and fills in the rest. Here it's used to create mountains and a grassy hill.
