Week 4: Data visualization

For this assignment, I drew inspiration from a previous project where text elements orbited around a central point. I aimed to create an illustration resembling a solar system, complete with data on the distance and mass of each planet. My goal was to have the planets rotate around the sun at controlled speeds. However, I encountered challenges that proved to be more complex than I initially anticipated.

I successfully implemented a data view in the console section, but I faced difficulty in displaying the data directly within the visual output. My primary areas for improvement include finding a solution to display data in the visual output and refining the motion of the objects to accurately simulate the planetary orbits. And the part of the code I am particularly proud of is given below. This is something I learned newly by doing this project.

console.log(`Name: ${name}, Mass: ${mass}`);

 

Leave a Reply