All Projects → slissner → HoroscopeDrawer

slissner / HoroscopeDrawer

Licence: MIT license
JavaScript-Library to draw celestial charts in SVG-Format.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to HoroscopeDrawer

horoscope
Open source horoscope generation engine
Stars: ✭ 18 (-64.71%)
Mutual labels:  astrology, horoscope
durdraw
Animated Unicode, ANSI and ASCII Art Editor for Linux/Unix/macOS
Stars: ✭ 55 (+7.84%)
Mutual labels:  drawing
Playground
A playground for android developers
Stars: ✭ 41 (-19.61%)
Mutual labels:  drawing
DreamBig
☁🌝☁ 3D emoji drawing iPad app with ARKit and the Apple Pencil ☁🌝☁
Stars: ✭ 24 (-52.94%)
Mutual labels:  drawing
astrale
React Native mobile application. Find out what the future holds for you in this astrology app, available for Android. Powered with Python, MongoDB and PHP.
Stars: ✭ 100 (+96.08%)
Mutual labels:  astrology
grafx2
Mirror of GrafX2. Official repo is on gitlab.
Stars: ✭ 108 (+111.76%)
Mutual labels:  drawing
libs-opal
Opal is a vector drawing library with an API similar to Quartz 2D built on top of Cairo.
Stars: ✭ 17 (-66.67%)
Mutual labels:  drawing
mapus
A map tool with real-time collaboration 🗺️
Stars: ✭ 2,687 (+5168.63%)
Mutual labels:  drawing
sdfx
C# bindings for https://github.com/andlabs/libui targeting .NET Standard.
Stars: ✭ 31 (-39.22%)
Mutual labels:  drawing
Drawing
Drawing and fill color
Stars: ✭ 37 (-27.45%)
Mutual labels:  drawing
ludigraphix.github.io
Documentation for Ludigraphix
Stars: ✭ 21 (-58.82%)
Mutual labels:  drawing
glText
Cross-platform single header text rendering library for OpenGL
Stars: ✭ 93 (+82.35%)
Mutual labels:  drawing
DrawBot
Repository for DrawBot. The Discord Art bot!
Stars: ✭ 11 (-78.43%)
Mutual labels:  drawing
Line-us-Programming
Some very simple examples to get you started with the Line-us API
Stars: ✭ 98 (+92.16%)
Mutual labels:  drawing
SwiftUI-Shapes
Commonly Used Shapes and Utilities In SwiftUI
Stars: ✭ 52 (+1.96%)
Mutual labels:  drawing
lime
A library for drawing graphics on the console screen
Stars: ✭ 32 (-37.25%)
Mutual labels:  drawing
visioStencils
My 2,700 visio 🎨 shapes, stencils, symbols, and icons collection to visually represent IT infrastructure
Stars: ✭ 43 (-15.69%)
Mutual labels:  drawing
huion-linux-drivers
Linux user-space drivers for Huion Graphic Tablets
Stars: ✭ 154 (+201.96%)
Mutual labels:  drawing
ocaml-cairo
Binding to Cairo, a 2D Vector Graphics Library.
Stars: ✭ 39 (-23.53%)
Mutual labels:  drawing
pixelino
Pixel-drawing app for iOS ✍️
Stars: ✭ 45 (-11.76%)
Mutual labels:  drawing

This repository is not actively maintained.

Horoscope Drawer

HoroscopeDrawer.js lets you draw zodiac charts in SVG-Format.

Horoscope Chart

Getting Started (Example)

Draw a randomized horoscope:

const h = new zastro.Horoscope();
const drawn = h.draw("#horoscope");
console.log("Hurray! You have drawn your horoscope.", drawn);

Draw a horoscope with parameters:

const properties = {
  zodiac: {
    ascendant: {
      sign: 3,      // Sets ascendant by sign. See src/zodiac.js.
      degree: 15    // Sets degree offset for ascendant sign.
    }
  },
  planets: {        // Sets degree of planets.
    sun: 65,
    mercury: 12,
    venus: 151.31,
    mars: 231,
    moon: 188,
    jupiter: 311,
    saturn: 100,
    uranus: 199,
    neptune: 278,
    pluto: 31
  },
  houses: {
    hasHouses: true,
    axes: {
      axis2to8: 27,   // Sets degree of axis.
      axis3to9: 56,
      axis4to10: 81,
      axis5to11: 114,
      axis6to12: 156
    }
  }
};
const h = new zastro.Horoscope(properties);
const drawn = h.draw("#horoscope");
console.log("Hurray! You have drawn your horoscope.", drawn);

Target selector shall be a svg-container in parent-html file:

<svg id="horoscope"></svg>

You can customize horoscope styles like in /example/horoscope.css.

Build

Build the example page with:

gulp example-build

note: You may need to manually create an empty /dist folder before running the build command.

Outputs the source code files in the /example folder.

Library

Build the library files with:

gulp build

Output will be placed in /dist folder.

Features

  • Zodiac
  • Planets
  • Houses

Planned

  • Aspects (1.1.0)
  • Transits (1.2.0)

Built with

  • Browserify
  • Gulp
  • SnapSVG

License

MIT, (c) Samuel Lissner, 2017

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].