Python tutorial: accurate scale 3D Solar System - part 4

Pubblicato il: 24 aprile 2021
sul canale di: Red Hen dev
561
18

Using the Ursina Engine for python (created by Petter Amland), and some data from Nasa (thanks Nasa), we apply the correct solar distances, orbital velocities, and diameters to our planets.

I also orientate the Editor Camera so that we are looking 'down' from 'above' the sun at the centre of the view, and at a distance where we can see a good number of the planets in the system.

To apply the real-world data, we simply use an indexed List and tweak these with a few scalars so that things look reasonable.

Code: https://github.com/RedHenDev/ursina_t...

Thanks for watching!

P.s. Copernicus had...no daughters :( OK -- but it looks like he may have had a romantic attachment with 'Anna Schilling'. So, I hereby name our solar system--on presumptuous behalf of all humanity--'Anna's System'. Enjoy :)


In questa pagina del sito puoi guardare il video online Python tutorial: accurate scale 3D Solar System - part 4 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Red Hen dev 24 aprile 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 561 volte e gli è piaciuto 18 spettatori. Buona visione!