Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add license information

  • Loading branch information...
commit b03af8bfa9e1f5b8c5b0b82db23b318624a80dba 1 parent 7ce6054
@nrpatel authored
Showing with 49 additions and 2 deletions.
  1. +26 −0 calibration.py
  2. +0 −2  lens_mount.scad
  3. +23 −0 worldfileviewer.py
View
26 calibration.py
@@ -1,3 +1,29 @@
+""" Snow Globe: Calibration Script for a Cheap DIY Spherical Projection Setup
+
+Copyright (c) 2011, Nirav Patel <http://eclecti.cc>
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+This script allows you to calibrate a Snow Globe. You use the arrow keys to
+line up the longitude lines correctly to arrive at the x and y position,
+plus and minus keys to adjust the radius size until it fits the full visible
+area of the sphere, and 9 and 0 to adjust the lens offset until the latitudes
+look properly aligned. Press s to save the calibration data to a file.
+
+usage:
+python calibration.py calibration.txt
+"""
+
#!/usr/bin/env python
import sys
import math
View
2  lens_mount.scad
@@ -1,5 +1,3 @@
-//translate([0, 0, 6.65]) rotate([88.6, 0, 0]) translate([0, 0, -118]) import_stl("showwx4.stl");
-
opteka_r1 = 24.75/2;
opteka_r2 = 41.35/2;
View
23 worldfileviewer.py
@@ -1,3 +1,26 @@
+""" Snow Globe: World File Viewer for a Cheap DIY Spherical Projection Setup
+
+Copyright (c) 2011, Nirav Patel <http://eclecti.cc>
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+This script allows you to view equirectangular World Files on a calibrated
+Snow Globe.
+
+usage:
+python worldfileviewer.py calibration.txt image.jpg
+"""
+
#!/usr/bin/env python
import sys
import math
Please sign in to comment.
Something went wrong with that request. Please try again.