background preloader

Calculate distance and bearing between two Latitude/Longitude points using Haversine formula in JavaScript

Calculate distance and bearing between two Latitude/Longitude points using Haversine formula in JavaScript

OpenGL ES 2.0 for iOS, Chapter 3 - Fundamentals of 3D Programming Before we start writing code, we need to go over some of the basics concept and algorithms used in 3D programming. Essentially, we need to make sure we're all speaking the same language. In this chapter, we're going to discuss some of the most basic and fundamental concepts underlying the use of OpenGL ES 2.0, as well as some of the data structures and algorithms that we'll need to create and manipulate virtual three-dimensional objects. We'll talk about what vertices, vectors, polygons, and colors are and how they are represented in OpenGL ES. We'll also look at some of the math that you'll need to perform on each of them. The Cartesian Coordinate System The first thing you need to understand before doing any 3D graphics programming is how locations are represented in a three-dimensional world. OpenGL ES Units One of the questions that may pop to mind when we talk about Cartesian coordinates is, "What units are we talking about here?" Well, they're OpenGL units. Vertices Wait… struct?

Met Office - StormTracker WARNING: In order to proceed past this screen you must have a valid username and password as supplied by the Met Office. Any attempt at unauthorised access or modification of Computer Data is a criminal offence under the Computer Misuse Act 1990. In addition, all users of this system are bound by further terms and conditions, to the exception of those users who have paid to access advanced versions of the service. Users who have paid to access advanced versions of the service shall be bound by the Met Office Standard Terms and Conditions as agreed between the parties. The Met Office is committed to keeping your personal information safe and secure. HITLab NZ MetEd Home

Panorama Mapping and Tracking Panorama created in real-time on the mobile phone. Summary Tracking for outdoor Augmented Reality (AR) applications has very demanding requirements: It must deliver an accurate registration with respect to a given coordinate system, be robust and run in real time. Despite recent improvements, outdoor tracking still remains a difficult problem. We implemented a system for the online creation and simultaneous tracking of panoramas. Publications Daniel Wagner, Alessandro Mulloni, Tobias Langlotz, Dieter Schmalstieg: Real-time Panoramic Mapping and Tracking on Mobile Phones, In Proceedings of IEEE Virtual Reality 2010 (VR 2010) Videos Real-Time Panoramic Mapping and Tracking on Mobile Phones This video shows our panorama mapping and tracking system including applications such as creating in-situ annotations and user-guidance for high-quality pano creation. Indoor Application Outdoor Application

Worldwide Tropical Cyclone Names Contents Atlantic Names Atlantic Pronunciation Guide (PDF) Since 1953, Atlantic tropical storms had been named from lists originated by the National Hurricane Center. The six lists above are used in rotation and re-cycled every six years, i.e., the 2014 list will be used again in 2020. If a storm forms in the off-season, it will take the next name in the list based on the current calendar date. In the event that more than twenty-one named tropical cyclones occur in the Atlantic basin in a season, additional storms will take names from the Greek alphabet. Can I have a tropical cyclone named for me? Eastern North Pacific Names Eastern North Pacific Pronunciation Guide (PDF) These lists are also re-cycled every six years (the 2014 list will be used again in 2020). Central North Pacific Names The names are used one after the other. Other Basin Names (Worldwide)

Gl Paint expanded | appSTUDIO Israel -(void) mergeWithImage:(UIImage*) image if(image==nil) return; glPushMatrix(); glColor4f(256, glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA); glGenTextures(1, &stampTexture); glBindTexture(GL_TEXTURE_2D, stampTexture); glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER,GL_LINEAR); glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MAG_FILTER,GL_LINEAR); GLuint imgwidth = CGImageGetWidth(image.CGImage); GLuint imgheight = CGImageGetHeight(image.CGImage); CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB(); void *imageData = malloc( imgheight * imgwidth * 4 ); CGContextRef context2 = CGBitmapContextCreate( imageData, imgwidth, imgheight, 8, 4 * imgwidth, colorSpace, kCGImageAlphaPremultipliedLast | kCGBitmapByteOrder32Big ); CGContextTranslateCTM (context2, 0, imgheight); CGContextScaleCTM (context2, 1.0, -1.0); CGColorSpaceRelease( colorSpace ); CGContextClearRect( context2, CGRectMake( 0, 0, imgwidth, imgheight ) ); CGContextTranslateCTM( context2, 0, imgheight - imgheight ); CGContextRelease(context2);

Tropical Storm Helene arrives; 94L a potential threat to the Lesser Antilles Most people don't realize it, but a rainbow is actually a full circle. You usually can't see the full circle, since half of the rainbow lies beneath the horizon, where it is not raining. After all, there is no weather underground. However, if one is in an airplane or overlooking a waterfall, the 360-degree rainbow can be seen. I know--I have seen them twice from research airplanes that were flying through rain showers. I challenge all you wunderphotographers to capture a 360-degree rainbow image in rain or waterfall mist. Comments will take a few seconds to appear.

Panorama 360 iPod Touch & iPhone Introduction PanoramaGL library is the first open source library in the world to see panoramic views on the iPod Touch 1G, 2G, 3G and iPhone EDGE, 3G and 3GS. SVN and source code in Created by Javier Baez - Visit Ecuador Team Important Note: Please add the credits in their projects when using the library. Background The supported features in version 0.1 Beta are: Using the Code To create a simple panoramic image viewer for the iPhone with PanoramaGL library, you must perform the following steps: 1. Open XCode Go to "File -> New Project -> iPhone OS -> Application -> View-based Application" Click on "Choose" button and Save the project as "HelloPanorama" 2. Download "PanoramaGL" library (Parent project folder) Decompress "PanoramaGL" library (double click on zip file) Go to menu "Project -> Edit Active Target 'HelloPanorama'" Go to "General" Tab Click on "+" button in the "Linked Library Section" Click on "Add Other" button and find "PanoramaGL" project 3. 4.

Related: