Giter Club home page Giter Club logo

hexerei's Introduction

Hex and counter AI

hexerei - the art or power of bringing magical or preternatural power to bear or the act or practice of attempting to do so
  • make a blog visual test page that shows labeling and various tests
    

geojson.io - mapbox open source geojson editor geojson.xyz - sample files via natural earth geonmaes.org - collection of mostly points for many features geoman.io - alternative freemium geojson editor

Map spec

geojson => hex map

specials:

Geometry Line with id='origin' with hex side length = pointy radius, and direction 90deg right of 'up' orientation, or Point with properties 'scale' hex size in km, and orient=degrees default 0 default flat top, optional pointy=true.

Polygon (or multipolygon) geometry with id='boundary'

other features optional property map='tile|edge|vertex|none', default tile optional property label=str

coordinate systems:

[web mercator][webgm]for geojson e.g. for map background tiles or cities [webgm]: https://en.wikipedia.org/wiki/Web_Mercator_projection

cube/axial coordinates as native hex coords

user coords (string ids) like offset xxyy "0304" or alternative axial like "AA01" needs a cube2id and id2cube method

map geojson objects to hex tiles, edges and/or vertices via shapely

build and run like

npx tsc node --es-module-specifier-resolution=node dist/flowsnake.js

Simple hex and counter games

References

Uber's H3 https://h3geo.org/ use directed edge identifiers between two hexes to represent flow between them?

hexerei's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.