Skip to content

NIR3X/Infinite-2D-Chunk-World

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Infinite 2D Chunk World - Procedurally Generated Terrain Exploration

This project demonstrates an implementation of an infinite 2D chunk world using Perlin noise for terrain generation. It allows for exploration and navigation within the world.

Overview

The project utilizes HTML5 canvas and JavaScript to create a dynamic and interactive environment. Key features include:

  • Procedural terrain generation using Perlin noise
  • Dynamic chunk loading and unloading based on player position
  • Smooth camera movement and navigation
  • User interface for controlling camera speed and resetting position

Getting Started

To run the project locally, simply open the index.html file in a web browser.

git clone https://github.com/NIR3X/Infinite-2D-Chunk-World
cd Infinite-2D-Chunk-World

Usage

  • Use the mouse to navigate within the world.
  • Press keys Q/W to increase/decrease camera speed.
  • Press key R to reset the camera position.
  • Explore the dynamically generated terrain.

License

GNU AGPLv3 Image

This program is Free Software: You can use, study share and improve it at your will. Specifically you can redistribute and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.