Skip to content

NGxDTV/Random-Planets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Random Planets

This project is an interactive 3D planet generation simulation built using Three.js. It creates procedurally generated planets with realistic terrain and atmospheric effects. Users can explore and regenerate new planets dynamically.

Features

  • Procedural Planet Generation: Each planet is randomly generated using Perlin noise.
  • Realistic Terrain: Includes oceans, mountains, and polar regions.
  • Atmospheric Effects: A dynamic shader-based atmosphere for added realism.
  • Interactive Exploration: Use orbit controls to navigate around the planet.
  • Random Color Option: Toggle between predefined and random planet colors.
  • Regeneration Button: Instantly generate a new planet.

Controls

  • Left Click & Drag: Rotate the planet.
  • Mouse Scroll: Zoom in and out.
  • Right Click & Drag: Pan the view.
  • Button: Regenerate a new planet.
  • Checkbox: Enable/disable random colors.

Samples

Green Planet Green Planet Green Planet Green Planet Green Planet

Installation

  1. Clone the repository:
    git clone https://github.com/NGxDTV/Random-Planets.git
  2. Navigate to the project folder:
    cd Random-Planets
  3. Open index.html in a browser.

Dependencies

License

This project is open-source and available under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Contributors