Share My Creation Simulating the Solar System with Animated Orbits, Moons, and Comets

Explore this interactive solar system simulation, a visually captivating project created in B4J. This project dynamically represents the solar system, complete with:

  • Sun and Planets: Each planet orbits the sun with its own unique speed and distance, showing realistic movements within an 800x800 pane.
  • Moons: Planets like Earth, Mars, Jupiter, and others feature moons rotating dynamically around them.
  • Comets: Famous comets, including Halley and Encke, traverse the system with animated trajectories, adding an extra layer of realism and excitement.
The simulation uses B4J's graphical capabilities to draw orbits, planets, moons, and comets, along
1737700929431.png
 

Attachments

  • SistemaSolarCanva.zip
    3.3 KB · Views: 145

max123

Well-Known Member
Licensed User
Longtime User
Explore this interactive solar system simulation, a visually captivating project created in B4J. This project dynamically represents the solar system, complete with:

  • Sun and Planets: Each planet orbits the sun with its own unique speed and distance, showing realistic movements within an 800x800 pane.
  • Moons: Planets like Earth, Mars, Jupiter, and others feature moons rotating dynamically around them.
  • Comets: Famous comets, including Halley and Encke, traverse the system with animated trajectories, adding an extra layer of realism and excitement.
The simulation uses B4J's graphical capabilities to draw orbits, planets, moons, and comets, along
Really cool for very small and simple code. 👍

You can use my AsyncCanvas library if you like, to draw all just one time, so you draw all planets, comets and other things, after that you don't see nothing
on the canvas, at the end of all drawings you call canvas.Invalidate and all drawings will appear per frame reducing a lot the overhead.
https://www.b4x.com/android/forum/t...anvas-wrapper-with-invalidate-for-b4j.148736/

Or may you want transform this in real 3D with rotating camera to have a super realistic scene with real maps, mipmaps and blending applied to any planet
and may use some post processing glow effects with my WebGL library ? If you want to do it I can help you time permitting.
 
Last edited:

Similar Threads

Top