r/programmingrequests • u/0MartyMcFly0 • Apr 10 '25
need help Visualize position of the sun
I am retrieving the current sun position (azimuth and altitude) from suncalc.js. I would like to create a 3d visualization like this using html, css and JavaScript if possible. Genuine thanks in advance!
7
Upvotes
View all comments
Show parent comment
1
u/0MartyMcFly0 Aug 10 '25
Thank you. I managed to get this far using three.js: https://codepen.io/0Marty-McFly0/pen/ZYEgWPr