Graphics in Python
-
- Sidereal Field Agent
- Posts: 943
- Joined: Thu Jul 20, 2017 2:13 pm
Graphics in Python
I made a new discovery tonight. Python implements turtle graphics (with the correct libraries installed on the development machine--no effect on users). I need to learn some more details but I already have learned how to draw circles, draw lines at any angle, draw various geometric shapes, and above all, print text at any angle. So I will be able to draw a proper chart wheel on screen! (I can also continue to generate text files with all the data now present--it's not an either/or choice.) I have a lot of design work to do, and details to learn, but I am quite certain I can do it. I should even be able to draw glyphs if I need to, but it might be easier to install an astrology font to the user machine. I'm not envisioning this for the next release, but it should be available by version 1.0. I will prioritize adding functionality (returns, etc.), but I'm going to do this.
Time matters
- Jim Eshelman
- Are You Sirius?
- Posts: 19078
- Joined: Sun May 07, 2017 12:40 pm
Re: Graphics in Python
Very neat
Also, remember, every Windows installation has Wingdings, which has some of the best zodiacal ensigns I've ever seen digitally. Wingding 2, which has been around at least since Win 7, has Sun and Moon, but with undesirable horizontal spacing.
Also, remember, every Windows installation has Wingdings, which has some of the best zodiacal ensigns I've ever seen digitally. Wingding 2, which has been around at least since Win 7, has Sun and Moon, but with undesirable horizontal spacing.
Jim Eshelman
www.jeshelman.com
www.jeshelman.com
-
- Sidereal Field Agent
- Posts: 943
- Joined: Thu Jul 20, 2017 2:13 pm
Re: Graphics in Python
I will definitely work on functionality first -- graphics will take a fair amount of research for the details, but I'm sure I can do it. Python has the facility to create pdf files as well, so I could actually store proper chart files, if I can learn how to rotate text in pdf's.
Time matters
-
- Sidereal Field Agent
- Posts: 943
- Joined: Thu Jul 20, 2017 2:13 pm
Re: Graphics in Python
I have decided not to pursue this at least until version 1.0 is stable at the earliest, and may not do it at all.
Time matters
- Jim Eshelman
- Are You Sirius?
- Posts: 19078
- Joined: Sun May 07, 2017 12:40 pm
Re: Graphics in Python
I figured you weren't doing it until 0.9 or so
Jim Eshelman
www.jeshelman.com
www.jeshelman.com
- Jim Eshelman
- Are You Sirius?
- Posts: 19078
- Joined: Sun May 07, 2017 12:40 pm
Re: Graphics in Python
What I find amazing reviewing these old threads is just how much ground has been covered, how many inquiries and evolutions of idea we've gone through from a simpler beginning to the complex tool TMSA is today.
Astro For-ehhhverrrrrrrrr!
Astro For-ehhhverrrrrrrrr!
Jim Eshelman
www.jeshelman.com
www.jeshelman.com
-
- Sidereal Field Agent
- Posts: 943
- Joined: Thu Jul 20, 2017 2:13 pm
Re: Graphics in Python
Feel equally free to retain any threads you wish for historical interest.
Time matters
Re: Graphics in Python
Turtle graphics has a soft spot in my heart =) I cut my teeth on programming with Logo on an Apple 2e. It was really cool to make recursive geometric patterns, like a digital spirograph. I've seen implementations as web apps nowadays. There's even an Apple 2 emulator in javascript, which is kind of mind-blowing.
To make this post not completely off-topic, SVG is IMO the way to go since it is a widely adopted standard and can convert to any format like PDF or PNG. There are also Unicode fonts that can do all kinds of crazy symbols. These fonts are only for personal use but kind of blew my mind... Sumero-Akkadian and Early Dynastic Cuneiform anyone? https://dn-works.com/ufas/
To make this post not completely off-topic, SVG is IMO the way to go since it is a widely adopted standard and can convert to any format like PDF or PNG. There are also Unicode fonts that can do all kinds of crazy symbols. These fonts are only for personal use but kind of blew my mind... Sumero-Akkadian and Early Dynastic Cuneiform anyone? https://dn-works.com/ufas/