Giter VIP home page Giter VIP logo

natal-chart's Introduction

紫薇斗数命盘生成

  1. 建立表格

  2. 子 -- 亥 (地支)

  3. 根据阴历年份数字计算寅宫 -》① -》十天干排进 12 宫,放到地支前面

  4. 根据寅宫确定命宫和身宫

    • 命宫:寅宫顺时针到生月,然后逆时针到生的时辰
    • 身宫:寅宫顺时针到生月,然后顺时针到生的时辰
  5. 确定十二宫 -》 命宫顺时针依次:父母宫 -》福德-》田宅-》官禄 -》 朋友宫 -》 迁移 -》 疾厄 -》 财帛 -》 子女 -》 夫妻 -》兄弟

  6. 计算哪个局:例如金四局,根据命宫的天干地支计算

    • 天干:五个
    • 地支:三个(从确定的天干开始接下来的三个开始循环)
  7. 确定紫薇位置:日 / 几局 (整除) -> 从寅宫开始

    • 借偶数 -》 除出来的数 加上 借的数
    • 借奇数数 -》 除出来的数 减去 借的数
  8. 排星 -》 确定紫薇 ,逆时针依次,天机 -》空格 -》太阳 -》武曲 -》天同 -》 空两格 -》 廉贞

  9. 天府星 :紫薇斜对角(右上到左下)顺时针: 天府星 -》太阴 -》 贪狼 -》 巨门 -》天相 -》 天梁 -》 七杀 -》 空三格 -》 破军

  10. 填次星

natal-chart's People

Contributors

haibolian 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.