Skip to content

ThorsteinnJonsson/planet_generation_js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Planet generation using ThreeJS and React

This repo is just some code I hacked together in a few days for fun. Hopefully someone will get some use or enjoyment out of it. The code is messy and could use a lot of refactoring, but I will leave it as is because of time constraints. Any PRs are more than welcome though.

demo_image

The planets are generated almost exclusively inside shader code which works on a icosphere mesh. There's a bunch of parameters and colors that can be edited (some of which are exposed through the GUI).

After cloning the repo, install with

npm install

and run on http://localhost:3000 with with

npm start

Authors

Acknowledgments

Icosphere generation was borrowed from here.

About

Planet generation using ThreeJS and React

Resources

Stars

Watchers

Forks

Contributors