28 Commits

Author SHA1 Message Date
Justin Kunimune
cae7a8a64c I knew Keyes was good, but... wow.
I can't express in text how impressed I am by Gene Keyes. Perhaps that's
unnecessary. Perhaps it's just the interruption that's making it look so
good. But either way, wow! It's such a good projection. I didn't want to
pass judgement until I had gotten a complete MapAnalyzer color plot, in
case my eyes deceived me. The results are in, and this is a magnificent
map, second only to Lemons (I found out the real word for those is
"Gores", but I'm going to keep using "Lemons"). Cahill-Keyes is complete
and ready for production!
2018-01-10 19:22:18 -10:00
Justin Kunimune
fc20d5071a Some next-level stuff
I made a better approximation of Cahill-Keyes. It's getting there; be
patient.
2018-01-10 17:47:09 -10:00
Justin Kunimune
7d84f4a1a3 Seyek-Llihac
I started on the inverse of Cahill-Keyes. I just have the arrangement
done for now; I'll do the specific projection equations next.
2018-01-09 21:15:35 -10:00
Justin Kunimune
cfa31402a4 Meridians and parallels intertwined like wild vines
I added a graticule to raster maps! This took quite a while to complete, and it still has major issues. Namely, those annoying horizontal lines where it crosses from one side of the map to the other. I've contemplated several methods for dealing with that, and I'm starting to like an intelligent system that knows where the interruptions are and breaks lines that cross it. I don't have the details worked out. This also took a while, so I might take a break from that and finally get around to doing the inverse projection for Cahill-Keyes.
2018-01-09 17:02:49 -10:00
Justin Kunimune
8c9f2cbbac Get cut out of the picture
I added an option to remove the unnecessary stuff on the side of the map. It makes some pretty cool looking stuff. Not as good stuff, in my opinion, since it implies that the world has hard edges, but it works real well for the map analyser, where it prevents the distorted margins from distracting from the less distorted part that actually matters.
2018-01-04 21:03:42 -10:00
Justin Kunimune
da163a45bc All of the projections!
I added a nifty projection selection dialog so that the user now has
access to every projection I have programmed, while the combobox list is
now shorter. It was more difficult than I anticipated, but it works and
looks great!
2018-01-02 11:04:40 -10:00
Justin Kunimune
910ec37911 Ready for Release
I fixed up some things, changing Tetrahedral aspect preset to not slice
up Antarctica as much and Longest Line to have Australia at the top
again (I just like it better that way. I'm not sure why I ever did it
differently.). Then I rebuilt it. Fun fact: JDK 9 doesn't work. I had to
go back and find JDK 8 to make it actually compile.
I also revised my ReadMe to reflect a few changes and made some new
images. It's a wild time.
2017-11-26 11:46:43 -05:00
Justin Kunimune
66ae877df2 The secrets of the AuthaGraph uncovered!
I've successfully reverse-engineered the AuthaGraph! My version is not
perfect, but it's pretty darn close. Those fools at AuthaGraph Inc.
thought their secrets were safe from me. How wrong they were!
Also included is an authagraphic version of AuthaGraph and a
parametrised version.
2017-11-23 23:03:36 -05:00
Justin Kunimune
223342cd16 Notation matters
I changed all the descriptions to end with periods. I also fixed a minor bug with conic projections not properly degenerating to cylindricals and made the MapAnalyzer display nicer things (it really isn't that slow. Maybe my computer is just faster now.).
2017-11-21 17:39:29 -05:00
Justin Kunimune
cd99cd716c Better than Atlantis
I added a new aspect, roughly based on the "Atlantis Projection", which is an oblicque Mollweide projection, except that I recently discovered that that one is transverse, not completely oblique. What is it with this aversion the world has to oblique projections? Anyway, I came up with a slightly better one in a similar location.
2017-10-04 17:10:59 -04:00
Justin Kunimune
66b27d03ec Say something I'm breaking up on you
I made drawn lines break when they get too long again, and I fixed some
issues with Pierce Quincuncial and Guyou. Speaking of which, I removed
Guyou from my active projection list. It used to be my favourite
projection, but now that I've found Lee, it's just obsolete. Pierce
Quincuncial is a bit obsolete in light of that too, but at least that
one is somewhat known; I don't need it as well as Guyou.
I was also fooling around with Lee and found a way better aspect for
tetrahedral maps. I have no idea how I missed it before.
2017-08-26 11:00:45 -10:00
Justin Kunimune
40201f6f46 Parsing, for real this time
I implemented more advanced SVG parsing and manipulation. It's somewhat
slower now, I think because I changed the way it skips vertices to save
time, but it was necessary to enable slightly more advanced SVG reading
(which I have yet to test). All the projections work, though. I also
changed my coordinate system. I also broke the bit where it does not
draw long lines.
2017-08-25 21:06:56 -10:00
Justin Kunimune
3df41f52db Do you know who I am?!
I added the forward solution to the Lemons projection, which is
currently a bit wrong, but I'm going to replace it with a Cassini type
thing in a bit, anyway.
I also spiffed up the comments and changed how Antipode works slightly.
2017-08-20 11:48:37 -10:00
Justin Kunimune
43dada1252 A new perspective
I added the perspective projection, a generalized form of the
orthographic and stereographic projections. I also added those contour
lines to shape distortion in a correct way. It looks a little ugly on
simple projections, but really cool on the more abstract ones.
2017-08-19 16:43:02 -10:00
Justin Kunimune
ea02e8a2ef Code writing code
I made a program to automatically generate HTML snippets to fill the
projection page in my GH-Pages branch. It also automatically produces
nice pictures to go with it. I also threw in a nifty new transverse
feature, primarily for azimuthal maps. And I now represent properties
and types as enums. And I fixed a bug in 2 point equidistant. And fixed
some unicode issues.
2017-08-18 15:08:59 -10:00
Justin Kunimune
076dcc5bc9 Merge branch 'master' of https://github.com/jkunimune15/Map-Projections 2017-08-14 23:53:05 -04:00
Justin Kunimune
dcf5fa98c1 It was mostly crazy.
So, representing projcetions as classes was kind of a horrible idea and
also impossible. That's okay. I still implemented two of the things I
wanted to implement: storing projections as variables such that I can
distribute them among several (like, fifteen), and a formal system
 for a long time ive had to poop
 i think i should get that looked at
 hahahahahahaha just kidding i love being constapated
for processing parameters. Al6so, Wink7el Tripel is tot9ally broe5kn. i
9think it mig3ht be an 7issue with N5ewton Raph9son Appro1ximation. I'll
look i6nto that l8r.
2017-08-14 14:26:54 -04:00
jkunimune
5515a36c63 The Mecca Projection (jk not rely)
I changed somewhat how parameters and aspects are treated, particularly
for the retroazimuthal and two-point equidistant projections, which
shouldn't really have aspects. Instead they now have parameters for
those latitudes and longitudes they use, and the aspect selector
disappears when they are selected.
I also moved around a few listeners, cleaned up my code by removing all
explicit EventHandler declarations, and reimplemented the thing where
dragging the sliders in Vector mode instantly changes the map, since
that's apparently not throwing an error anymore.
And in case you were wondering (though I don't know who would read this
besides me), the title references the fact that the "Mecca Projection"
is technically the quasicylindrical retroazimuthal projection, not the
quasiazimuthal one, but my Hammer Retroazimuthal centers on Mecca by
default now, so it's more or less a Mecca projection.
2017-08-05 18:56:44 -04:00
jkunimune
e33abf2933 I'm Ant-Man!
I learned (sort of) how to use Ant and did a bunch of fun build stuff.
Now I have a script to update the .jar files for me and a bunch of real
executables, with installers and icons and everything! I also finally
just got rid of the wormhole thing; it's just completely different from
the rest of this repository and does not belong here. It's fine; I've
got it in the history.
2017-07-22 22:28:00 -04:00
jkunimune
aa5e8fe5ad It's the final conic! DODODO DOOOO DANANA NA NAAAAAAAA
I implemented the final stages of the conformal conic. It is now alway
centered and always fills the image. I also found and fixed a bug where
the user could change the parameters as the map was being calculated. As
predicted, the code for Lambert conic now looks just as ugly as ED Conic
and Albers, but that's okay, because I never have to touch them again.
Woo!
2017-07-22 14:30:22 -04:00
jkunimune
8c60d261aa Just call me the Master of Cone
I've got the equidistant conic and Albers down. Now all I have to do is
make Lambert's conformal conic lose its whitespace. I'm so close!
As with equidistant conic, the code for Albers looks completely hideous.
I figured I would just go ahead and continue the theme. There's a
non-negligible chance Lambert CC will soon become uglier, as well. Thank
goodness for Eclipse's ability to hide blocks of code.
2017-07-20 22:33:20 -04:00
jkunimune
f7877569d2 Threads are evil
I implemented some smarter threading so that error messages block the
main window and the map isn't calculated three times when you choose an
aspect. There was apparently also a critical problem that caused the
vector designer to crash one out of every however many thousand times,
which I fixed with a call to Platform.runLater.
Oh, and I did equidistant conic projections! That probably should have
been the title. I've got this super robust method of dealing with all
the different shapes it can have, which looks utterly hideous but works
amazingly.
In addition to that, I composed my "Map wishlist", which does not at all
describe what it is, but I like the word "wishlist" so whatever. I just
added all the maps I want to have eventually with TODO tags on them.
Once I have all of those, I will consider this part of the code done and
move on to refining all of my analysis tools and generating HTML.
2017-07-19 22:18:16 -04:00
Justin Kunimune
ab155f2c9e The Complete Set
I made inverse solutions for all my invented projections, and even threw
in a new one, "Tetrachamfer", which kind of sucks, but I felt like I
should include it for completeness's sake.  I found a bug in
MapConfigurationDialog and squashed it, as well. And I added a couple
new maps to the output folder. Oh, I never explained what the problem
with Tobler was! There was an issue with the way Z was being generated,
so last commit, I cleaned that up and may have made it slightly slower,
but I don't really care given how well it works now and how much faster
it still is than Lee (seriously, what is the deal with that?). Did I do
anything else? Not really. Next step: conic projections!
2017-07-15 16:51:38 -04:00
Justin Kunimune
8f9af45190 Everything is broken
I got the labels to move around when you resize the graph, and changed
up my distortion metrics slightly. I was, like, yeah. This is good. Now
I can optimize my Tobler projection. And then I found out that the map
optimizer was assigning Tobler size distortions of .4! I'm just so
confused. So that's completely broken. I suppose once I figure this out,
it might help to explain why Tetrapower is so bad.
2017-07-10 09:29:45 -04:00
jkunimune
a08d57d0d4 It's _still_ not precise enough!
I spent a buttload of time working on the Tobler projection. It is now
unbearably slow and still has an average distortion of, like .04. It's
okay, though. I've got a plan to fix both of those problems. It involves
ordinary differential equations and inheritance. Nyeh heh heh heh heh!
2017-07-08 19:12:15 -04:00
jkunimune
eaeaee9a5e Strength in unity
All map-based Applications have been changed to make use of
MapApplication. Yay. I also fixed equal-area cylindrical to be real. Now
if only Tobler and the conic maps were real.
2017-07-04 09:11:37 -04:00
jkunimune
9590f6e3a8 I don't care if it's the Survivor's bathrobe!
I added more inheritance. When I think of the word "inheritance", the
first thing that comes to mind is the above quote. It's from one of the
broadsheet articles in The Bands of Mourning. Actually, most of what I
did in this commit had to do with parametrization, not inheritance. Oh,
well. It's a good quote.
Maps can have parameters now. Woo. It's an opportunity that Equal-Area
Cylindrical (very simple), my made-up map projections (not that hard a
leap), and Winkel Tripel (surprisingly difficult) currently take
advantage of. I still need to make the conic projections be
parametrized, and Tobler once I can make it be real. I also still need
to make MapAnalyzer take advantage of this newfound inheritance.
2017-07-02 22:57:02 -04:00
jkunimune
e9e9721598 Whew!
That was... a lot. I decided to put some inheritance into the project,
and what a rabbit hole that turned out to be!
Huh. I think that may be the first time I've ever actually used an
"exclamatory statement". What a useless structure that is!
Anyway, both MapDesigners now inherit from the same abstract super
class. Eventually, I'll get MapAnalyzer to link to that, too. I also
changed a whole lot of other things, and started inserting parametric
map capacities. That should be a fun GUI thing to figure out. I also
changed a lot of other things that I can't remember off the top of my
head. I've just been dragging chunks of code around and swimming in
errors for the past week.
2017-07-01 20:55:46 -04:00