Core Functionality:
This is a webpage that users can display in fullscreen on a second monitor or an idle iPad. It acts as a "window" where the scenery inside changes based on the real-world time, the user's location, and the current weather.
Standalone Implementation Logic:
- Retrieve Time: Read
new Date()via JavaScript. - Retrieve Weather (Optional): Call the free weather API: Open-Meteo using JavaScript.
- Retrieve IP Address: Call the free IP database API: ipwho.is via JavaScript.
- Scene Construction:
- User sets a scene: e.g., "on a Mars base", "in an underwater tunnel", or "Hogwarts Library".
- JavaScript automatically assembles a prompt every 10 minutes:
- [User Scene] + [Current Weather] + [Time of Day]
- Example:
View from inside a Mars base window, red dust storm outside (weather), dark night (time), sci-fi interior.
- Display: Automatically refresh the URL at regular intervals, ensuring the scenery inside this "window" is always evolving.