/fridgeMagnets

magnetic poetry based on current weather conditions

Primary LanguageJavaScript

fridgeMagnets

  • magnetic poetry based on current weather conditions
  • generates different sets of magnets based on your current weather conditions (clear, rainy, stormy, snowy)
  • uses ipinfo.io's IP Geolocation API to find current location and Weather.js Javascript weather library to fetch weather data from OpenWeatherMap's API
  • click + drag to move magnets around

fridgeMagnets finds the user's current location by IP address to determine the current weather conditions. Based on the weather conditions, the set of magnets displayed will be different. For example, if it is a clear day, the words on the magnts will be generally more positive.

Examples

conditions: 'sky is clear'

sky is clear

conditions: 'thunderstorm'

thunderstorm

conditions: 'light drizzle'

light drizzle

conditions: 'sleet'

sleet