Skip to content

tom-draper/digital-sky

Repository files navigation

Digital Sky

A configurable and stochastic sky image generator.

Hosted at: https://tom-draper.github.io/digital-sky

To run locally, run npm install to install dependencies, then npm run build to compile, then open index.html in a browser.

Gallery ✨

Sky 10

Sky 1

Sky 2

Sky 3

Sky 4

Sky 5

Sky 6

Sky 7

Sky 8

Sky 9)

Sky 10

Sky 11

Bulk Generation

Skies can be randomly generated in bulk and saved to your file system using a script.

Ensure dependencies are installed:

npm install

Then run scripts/main.ts with ts-node. The number of skies can be specified with the -n flag.

ts-node scripts/main -n <count>

For more extreme skies, modify the random config generator function randConfig() in src/config.ts to your preference.

Public Gallery

Post some of your favourite generations to the public gallery.

Contributions

Contributions, issues and feature requests are welcome.

  • Fork it (https://github.com/tom-draper/digital-sky)
  • Create your feature branch (git checkout -b my-new-feature)
  • Commit your changes (git commit -am 'Add some feature')
  • Push to the branch (git push origin my-new-feature)
  • Create a new Pull Request