Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
SlideShare a Scribd company logo
GeoHex
    @sa2da
  2009.12.21
#off4g #geohex
What’s GeoHex ?




Map      GeoHex on Map
GeoGaming Platform
GeoCode Format
Why GeoHex?


            VS

No GeoHex        GeoHex
Match for Game




not cool
           So Coooooool!!!
Short Code




20 byte
            4 byte
Save Privacy
              for


                       sa2da

    sa2da




pinpoint
                      vague
Equal in distance




1 : 1.41      1:1
Flexible Size



  132KpxU



                 ameEA



                            032Lr


Level:1                  Level:60
Easy to use distance



function getDistance(_x1,_y1, _x2,_y2)
{
   _x2 = _x2 * Math.PI / 180.0;
   _y2 = _y2 * Math.PI / 180.0;
   _x1 = _x1 * Math.PI / 180.0;
   _y1 = _y1 * Math.PI / 180.0;

    var dx=_x2-_x1;
    var dy=_y2-_y1;
    var A = 6378137; //                  (6378137m)




                                                                                   A.x - B.x
    var x = A * (dx) * Math.cos( _y1 );
    var y = A * (dy);
    var old_exp = exp;
    dy=Math.log(Math.tan(Math.PI/4+_y2/2))-Math.log(Math.tan(Math.PI/4+_y1/2));
    var rad=((dy>=0) ? 1:-1)*Math.acos(dx/Math.sqrt(dx*dx+dy*dy))*180.0/Math.PI;
    var tmpdist = Math.round(Math.sqrt(x*x + y*y));
    totaldist = totaldist + tmpdist;
    distcnt();
}
Easy to use route
                with 6 direction




 35.661960,139.697900
                                   132KpxU
 35.660093,139.701741                2
          .
          .                          3
          .
          .                          2
          .                           .
          .                           .




20 × (n) byte              7 + (n) byte
GeoHex for what?

       Communication    Game


  Tracking       Index         GIS

        Search         Statistics
Coming soon...




Real Game Event
                  GeoHex for World
How to use GeoHex?
 Creative Commons License


 GitHub


                             Perl
                             kokogiko
                             Ruby / GitHub
                             hal_sk
                             AS3
                             calcul_omikan

 http://github.com/geohex/
Thanks!
Contact




Demo URL


     http://geogames.net/hex/

More Related Content

Geohex at Off4g2009

  • 1. GeoHex @sa2da 2009.12.21 #off4g #geohex
  • 2. What’s GeoHex ? Map GeoHex on Map
  • 5. Why GeoHex? VS No GeoHex GeoHex
  • 6. Match for Game not cool So Coooooool!!!
  • 8. Save Privacy for sa2da sa2da pinpoint vague
  • 9. Equal in distance 1 : 1.41 1:1
  • 10. Flexible Size 132KpxU ameEA 032Lr Level:1 Level:60
  • 11. Easy to use distance function getDistance(_x1,_y1, _x2,_y2) { _x2 = _x2 * Math.PI / 180.0; _y2 = _y2 * Math.PI / 180.0; _x1 = _x1 * Math.PI / 180.0; _y1 = _y1 * Math.PI / 180.0; var dx=_x2-_x1; var dy=_y2-_y1; var A = 6378137; // (6378137m) A.x - B.x var x = A * (dx) * Math.cos( _y1 ); var y = A * (dy); var old_exp = exp; dy=Math.log(Math.tan(Math.PI/4+_y2/2))-Math.log(Math.tan(Math.PI/4+_y1/2)); var rad=((dy>=0) ? 1:-1)*Math.acos(dx/Math.sqrt(dx*dx+dy*dy))*180.0/Math.PI; var tmpdist = Math.round(Math.sqrt(x*x + y*y)); totaldist = totaldist + tmpdist; distcnt(); }
  • 12. Easy to use route with 6 direction 35.661960,139.697900 132KpxU 35.660093,139.701741 2 . . 3 . . 2 . . . . 20 × (n) byte 7 + (n) byte
  • 13. GeoHex for what? Communication Game Tracking Index GIS Search Statistics
  • 14. Coming soon... Real Game Event GeoHex for World
  • 15. How to use GeoHex? Creative Commons License GitHub Perl kokogiko Ruby / GitHub hal_sk AS3 calcul_omikan http://github.com/geohex/
  • 16. Thanks! Contact Demo URL http://geogames.net/hex/