Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Planet-Picture

A procedurally generated 2D image of a Planet and Stars with an export to file function.

The current and original version can be found in build

NOTE the start up and first images might take some time (~10 sec) to generate afterwards it improves to around (~1 sec)

Used Ideas

  • Pseudorandom number generation (with XOR-shift)
  • Bilinear-Interpolation
  • Smoothstep-Function
  • 2D Noise
  • Layering of Noise
  • Basic Java UI
  • int representation of Colors with bit shifting operations

Build

cd src/
javac --release 8 ./*.java
jar cfe ../build/current.jar GUI ./*.class
  • the second lines argument is necessary to be backwards compatible (command only works on java >=9)

Impressions

planet_picture_98026312 planet_picture_16993314 planet_picture_63192010 planet_picture_82900801 planet_picture_10700042 planet_picture_96208433 planet_picture_326876

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages