Using D3.js to calculate and visualize hour and minute hand rotations between two times. Using some artistic license with the Socrata logo to visualize the analog rotations.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <meta charset="utf-8"> | |
| <style> | |
| #clock { | |
| position: relative; | |
| background: #222; | |
| width: 960px; | |
| height: 800px; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| """ | |
| SYNOPSIS | |
| dn_2_rad.py [-h,--help] [-v,--verbose] [-i,--input] [-o,--output] | |
| DESCRIPTION | |
| This program is used to extract the gain parameters and to convert |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| Created on Thu Nov 3 11:56:48 2011 | |
| The main program. The program takes 3 files as input: | |
| #. The red band (any GDAL-compatible format will do) | |
| #. the near-infrarred band (again as above) | |
| #. An output file name |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "metadata": { | |
| "name": "Pedio_Cactus_Suitability" | |
| }, | |
| "nbformat": 3, | |
| "nbformat_minor": 0, | |
| "worksheets": [ | |
| { | |
| "cells": [ | |
| { |
#Topology in Geography
Topology is a broad branch of mathematics used to describe the fundamental structure of a shape or object within a space. Objects can be manipulated by stretching or compressing the shape’s components, but the tearing of or addition to its structure will break topology. According to the rules of topology, a doughnut and a coffee mug are equal.
###Topology example: ![Alt text] (http://i.imgur.com/sBP9p.gif)
Geography utilizes topology to project geometric objects from a 3D sphere onto a 2D coordinate system while allowing the shape to stay intact with some distortion.
###3D Sphere projections to 2D plane:
NewerOlder