Coding Challenge #8: Solar System in Processing – Part 2 (3D)

[ad_1]
In the second part of this coding challenge, using Processing, I take the code from the 2D Solar System (Part 1) and turn it three-dimensional.

Part 3:

Support this channel on Patreon:

Send me your Coding Challenge ideas!

Contact:

Source Code for this challenge:

Nature of Code class on Kadenze:

Processing:
PeasyCam library:

GitHub Repository for Other Challenges:

For More Coding Challenges:

Help us caption & translate this video!


Posted

in

by

Tags:

Comments

22 responses to “Coding Challenge #8: Solar System in Processing – Part 2 (3D)”

  1. agus fikal Avatar

    Please, Can you send script for me?

  2. MikMakSky Avatar

    You make such interesting videos, thank you.

  3. Míra Killer Avatar

    Thanks to you, I learned to program

    Thanks

  4. Percocet Molly Avatar

    19:58 you asked how long you've been recording. Yeah, almost 20mins

  5. TVSuchty Avatar

    What Language ist that? JavaScript? Python?

  6. Simon Keisala Avatar

    Small fact about solar systems:

    The planets orbit in the same direction, and are flat, in all solar systems (with minor deviation).
    This is because in the beginning there was only a cloud of atoms, which in time collided on each others, nullifying the separated momentum not following the total momentum. In time the atoms got clumped together. The total momentum follow one direction, and is along two axes. A short video from minutesphysics describing it: https://www.youtube.com/watch?v=tmNXKqeUtJM

  7. Martin Andersen Avatar

    I don't get "import peasy.test.*; "

  8. PhoenixKing Avatar

    what do i need to create 3d objects in processing?? i'm following along with this video, but i get an error when i enter "size(600, 600, P3D);"

  9. Rafael Prates Avatar

    Jeez man, these are the best videos on the internet. It's so nice to see all the math and physics that I'm learning in college being applied

  10. Julian Not a Name Avatar

    This is really tough to recreate in p5.js because so many things behave differently and some just do not work.

  11. Kevin Freed Avatar

    awsome videos new sub can u do some on win 10 ???

  12. Omar Essilfie-Quaye Avatar

    yay cross products 🙂

  13. HenryAlman Avatar

    I know this is from a coding and not a physics perspective, but I can't help being triggered out my mind every time he says a "moon" orbiting the "sun". xD Still, incredibly informative and helpful videos while also being highly entertaining, much kudos to Mr. Shiffman. Wish I'd come across these while trying to code the solar system for my first year uni project.

  14. Martin Jacobsen Avatar

    Love that when he says he thinks he has been recording for 20 mins or so he has excatly been recording for 20 mins. 😀

  15. TheKingtijger Avatar

    The circles "rolling" on eachothers boundaries reminds me of my friend working out a problem: a 2 cm coin rolls around another 2 cm coin, if you draw a point on the rolling coin at the most outer edge, the point would travel exactly 16 cm in one rotation! 😉

  16. juan pablo sosa Avatar

    by far, the best video tutorial, the most entusiast, transparent, enjoyable video that i evr seen in youtube history. great job!!

  17. Philip Butler Avatar

    Hi Daniel, great tutorials. I am learning a lot from them. I am getting an array out of bounds exception when using PShape.setTexture(), cannot seem to find an answer online. Trying to load a .jpg image on to a sphere. Any ideas? 1200 X 600 jpeg image onto a sphere radius 25. Does the size of the image matter for the mapping?

  18. San Coca Avatar

    I'm having trouble converting to p5. it keeps giving me errors on the fill and the sphere function.. any tips? 🙂

  19. lolo mareschal Avatar

    Dear Daniel, Thank you so much for your great tutorials and your enthusiasm, I learn so much from you!
    I have a question regarding the sketch above, what about if I choose a specific amount of moons for each planet?!!
    thank you very much

  20. RedsBoneStuff Avatar

    I did understand everything!

Leave a Reply

Your email address will not be published. Required fields are marked *