Comments (5)
Hi
there are some symbols in:
https://github.com/Kibo/AstroChart/tree/master/assets
I used Inscape for edit.
See for example:
https://github.com/Kibo/AstroChart/blob/master/project/src/svg.js#L293
You have to center the symbol. You can use calibration fot it:
https://github.com/Kibo/AstroChart/tree/master/project/examples/debug
Regards
from astrochart.
Hi
Thanks for the reply. Those are good examples. Can you just please tell me, in Inkspace, if you were to create another symbol, in pixels let's say, would you use as origin (0,0) and what would be the width and height of the object - in pixels (or mm..)?
I've created a sample symbol, but it's either too big or goes out of the place.
My problem is actually there in Inkspace.
Sorry for the trouble.
Kind regards
from astrochart.
Hi
there is XML editor in Inkscape. You can see and edit SVG markup in it.
The size of symbol you need estimate according to other symbol.
Sometimes there is scale wraper (or atribute) in SVG markup in Inkscape. You have to remove it, to see the real size of symbol.
Regards
from astrochart.
The origin of symbol set as you need in Inkscape. Then you align in code:
For example
https://github.com/Kibo/AstroChart/blob/master/project/src/svg.js#L416
// center symbol
var xShift = -5; //px
var yShift = -7; //px
from astrochart.
Hi Kibo
Thanks for the help :) Take care.
Kind regards
Ptolemy
from astrochart.
Related Issues (20)
- Libra symbol is confused with North Node symbol HOT 5
- Synastry Chart Support HOT 1
- Multiple charts on a single page HOT 4
- What does mean points of interest? HOT 1
- Wrong order on planets position HOT 10
- License HOT 2
- Remove the transit cusps/houses HOT 1
- Missing ids for sign and houses
- Add topic Hacktoberfest to repo
- Provide better click-area for signs HOT 3
- Why houses are path and not text? HOT 1
- Can't change the background color of signs. HOT 1
- I don't understand ? HOT 2
- Allow transit chart to not show cusps HOT 1
- Fix custom symbol sign settings
- Design update method
- Libra sign HOT 5
- Vertex HOT 1
- Data description HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from astrochart.