Skip to content

lDeNl/astro

Repository files navigation

Astro Processor

Astroprocessor on PHP library for calculations in Vedic astrology

Architecture

/public/vendor/devhasta - ядро (PHP):

/public/vendor/devhasta/jyotish - математические астро расчеты
jyotish/src/Base/Data.php - рачет необходимых параметров
jyotish/src/Base/Traits/EnvironmentTrait.php

/public/vendor/devhasta/jyotish-draw - Рендеринг фронта
jyotish-draw/src/Plot/Chakra/Renderer.php - Расчеты для отрисовки
jyotish-draw/src/Renderer/Svg.php - Расчеты для отрисовки всех пармаметров на фронте
Итоговая отрисовка
astro/public/data/math.php - Отрисовка таблицы со знаками зодиака
astro/public/data/draw.php - Итоговая отрисовка натальной карты
Для конечного рендеринга используется jQuery
/public/assets/js/app.js

/public/vendor/devhasta/swetest - Исполняемый бинарник с помощью которого получаем данные из Swiss Ephemeris о положении планет в определенное время: /../swetest/sweph/swetest
/jyotish/src/Ganita/Method/Sweetest.php - получение данных от бинарника Swiss Ephemeris

System Requirements

library requires PHP 7.4 or later

Swiss Ephemeris

The Swiss Ephemeris is the high precision ephemeris developed by Astrodienst, largely based upon the DExxx ephemerides from NASA's JPL. The original release in 1997 was based on the DE405/406 ephemeris. Since release 2.00 in February 2014, it is based on the DE431 ephemeris released by JPL in September 2013. The source can also be retrieved here. They have two license options - one, the GPL, which only means that any code you write must also be GPL. And second, their license, which is paid.

License

The files in this library are released under the GNU General Public License version 2 or later. Source code.

Jyotish Draw North(Front-end)

jyotish-draw-north

About

Astroprocessor (php)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published