Skip to content

Canepaper/MinecraftWorldGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minecraft World Generator

Preview

Try the demo →

A Minecraft-like procedural world generator with configurable terrain generation. Explore procedurally generated voxel terrain with Perlin or Simplex noise, ridge layers for mountain peaks, and multiple tree types with altitude-based placement.

Features

  • Terrain — Procedural height maps with Perlin or Simplex noise. Configurable scale, octaves, lacunarity, persistence, and ridge layers for sharp mountain peaks.
  • Trees — Six tree types (Oak, Pine, Autumn, Mystic, Golden, Tropical) with altitude-based placement. Snow line, tree line, and pine line control where each type grows.
  • Sky & Time — Dynamic day/night cycle with sun and moon arcs, stars at night, and a configurable cloud layer.
  • Controls — Left-drag to orbit, right-drag to pan, scroll to zoom. Tree settings auto-update the map. Press i to toggle the info modal.

Tech Stack

  • Three.js (r128) — 3D rendering
  • Vanilla JavaScript, HTML, CSS

Getting Started

Open minecraft-world-generator.html in any browser. No server required — all textures are procedurally generated, so the file can be opened directly from disk.

Contributors: The Contributors tab loads from contributors/people/*.json. After adding or editing files in that folder, run node scripts/build-contributors.js to regenerate the list.

Project Structure

minecraft-world-generator/
├── minecraft-world-generator.html   # Main HTML entry point
├── app.js                 # Application logic, world gen, Three.js
├── styles.css             # Styles
├── preview.png            # Screenshot preview
├── todo.readme            # Things needing to be added
├── contributors/          # Per-file contributor entries
│   └── people/            # One .json per contributor
├── scripts/
│   └── build-contributors.js   # Run to regenerate contributors list
└── README.md

Controls

Action Input
Orbit camera Left mouse drag
Pan Right mouse drag
Zoom Scroll wheel
Toggle info Press i
Collapse sidebar Click the sidebar edge toggle

Configuration

All settings are in the sidebar:

  • Chunk Size — 16 to 1024 blocks
  • Noise — Perlin/Simplex, scale, octaves, lacunarity, persistence, ridge and detail layers
  • Trees — Snow/tree/pine/sand lines, tree counts per type, min spacing
  • Sky — Time of day, cloud height, speed, amount, size, opacity

Contributors

License

Minecraft World Generator License

Copyright (c) 2026 Canepaper

Permission is granted to use, copy, modify, and distribute this software for personal, educational, and non-commercial purposes.

Commercial use, including selling the software or incorporating it into commercial products, is prohibited without explicit written permission from the author.

This software is provided "as is", without warranty of any kind.

No copyright infringement intended.

This project is not affiliated with Mojang Studios or Microsoft.

About

Minecraft-style procedural voxel world generator built with Three.js. Configurable terrain, six tree types, clouds, and day/night cycle. No server required—open in a browser.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages