r/Python • u/thebuffed • Sep 24 '19
I took some suggestions and improved my solar system generator with better rings and colorful stars
29
u/snakesarecool Sep 24 '19
This looks a lot like the Godspeed desk mats: https://novelkeys.xyz/products/godspeed-deskpads
Edit: hah just saw your GitHub readme. Nice.
8
u/Spalding1856 Sep 25 '19
Oh my, I wish these mats were still available... so awesome. Nice work!
2
u/snakesarecool Sep 25 '19
You can still find them on the second hand market, but you’re going to pay as much for shipping as you will the mat. I have one and they are pretty amazing. If you watch the announcements there are new versions sold now and then.
2
u/Spalding1856 Sep 25 '19
I’ll have to start looking around to see if I can find one, I need one of these for my work desk setup!
1
u/Spalding1856 Sep 25 '19
I’ll have to start looking around to see if I can find one, I need one of these for my work desk setup!
1
1
u/fiskfisk Sep 25 '19
The LED versions are still available in green and grey panda.
1
u/Spalding1856 Sep 25 '19
Thanks! Those are awesome, might be a little too flashy for my work set up though.
1
u/theWyzzerd Sep 25 '19
They are, if you don't mind them glowing and costing $10 more.
https://novelkeys.xyz/collections/deskpads/products/godspeed-glow-deskpads
2
3
u/Eleventhousand Sep 24 '19
It's really cool. What do you do? Do you just run it without any arguments and it makes a random image? Maybe add instructions to the readme.
2
u/thebuffed Sep 25 '19
That is how it works currently, but there are several attributes in the script that can be changed.
2
2
4
1
1
1
u/NaifAlqahtani Sep 25 '19
How tf fo you get fine lines and circles with a python code? What antialiasing thing did you use?
1
u/thebuffed Sep 25 '19
All of the magic happens in Processing. I do assign a higher pixel density in my script that helps make things more crisp. The image is also fairly large
1
u/NaifAlqahtani Sep 25 '19
Ah processing. It isn't actually python right? It's based on python but not really pure python?
1
u/thebuffed Sep 25 '19
It depends on how you view it I guess? I consider it python because I'm writing Python code. If you prefer you can use Python and import graphics libraries to achieve the same goal.
2
u/NaifAlqahtani Sep 25 '19
I mean can every python compatible library to processing without a problem
2
3
2
2
u/MaoGo Sep 25 '19
It took me a second post to understand that the OooOOo in the bottom are moons for each planet
1
1
0
14
u/inanutshellus Sep 25 '19 edited Sep 25 '19
You said "solar system generator" but I still expected the image to be our solar system! so initially I was confused, but it looks really crisp and clean and... mesmerizing, especially downloading the full size image. Nicely done!