Skip to content

robertsspaceindustries/sc-starmap-screenshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sc-starmap-screenshot

Create screenshot from structure
This requires a lot of system resources since it runs Puppeteer to screenshot.

Installation

$ npm install # in root of project

Usage

$ npx . -h
# or
$ node src/cli.mjs -h

Usage: cli [options]

Options:
  -l <code>   location param
  -s <code>   system param
  -o <path>   relative output path (.png)
  -z <num>    zoom
  -r <num>    rotation
  -h, --help  display help for command

Examples

$ npx . -s SOL -o output.png # Screenshots Sol system and writes it to output.png relative to where the command was run
$ npx . -l SOL.PLANETS.EARTH -s SOL -o output.png # Screenshots Earth in Sol system and writes it to output.png

Sol example (4K, 16:9) Earth example (Full HD, 16:9)

About

Create screenshot from structure

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published