1.2.10 • Published 1 year ago
@e3c-summer-worker/scrolling-terrain-bg v1.2.10
Scrolling Terrain
Based off of p5-typescript-starter.
Run Locally
yarn
yarn start
Then start a local server and go to index.html to see the results.
Production
To build for production, run the following command:
yarn build
Usage
<script>
const containerElement = document.getElementById("thumbnail");
new p5(TerrainSketch.sketch(containerElement), containerElement);
</script>