Inspiration:
https://editor.p5js.org/mberger75/sketches/f_8oKzndG
https://www.saatchiart.com/art/Painting-Black-Hole/1014988/3765274/view
Interaction:
I use second idea, make variance on black hole idea. I learnt the coding of blackhole on nature of code. And want to make a picture with the traces created by the protons approaching blackholes.
It begins with the foundations of gravitational theory, symbolized through the visualization of black holes. In this code, we simulate the interaction of particles with these black holes using principles derived from Newton’s law of universal gravitation and Einstein’s theory of general relativity.
The code comprises several key components. The setup() function initializes our simulation environment, including the creation of a graphical user interface (GUI) powered by the dat.GUI library, allowing for real-time adjustments of simulation parameters. Through the draw() function, we depict the motion of particles under the influence of gravity from black holes. The simulation incorporates visualizations, such as the trails left by moving particles and the representations of black holes as massive gravitational entities.
To enhance our exploration, modifications were made to the code. Additional black holes were introduced, enriching the simulation by showcasing the dynamics between multiple gravitational centers. Moreover, the number and size of the black holes dynamically change upon mouse clicks, offering an interactive and engaging experience.
This project serves as an educational and immersive tool, providing a visual understanding of complex gravitational interactions. It merges science, mathematics, and programming to present a captivating visualization of celestial phenomena.
In conclusion, this project invites us to explore the wonders of space-time curvature and gravitational forces through a captivating visual representation. It stands as an embodiment of curiosity, knowledge, and the fusion of science with technology, allowing us to immerse ourselves in the fascinating world of astrophysics and gravitational dynamics.