Current project: PHP/MySQL star generator
- omega13a
- Posts: 120
- Joined: 15.10.2011
- Age: 40
- With us: 13 years 1 month
- Location: California
- Contact:
Re: Current project: PHP/MySQL star generator
I noticed in the output of http://www.tarazedi.com/files/backup%20 ... Sept10.php, some of the brown dwarfs are too massive to be brown dwarfs. The largest a brown dwarf can be is slightly smaller than Wolf 359 (about 0.08 solar masses). Also it don't seem to generate any class T brown dwarfs. Only class Ls.
Re: Current project: PHP/MySQL star generator
Perhaps this may help you:Mneme wrote:... If anyone can show me some good numbers on spectral class and luminosity class distributions in clusters of age X, I would love to implement that
http://www.google.it/search?q=GLOBULAR+CLUSTERS+H-R+DIAGRAMS&hl=it&prmd=imvns&tbm=isch&tbo=u&source=univ&sa=X&ei=m9BmUPTmIube4QS3pYGYCw&sqi=2&ved=0CCAQsAQ&biw=980&bih=516
Bye
Goofy
"Something is always better than nothing!"
HP Omen 15-DC1040nl- Intel® Core i7 9750H, 2.6/4.5 GHz- 1TB PCIe NVMe M.2 SSD+ 1TB SATA 6 SSD- 32GB SDRAM DDR4 2666 MHz- Nvidia GeForce GTX 1660 Ti 6 GB-WIN 11 PRO
HP Omen 15-DC1040nl- Intel® Core i7 9750H, 2.6/4.5 GHz- 1TB PCIe NVMe M.2 SSD+ 1TB SATA 6 SSD- 32GB SDRAM DDR4 2666 MHz- Nvidia GeForce GTX 1660 Ti 6 GB-WIN 11 PRO
Re: Current project: PHP/MySQL star generator
Juast an example, with and without all those blu external supergiants (that appear even if Cluster Blue Loops are set to "0"), and eliminating the cube corners to give a more "spheric" shape to the cluster.
I made a lot of photoshopping to show it (a long and annoying job...).
And, Mneme, a pray: can you find another system for naming the obtained stars?
Names like this should be forbidden by law:
TesotchazhtsomV 430
Bye
Goofy
I made a lot of photoshopping to show it (a long and annoying job...).
And, Mneme, a pray: can you find another system for naming the obtained stars?
Names like this should be forbidden by law:
TesotchazhtsomV 430
Bye
Goofy
"Something is always better than nothing!"
HP Omen 15-DC1040nl- Intel® Core i7 9750H, 2.6/4.5 GHz- 1TB PCIe NVMe M.2 SSD+ 1TB SATA 6 SSD- 32GB SDRAM DDR4 2666 MHz- Nvidia GeForce GTX 1660 Ti 6 GB-WIN 11 PRO
HP Omen 15-DC1040nl- Intel® Core i7 9750H, 2.6/4.5 GHz- 1TB PCIe NVMe M.2 SSD+ 1TB SATA 6 SSD- 32GB SDRAM DDR4 2666 MHz- Nvidia GeForce GTX 1660 Ti 6 GB-WIN 11 PRO
Re: Current project: PHP/MySQL star generator
For Quatran that's not a hard name at all but I should drop a syllable from the possible range I guess. LOL Levetzi is easier.
The age loops skew toward giants; if you don't set that you should see few to no supergiants.
I know the very basics of cluster evolution, that a young cluster has more Bs and older clusters more red giants etc. but I don't know how to translate that into percentages. The age skew just increases the number of giants. I haven't seen any sources for the number of Bs, As, etc. for giants as I found for main sequence stars, so the distribution is just logarithmic.
Do L- and T-class stars come in giant? If not, I should probably edit those because the larger L-class stars I generate seem to be insane huge, like 100AU+. And what's the mass range for Ls? What I was reading suggested to me that L dwarfs basically range in size from brown dwarfs (13 J) to the lower end of MVs. Is that at all correct? And I also understood (probably incorrectly?) that a T-class is just a cooler version of an L-class and fall in the same mass range?
The age loops skew toward giants; if you don't set that you should see few to no supergiants.
I know the very basics of cluster evolution, that a young cluster has more Bs and older clusters more red giants etc. but I don't know how to translate that into percentages. The age skew just increases the number of giants. I haven't seen any sources for the number of Bs, As, etc. for giants as I found for main sequence stars, so the distribution is just logarithmic.
Do L- and T-class stars come in giant? If not, I should probably edit those because the larger L-class stars I generate seem to be insane huge, like 100AU+. And what's the mass range for Ls? What I was reading suggested to me that L dwarfs basically range in size from brown dwarfs (13 J) to the lower end of MVs. Is that at all correct? And I also understood (probably incorrectly?) that a T-class is just a cooler version of an L-class and fall in the same mass range?
- omega13a
- Posts: 120
- Joined: 15.10.2011
- Age: 40
- With us: 13 years 1 month
- Location: California
- Contact:
Re: Current project: PHP/MySQL star generator
Mneme wrote:Do L- and T-class stars come in giant?
I do not know of any L and T class giants.
Mneme wrote:And what's the mass range for Ls? What I was reading suggested to me that L dwarfs basically range in size from brown dwarfs (13 J) to the lower end of MVs. Is that at all correct? And I also understood (probably incorrectly?) that a T-class is just a cooler version of an L-class and fall in the same mass range?
That's correct from what I understand. L, T, and Y classes are all for 'failed' stars aka brown dwarfs. According to wikipedia, they have a mass between 13 and 80 Jupiters. Also, I would like to point out that Celestia doesn't support Y class brown dwarfs because they are a very recent discovery and there isn't a well defined spectral sequence for them yet.
Re: Current project: PHP/MySQL star generator
Okay, things seem to be working alright.
http://www.tarazedi.com/files/stargenerator.php is the star generator current version. It produces stars and planets, though not yet moons. Be aware that multiple users hitting it at the same time may cause undesired results. Also, be aware that I will continue working on it and downtime should not be surprising.
http://f.tarazedi.com/viewtopic.php?f=7&t=28 has the textures pack and version 0.9 of the program.
Enjoy.
http://www.tarazedi.com/files/stargenerator.php is the star generator current version. It produces stars and planets, though not yet moons. Be aware that multiple users hitting it at the same time may cause undesired results. Also, be aware that I will continue working on it and downtime should not be surprising.
http://f.tarazedi.com/viewtopic.php?f=7&t=28 has the textures pack and version 0.9 of the program.
Enjoy.
Re: Current project: PHP/MySQL star generator
I'm working on v3, transferring and converting the code to the new format. Systems and stars are done. The program runs much more smoothly and loads the currently-generating system in an iframe, refreshing with each system rather than running a multitude of separate loops as the previous version did. The sidebar refreshes every ten seconds, showing current progress, tallies, and records (e.g. most massive system). Once I have the code converted I'm going to throw some images up so you can actually see a graphic representation of the system being worked on as it is generated rather than just data tables.
Re: Current project: PHP/MySQL star generator
http://w.tarazedi.com/image1100
Progress: graphics for star and planet types, scaled to radius (or square roots thereof for stars). Moons are next, then the various types of output page (Celestia, tables, and web formats e.g. HTML, BBCode, and Tikiwiki). After that I will improve the cosmetics, including changing the planet images to match subtypes rather than just the overall type (e.g. Ice Cratered, Ice Resurfaced rather than just Ice).
Still undecided on asteroids though.
Progress: graphics for star and planet types, scaled to radius (or square roots thereof for stars). Moons are next, then the various types of output page (Celestia, tables, and web formats e.g. HTML, BBCode, and Tikiwiki). After that I will improve the cosmetics, including changing the planet images to match subtypes rather than just the overall type (e.g. Ice Cratered, Ice Resurfaced rather than just Ice).
Still undecided on asteroids though.
Re: Current project: PHP/MySQL star generator
Alright, all I should have left is the alternate outputs (tables, HTML, BBCode, H-R diagrams, etc.); the Celestia output works fine. The appropriate clouds paste right over top of the planets and the graphics are a lot more varied. Also, I should probably add a "suppress planets" option eh...
Feel free to play with it. I'll be providing the source and web crap for this soon.
www dot tarazedi dot com slash starmaker
Feel free to play with it. I'll be providing the source and web crap for this soon.
www dot tarazedi dot com slash starmaker
Last edited by Mneme on 01.11.2012, 19:46, edited 1 time in total.
Re: Current project: PHP/MySQL star generator
http://www.tarazedi.com/starmaker/tableoutput.php generates an H-R diagram and a planet density/class/temperature chart as well as listing data for each system and planet. There will be additional tables at the bottom for moons and rogue planets when I get that far. The HTML output page will create the necessary HTML to generate a page like this for use on websites, etc.
- omega13a
- Posts: 120
- Joined: 15.10.2011
- Age: 40
- With us: 13 years 1 month
- Location: California
- Contact:
Re: Current project: PHP/MySQL star generator
A good little improvement would be to not use abrivations for the types of planets. For example what does MSI mean?
Re: Current project: PHP/MySQL star generator
Non-gas-giants: Ice, Ice-Carbon, Ice-Silicon, Carbon, Silicon, Metal-Carbon, Metal-Silicon, Metal, Remnant, Rogue.
Gas giants: Methane-Cloud, Ammonia-Cloud, Water-Cloud, Clarified, Alkali-Metal-Cloud, Silicate-Cloud, Vaporized.
Gas giants: Methane-Cloud, Ammonia-Cloud, Water-Cloud, Clarified, Alkali-Metal-Cloud, Silicate-Cloud, Vaporized.
Re: Current project: PHP/MySQL star generator
Standards:
Resurfaced/Volcanics:
Water/Oil:
Stormy/Condensates:
Weird
Clouds:
Resurfaced/Volcanics:
Water/Oil:
Stormy/Condensates:
Weird
Clouds:
Re: Current project: PHP/MySQL star generator
Added a number of additional planet combinations. A few highlights I've run across in my travels:
http://w.tarazedi.com/image1102
http://w.tarazedi.com/image1103
http://w.tarazedi.com/image1104
http://w.tarazedi.com/image1105
http://w.tarazedi.com/image1106
http://w.tarazedi.com/image1102
http://w.tarazedi.com/image1103
http://w.tarazedi.com/image1104
http://w.tarazedi.com/image1105
http://w.tarazedi.com/image1106
Last edited by Mneme on 01.11.2012, 21:02, edited 1 time in total.
- John Van Vliet
- Posts: 2944
- Joined: 28.08.2002
- With us: 22 years 3 months
Re: Current project: PHP/MySQL star generator
--- edit ---
Last edited by John Van Vliet on 19.10.2013, 04:09, edited 1 time in total.
Re: Current project: PHP/MySQL star generator
Done.
Screenshot of the Table Output page. The HTML Output page provides the user the HTML needed for the data table. http://w.tarazedi.com/image1107
Screenshot of the Table Output page. The HTML Output page provides the user the HTML needed for the data table. http://w.tarazedi.com/image1107
- John Van Vliet
- Posts: 2944
- Joined: 28.08.2002
- With us: 22 years 3 months
Re: Current project: PHP/MySQL star generator
--- edit ---
Last edited by John Van Vliet on 19.10.2013, 04:10, edited 1 time in total.
Re: Current project: PHP/MySQL star generator
Noted.
Although it looks a bit better on a black bg, here's what the BBCode output comes up with:
300400 Stel Prasa System
Stel Prasa A: class: M9V, absolute magnitude: 13.23, mass: 0.155 xSol.
300401 Tataratz System
Tataratz A: class: DA1, absolute magnitude: 13.32, mass: 0.559 xSol.
Rogue 300401: class: Ice.Rogue planet. temp: 131 K, density: 2.86 xH20, radius: 14177 km, rot: 56d 10h 51m, albedo: 0.53 rings: 28297 km-69255 km.
300402 Tragqraf System
Tragqraf A: class: M3III, absolute magnitude: -0.65, mass: 1.418 xSol.
300403 Pataratz System
Pataratz A: class: M7V, absolute magnitude: 12.43, mass: 0.2 xSol.
Rogue 300403: class: Ice.Rogue planet. temp: 143 K, density: 3.11 xH20, radius: 12350 km, rot: 155d 23h 57m, albedo: 0.55.
Pataratz I: class: AmC. Orbits A (0.129 AU, 37.84 d, 0.026 ecc.). temp: 135 K, density: 3.7 xH20, radius: 43756 km, rot: 1757d 18h, albedo: 0.285 rings: 70069 km-178862 km.
Pataratz II: class: AmC. Orbits A (0.261 AU, 108.962 d, 0.144 ecc.). temp: 95 K, density: 3.71 xH20, radius: 43567 km, rot: 2615d 1h 55m, albedo: 0.496 rings: 76719 km-110592 km.
Pataratz III: class: Ice. Orbits A (0.62 AU, 1.092 yr, 0.077 ecc.). temp: 62 K, density: 3.48 xH20, radius: 13403 km, rot: 27d 16h 45m, albedo: 0.6 rings: 25871 km-61868 km.
Pataratz IV: class: Ice. Orbits A (1.883 AU, 5.779 yr, 0.048 ecc.). temp: 35 K, density: 1.44 xH20, radius: 5738 km, rot: 29d 2h 57m, albedo: 1 rings: 9476 km-25024 km.
Pataratz IV-b: class: Ice. (orbit: 43970.8 AU, 2.402 d, 0.013 ecc.) 2.56 xH20, radius: 1262 km, albedo: 0.5.
Pataratz IV-c: class: Ice. (orbit: 97938.3 AU, 7.982 d, 0.061 ecc.) 2.43 xH20, radius: 1307 km, albedo: 0.51.
Pataratz IV-d: class: Ice. (orbit: 149749 AU, 15.06 d, 0.042 ecc.) 1.07 xH20, radius: 1829 km, albedo: 0.57.
Pataratz V: class: Ice. Orbits A (2.877 AU, 10.911 yr, 0.044 ecc.). temp: 29 K, density: 3.93 xH20, radius: 3795 km, rot: 60d 22h 16m, albedo: 0.53.
Pataratz VI: class: MeC. Orbits A (4.364 AU, 20.382 yr, 0.004 ecc.). temp: 23 K, density: 0.63 xH20, radius: 77907 km, rot: 10d 3h 34m, albedo: 0.225 rings: 124346 km-300689 km.
Pataratz VII: class: Ice. Orbits A (6.826 AU, 39.88 yr, 0.017 ecc.). temp: 19 K, density: 1.24 xH20, radius: 18709 km, rot: 27d 20h 17m, albedo: 0.51 rings: 35889 km-78775 km.
Pataratz VIII: class: MeC. Orbits A (10.24 AU, 73.266 yr, 0.076 ecc.). temp: 15 K, density: 2 xH20, radius: 104907 km, rot: 100d, albedo: 0.52 rings: 168840 km-433324 km.
Pataratz VIII-b: class: Ice. (orbit: 686936 AU, 1.622 d, 0.001 ecc.) 1.52 xH20, radius: 18614 km, albedo: 0.57.
Although it looks a bit better on a black bg, here's what the BBCode output comes up with:
300400 Stel Prasa System
Stel Prasa A: class: M9V, absolute magnitude: 13.23, mass: 0.155 xSol.
300401 Tataratz System
Tataratz A: class: DA1, absolute magnitude: 13.32, mass: 0.559 xSol.
Rogue 300401: class: Ice.Rogue planet. temp: 131 K, density: 2.86 xH20, radius: 14177 km, rot: 56d 10h 51m, albedo: 0.53 rings: 28297 km-69255 km.
300402 Tragqraf System
Tragqraf A: class: M3III, absolute magnitude: -0.65, mass: 1.418 xSol.
300403 Pataratz System
Pataratz A: class: M7V, absolute magnitude: 12.43, mass: 0.2 xSol.
Rogue 300403: class: Ice.Rogue planet. temp: 143 K, density: 3.11 xH20, radius: 12350 km, rot: 155d 23h 57m, albedo: 0.55.
Pataratz I: class: AmC. Orbits A (0.129 AU, 37.84 d, 0.026 ecc.). temp: 135 K, density: 3.7 xH20, radius: 43756 km, rot: 1757d 18h, albedo: 0.285 rings: 70069 km-178862 km.
Pataratz II: class: AmC. Orbits A (0.261 AU, 108.962 d, 0.144 ecc.). temp: 95 K, density: 3.71 xH20, radius: 43567 km, rot: 2615d 1h 55m, albedo: 0.496 rings: 76719 km-110592 km.
Pataratz III: class: Ice. Orbits A (0.62 AU, 1.092 yr, 0.077 ecc.). temp: 62 K, density: 3.48 xH20, radius: 13403 km, rot: 27d 16h 45m, albedo: 0.6 rings: 25871 km-61868 km.
Pataratz IV: class: Ice. Orbits A (1.883 AU, 5.779 yr, 0.048 ecc.). temp: 35 K, density: 1.44 xH20, radius: 5738 km, rot: 29d 2h 57m, albedo: 1 rings: 9476 km-25024 km.
Pataratz IV-b: class: Ice. (orbit: 43970.8 AU, 2.402 d, 0.013 ecc.) 2.56 xH20, radius: 1262 km, albedo: 0.5.
Pataratz IV-c: class: Ice. (orbit: 97938.3 AU, 7.982 d, 0.061 ecc.) 2.43 xH20, radius: 1307 km, albedo: 0.51.
Pataratz IV-d: class: Ice. (orbit: 149749 AU, 15.06 d, 0.042 ecc.) 1.07 xH20, radius: 1829 km, albedo: 0.57.
Pataratz V: class: Ice. Orbits A (2.877 AU, 10.911 yr, 0.044 ecc.). temp: 29 K, density: 3.93 xH20, radius: 3795 km, rot: 60d 22h 16m, albedo: 0.53.
Pataratz VI: class: MeC. Orbits A (4.364 AU, 20.382 yr, 0.004 ecc.). temp: 23 K, density: 0.63 xH20, radius: 77907 km, rot: 10d 3h 34m, albedo: 0.225 rings: 124346 km-300689 km.
Pataratz VII: class: Ice. Orbits A (6.826 AU, 39.88 yr, 0.017 ecc.). temp: 19 K, density: 1.24 xH20, radius: 18709 km, rot: 27d 20h 17m, albedo: 0.51 rings: 35889 km-78775 km.
Pataratz VIII: class: MeC. Orbits A (10.24 AU, 73.266 yr, 0.076 ecc.). temp: 15 K, density: 2 xH20, radius: 104907 km, rot: 100d, albedo: 0.52 rings: 168840 km-433324 km.
Pataratz VIII-b: class: Ice. (orbit: 686936 AU, 1.622 d, 0.001 ecc.) 1.52 xH20, radius: 18614 km, albedo: 0.57.
- omega13a
- Posts: 120
- Joined: 15.10.2011
- Age: 40
- With us: 13 years 1 month
- Location: California
- Contact:
Re: Current project: PHP/MySQL star generator
Mneme wrote:Noted.
Although it looks a bit better on a black bg, here's what the BBCode output comes up with:
300400 Stel Prasa System
Stel Prasa A: class: M9V, absolute magnitude: 13.23, mass: 0.155 xSol.
300401 Tataratz System
Tataratz A: class: DA1, absolute magnitude: 13.32, mass: 0.559 xSol.
Rogue 300401: class: Ice.Rogue planet. temp: 131 K, density: 2.86 xH20, radius: 14177 km, rot: 56d 10h 51m, albedo: 0.53 rings: 28297 km-69255 km.
300402 Tragqraf System
Tragqraf A: class: M3III, absolute magnitude: -0.65, mass: 1.418 xSol.
300403 Pataratz System
Pataratz A: class: M7V, absolute magnitude: 12.43, mass: 0.2 xSol.
Rogue 300403: class: Ice.Rogue planet. temp: 143 K, density: 3.11 xH20, radius: 12350 km, rot: 155d 23h 57m, albedo: 0.55.
Pataratz I: class: AmC. Orbits A (0.129 AU, 37.84 d, 0.026 ecc.). temp: 135 K, density: 3.7 xH20, radius: 43756 km, rot: 1757d 18h, albedo: 0.285 rings: 70069 km-178862 km.
Pataratz II: class: AmC. Orbits A (0.261 AU, 108.962 d, 0.144 ecc.). temp: 95 K, density: 3.71 xH20, radius: 43567 km, rot: 2615d 1h 55m, albedo: 0.496 rings: 76719 km-110592 km.
Pataratz III: class: Ice. Orbits A (0.62 AU, 1.092 yr, 0.077 ecc.). temp: 62 K, density: 3.48 xH20, radius: 13403 km, rot: 27d 16h 45m, albedo: 0.6 rings: 25871 km-61868 km.
Pataratz IV: class: Ice. Orbits A (1.883 AU, 5.779 yr, 0.048 ecc.). temp: 35 K, density: 1.44 xH20, radius: 5738 km, rot: 29d 2h 57m, albedo: 1 rings: 9476 km-25024 km.
Pataratz IV-b: class: Ice. (orbit: 43970.8 AU, 2.402 d, 0.013 ecc.) 2.56 xH20, radius: 1262 km, albedo: 0.5.
Pataratz IV-c: class: Ice. (orbit: 97938.3 AU, 7.982 d, 0.061 ecc.) 2.43 xH20, radius: 1307 km, albedo: 0.51.
Pataratz IV-d: class: Ice. (orbit: 149749 AU, 15.06 d, 0.042 ecc.) 1.07 xH20, radius: 1829 km, albedo: 0.57.
Pataratz V: class: Ice. Orbits A (2.877 AU, 10.911 yr, 0.044 ecc.). temp: 29 K, density: 3.93 xH20, radius: 3795 km, rot: 60d 22h 16m, albedo: 0.53.
Pataratz VI: class: MeC. Orbits A (4.364 AU, 20.382 yr, 0.004 ecc.). temp: 23 K, density: 0.63 xH20, radius: 77907 km, rot: 10d 3h 34m, albedo: 0.225 rings: 124346 km-300689 km.
Pataratz VII: class: Ice. Orbits A (6.826 AU, 39.88 yr, 0.017 ecc.). temp: 19 K, density: 1.24 xH20, radius: 18709 km, rot: 27d 20h 17m, albedo: 0.51 rings: 35889 km-78775 km.
Pataratz VIII: class: MeC. Orbits A (10.24 AU, 73.266 yr, 0.076 ecc.). temp: 15 K, density: 2 xH20, radius: 104907 km, rot: 100d, albedo: 0.52 rings: 168840 km-433324 km.
Pataratz VIII-b: class: Ice. (orbit: 686936 AU, 1.622 d, 0.001 ecc.) 1.52 xH20, radius: 18614 km, albedo: 0.57.
You should use abrivations for the planet and moon classes without some key to say what the abrivations mean. All the types of out put should have something like that.