Giter Site home page Giter Site logo

alfonsine's Introduction

Alfonsine Algorithm implementation

Needs Node.JS environment to run!

Available scripts:

  • run - runs console implementation
    NB! accepts command line argument - an escaped JSON string of input data (see ./schemas/input.schema.json)
  • build - generates website source code in ./build folder
  • dev-build - same as build, but in webpack development mode
  • test - run mocha tests for all algorithm scripts

Website is constantly available under this link.

Running the algorithm in console:

$ npm run run "{\"date_time\": -15679518137,\"diff_hours\": 0,\"diff_minutes\": 0,\"east\": true,\"accuracy\": 10,\"epoch\": \"CHRIST\",\"precession\": \"TREPIDATION\"}"
{
  "sun": {
    "astronomic": {
      "degrees": 340,
      "minutes": 41
    },
    "astrologic": {
      "degrees": 10,
      "minutes": 41
    },
    "sign": "PISCES",
    "latitude": {
      "degrees": 0,
      "minutes": 0
    }
  },
  "moon": {
    "astronomic": {
      "degrees": 246,
      "minutes": 19
    },
    "astrologic": {
      "degrees": 6,
      "minutes": 19
    },
    "sign": "SAGITTARIUS",
    "latitude": {
      "degrees": 1,
      "minutes": 0
    },
    "north": true
  },
  "mercury": {
    "astronomic": {
      "degrees": 0,
      "minutes": 4
    },
    "astrologic": {
      "degrees": 0,
      "minutes": 4
    },
    "sign": "ARIES",
    "latitude": {
      "degrees": 2,
      "minutes": 43
    },
    "north": true
  },
  "venus": {
    "astronomic": {
      "degrees": 8,
      "minutes": 3
    },
    "astrologic": {
      "degrees": 8,
      "minutes": 3
    },
    "sign": "ARIES",
    "latitude": {
      "degrees": 0,
      "minutes": 55
    },
    "north": false
  },
  "mars": {
    "astronomic": {
      "degrees": 322,
      "minutes": 44
    },
    "astrologic": {
      "degrees": 22,
      "minutes": 44
    },
    "sign": "AQUARIUS",
    "latitude": {
      "degrees": 0,
      "minutes": 13
    },
    "north": false
  },
  "jupiter": {
    "astronomic": {
      "degrees": 243,
      "minutes": 23
    },
    "astrologic": {
      "degrees": 3,
      "minutes": 23
    },
    "sign": "SAGITTARIUS",
    "latitude": {
      "degrees": 1,
      "minutes": 15
    },
    "north": true
  },
  "saturn": {
    "astronomic": {
      "degrees": 80,
      "minutes": 11
    },
    "astrologic": {
      "degrees": 20,
      "minutes": 11
    },
    "sign": "GEMINI",
    "latitude": {
      "degrees": 1,
      "minutes": 9
    },
    "north": false
  }
}

Further research link:
Office Scripts (for office 365 only), in .TS

alfonsine's People

Contributors

pseusys avatar

Watchers

 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.