Refreshing Data with setInterval()
Back 8 / 20
- Where is the ISS?Final version of the ISS app.
- Centering Map on the ISS(Exercise) Demonstration of centering the view of the map on the ISS.
- Using p5.js + Mappa(Exercise) Demonstration of drawing the marker image using p5.js.
- Using p5.js + Mappa with Velocity(Exercise) Demonstration of using p5.js to draw the ISS marker and its velocity vector.
- Scaling Marker with Altitude(Exercise) Demonstration of scaling the size of the marker according to the altitude of the ISS.
- Scaling Marker with Zoom(Exercise) Demonstration of scaling the size of the marker according to the zoom level.
The lesson covers on refreshing new data from the ISS API and updating the HTML DOM accordingly once per second with setInterval().
setInterval on the MDN Web Docs