|
Static Background and Dynamic Sun: Crafting a static background while animating the sun posed a significant challenge. After experimenting with
push()
/
pop()
and
noLoop()
/
loop()
, I discovered the
createGraphics()
function through
The Coding Train, which allowed me to layer the static and dynamic elements effectively.
|
Random Gaussian Lines: To mimic sunlight, I utilized the
randomGaussian()
function from
p5.js, modifying the example to align with my artistic vision.
|
Integration with NASA API: A highlight of the project was incorporating live data from NASA's API, visualizing space weather phenomena like Coronal Mass Ejections (CME) and Solar Flares (FLR). This involved overcoming data retrieval challenges and formatting date data, for which I sought guidance from sources like
Stack Overflow.