• Stars
    star
    190
  • Rank 203,739 (Top 5 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 8 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A free and open-source JavaScript library for generating SVG charts to display planets in astrology.

Project moved to AstroDraw/AstroChart

AstroChart

A free and open-source JavaScript library for generating SVG charts to display planets in astrology. It does not calculate any positions of the planets in Universe.

Version: 2.0.1

  • Pure Javascript implementation without dependencies.
  • SVG graphics.
  • Tested code.

Example

How to use

<script src="js/astrochart.min.js"></script>
<script>
	window.onload = function(){	
		var chart = new astrology.Chart( 'paper', 800, 800);
		chart.radix( data );					
	};			
</script>

Known points

Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto, Chiron, Lilith, NNode.

Data example

{
	"planets":{"Moon":[0], "Sun":[30], "Mercury":[60], ... },
	"cusps":[300, 340, 30, 60, 75, 90, 116, 172, 210, 236, 250, 274]	
}

For detailed data description see AstroWebService.

Chart settings

Look into the settings.js

var settings = {SYMBOL_SCALE:2};
var chart = new astrology.Chart( 'paper', 800, 800, settings);

It might interest you

More Repositories

1

TiledMapBuilder

A Tiled map (http://mapeditor.org) importer for Crafty.js ( http://craftyjs.com)
JavaScript
78
star
2

numbers2words

JavaScript numbers to words converter
JavaScript
57
star
3

AstroAPI

Simple API allowing consumers to get planets and cusps positions.
Java
39
star
4

AstroWebService

The AstroWebService is a simple webservice allowing consumers to get planets and cusps positions. The AstroAPI uses Swiss Ephemeris.
Java
29
star
5

CraftyDialogues

The Crafty component adds an entity a ability to carry conversation. As data source it uses JSON file. For building data structure you can use prepared Dialogues builder (http://kibo.github.com/dialoguesBuilder/).
JavaScript
18
star
6

dialoguesBuilder

GUI tool for creating dialogues for video games.
JavaScript
12
star
7

melonjs-cookbook

A sample code for MelonJS engine
JavaScript
10
star
8

html5_video_converter

Bash script for converting video to HTML5 formats with FFmpeg.
Shell
9
star
9

aws-chime-webclient

AWS Chime webclient using Vue.js.
Vue
9
star
10

Music-HTML5-game

HTML5 game
JavaScript
5
star
11

simpleGame

A very basic JS game library loosely based on Python gameEngine and Scratch
JavaScript
5
star
12

pingpongHTML5

example pingpong game in HTML5
JavaScript
4
star
13

AstrologyChart2

A JavaScript library with clean API and zero dependencies for generating astrology charts.
JavaScript
4
star
14

Untangle-game-HTML5

example of HTML5 games
JavaScript
3
star
15

eshopJS

A free and open-source Javascript e-shop that easily integrates with your current websites.
JavaScript
3
star
16

google_apps_scripts

Google apps scripts
Gosu
3
star
17

Nostradamus

Library for astrological and numerological calculations.
Groovy
2
star
18

SnakeHTML5

HTML5 game: Snake
2
star
19

cardGameHTML5

html5 game - memory cards
2
star
20

html5GameCookbook

HTML5 game cookbook
JavaScript
2
star
21

AnimationLoopHTML5

RequestAnimationFrame
2
star
22

pdf-viewer-vue3

JavaScript
2
star
23

drilujeme2

HTML5 app for practicing vocabulary
JavaScript
2
star
24

irregularVerbs

Mobile webapp for learning English irregular verbs.
JavaScript
2
star
25

wordbook

Gaelyk app for teaching English (cs only)
JavaScript
2
star
26

cash_on_delivery

Web service for filling out the postal order form for cash on delivery (Poštovní dobírková poukázka A).
JavaScript
1
star
27

HTML5AdventureGamePrototype

HTML5 Adventure/ Conversation game prototype
JavaScript
1
star
28

filemanager-js

The JavaScript filemanager for CKEditor, Quill, TinyMCE.
TypeScript
1
star