From: Daniel Karbach Date: Mon, 18 Dec 2017 12:33:34 +0000 (+0100) Subject: universe data file X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=ea14b7c01b5470c7f10eb349f355a6885ea184d4;p=blobs-assets.git universe data file --- diff --git a/data/universe b/data/universe new file mode 100644 index 0000000..fc67c86 --- /dev/null +++ b/data/universe @@ -0,0 +1,47 @@ +Sun { + + name = "Sun"; + mass = 1.0e17; + radius = 200.0; + color = [ 1.0, 1.0, 1.0 ]; + luminosity = 1.0e8; + axial_tilt = [ 0.78539816339744830961, 0.78539816339744830961 ]; + angular_momentum = 1.0e18; + + children = [ + Planet(25) { + name = "Planet"; + mass = 1.0e13; + axial_tilt = [ 0.39898226700590374128, 0.0 ]; + angular_momentum = 6.5e13; + orbit = { + SMA = 8184.0; + }; + generate = earthlike; + atmosphere = air; + children = [ + Planet(5) { + name = "Moon"; + mass = 1.0e7; + rotation = 0.78539816339744830961; + angular_momentum = 5.22e5; + orbit = { + SMA = 72.5; + }; + generate = test; + }, + ]; + }, + Planet(14) { + name = "Second planet"; + mass = 1.0e12; + axial_tilt = [ 2.98451302091030357651, 0.0 ]; + angular_momentum = 1.0e12; + orbit = { + SMA = 4350.0; + }; + generate = test; + }, + ]; + +};