You are now in a GitHub source code view - click this link to view the home page <input type=button onclick=window.location.href="proxy.php?url=https%3A%2F%2Fgithub.com.%2F%3Ca+href%3D"https://github.com/ladybug-analysis-tools/ladybug-web">https://github.com/ladybug-analysis-tools/ladybug-web'; value='You are now in the home page view - Click this button to view the read me file and the source code' >
Ladybug for web provides analemma, solar and weather data visualization and analysis on the web
Alternative home page: Ladybug Web via GitHub API
2016-03-29 ~ for the time being this read me/home page is not being updated as all effort is going into the alternative - and experimental - home page
Generally the following scripts
- Built using entry level JavaScript with no dependencies other than Three.js and/or SunCalc.js
- Enable rotation, zoom and pan using one, two or three fingers or left button, scroll wheel and right button on a mouse
- A first pass at thinking out load about what the home page of a complex GitHub organization should do. Is it some kind of dashboard?
- A basic engine for calculating and displaying analemmas and sun positions
- Supports any latitude and longitude
- Supports year, month, date, hour, minute date and time
- Loads JSON files from a URL
- Supports permalinks for the above plus
- Camera position and camera target
- Various other minor settings
- To display one analemma for every hour of the day in 3D at any location on Earth
- To display the position of the Sun - using azimuth and altitude - at any date and time at any location on Earth
- Code clean-up and streamlining variable names
- added 'ms' parameter for multiplyScalar
- Menu only displays if not in iframe
- Date and time set from local date and time - previously was set by defaults
- Info display parameters now show lat, lon, date and time
- Two column menu and contents display
- Menu list files that can be displayed
- Loads Markdown files and converts them to HTML
- Loads JSON files using Ladybug Web Shadow Core
- Updates sun position in real-time
For details see the Read Me in Ladybug Web Shadow Explorer
- Code clean-up
- Helps you create the 'permalinks' that can be used by Ladybug Web Shadow Explorer and other apps
- Displays JSON model, analemmas and sun
- Accepts
- Model URL
- Latitude and longitude
- Date and time
- Model position, rotation and scale
- Camera position and target
- Display the shadows for ten hourly sun positions.
- Update the latitude via a slider
- Reference objects are generated randomly at load time
- Zoom out to see all the directional light frustums
- Still contains errors in logic
- Note that times are UTC
Latest update: 2016-03-06 / R1
- Built on SunCalc
- Creates a 3D Sun path
- Displays Sun times and position in radians and degree
- Set the date and time
- Loads and displays OBJ files - with shade and shadow
- Includes five samples
- API that creates and accepts permalinks
- Rotate default buildings to correct orientation
- Fix azimuth/altitude error
- Allow for updates that don't reset parameters
- Faster ways for setting data and time
- Built on SunCalc.js
- Calculates and reports Sun times and position in radians and degrees
- Calculates and reports Moon illumination, times and positions in radians and degrees
- API that creates, updates and accepts permalinks
- Accept date, time, latitude and longitude
- Buttons provide data for selected cities
- Code clean-up
- Display data in UTC plus in the time zone of the remote location
- Redesign permalinks
- Add buttons
- More testing need to confirm times are correct
- Separate into engine and viewers << 2016-03-08 separation process just starting with R5
- Select locations from a gazetteer of with lat/lon of over 2,000 places names
- Select lat/lon by clicking on a map or globe
- Click on each item of Sun times to update Sun position. Ditto Moon
- Highlight with color currently selected location
- SunCalc accepts dates both as ASCII and UNIX timestamps in milliseconds
Embedded description: Set date and time. Set the location to any lat/lon. Adjust the view. View the Sun azimuth, altitude and shadows for that place and time. Permalinks created on the fly.
Latest update: 2016-03-06 / R3
- Set date and time
- Set latitude and longitude
- View Sun azimuth and altitude
- View shadow simulation
- API that creates and accepts permalinks
- Menu works on mobiles
- Select lat/lon by clicking on a map or globe
- Add gazetteer?
- Insert OBJ, JSON and other files into the scene
- Pick up 3D data from Google Street View - follow Callum Prentice
- Shows how Analemma are created ~ PY Cheung
- No code or explanation
- Here it is in Python. Can we do it in JavaScript?
- Source
SunCalc ~ Thank you Vladimir Agafonkin!
Astronomy Answers ~ Position of the Sun
SunCalc.net ~ Vladimir Agafonkin!
- You must use the time of the local computer location.
- In order to see sunrise in Europe from a computer in San Francisco, you must set time as, say, 23:50
SunCalc.org ~ Torsten Hoffman
MoonCalc.org ~ Torsten Hoffman
- These apps also use the time at you current location
- But also displays local time at the location being viewed
- Main JavaScript routine
- Main page fairly easy to update
- Calls them 'azimuth' and 'elevation'
- Does not give negative elevations
Sun Earth Tools ~ no API ~ UK app - no authors listed
Sun Path 3 ~ no API ~ Dr Andrew Marsh
Solar Path ~ Mike Bostock
NOAA Solar Calculator ~ Find Sunrise, Sunset, Solar Noon and Solar Position for Any Place on Earth
- http://www.esrl.noaa.gov/gmd/grad/solcalc/emaps.js
- Previous version: http://www.esrl.noaa.gov/gmd/grad/solcalc/azel.html
- Uses Flash
http://www.metafilter.com/130877/SunCalc-a-solar-azimuth-calculator
http://www.analemma.com/Pages/indexPage.html
- Old and has issues
# ❦