449 Commits

Author SHA1 Message Date
jkunimune
43f374e649 After 4 Long Months
So, in studying the original Winkel Tripel equations again yesterday, I
stumbled upon a scientific paper containing the Newton's Method inverse
map-projection solution equations, as well as the partial derivatives of
all the Winkel Tripel projections. After reading it over, incorporating
some of their simplified equations into my code, and then noticing
several glaring problems with my own solution (namely my trash initial
conditions), I finally solved for the inverse of the Winkel Tripel
projection! Feel free to raster it up!
2017-03-18 12:19:53 -04:00
jkunimune
7313d340f8 Spiffy
I spiffed it up a bit.
2017-03-17 20:23:43 -04:00
jkunimune
8bd95137e0 Automatic updates
Because vectorized stuff is so much faster, I eliminated the "Update
Map" button.
2017-03-17 20:10:27 -04:00
jkunimune
3fbec08e92 Complex Numbers? Simple.
I got the complex projections to work.
2017-03-17 19:16:29 -04:00
jkunimune
f861660ebb Nevermind; I just did it myself
The JavaFX thing wouldn't really have worked for me given that I needed
to transform the image, not just display it. I'm still salty I didn't
find out about that sooner. Anyway, I got it all to work besides the
complex number ones. I'll figure those out in a bit. I also haven't
tested saving yet, but I'm sure it will work perfectly on the first try.
2017-03-17 17:50:42 -04:00
jkunimune
a9c84a7881 This code does not work
But I wanted to commit it because I spent a bunch of time on this SVG
parser that apparently already exists in JavaFX.
2017-03-17 17:50:42 -04:00
Justin Kunimune
bb5a192509 Update README.md 2017-01-12 21:04:24 -10:00
Justin Kunimune
71c6e8ac27 Update README.md 2017-01-12 21:02:51 -10:00
jkunimune
6c8f416c51 No Longer Threadbare
I added more Threads for some of the more time-intensive processes. I
also tweaked the GUI a bit and modified a bit of math.
2016-11-27 17:10:38 -05:00
jkunimune
2e479dfbd6 Making Progress
I added a progress bar so you can see just how slow my program is. I
also added jpg image saving, since that apparently works now, renamed
the .jar, and fixed some bugs with image sizes. And look! It actually
looks like an application now!
2016-11-26 15:05:56 -05:00
jkunimune
6569d05ea2 Tweaked the GUI
That. I was going to do progress bar stuff, too, but I'd rather just
play Civ VI.
2016-11-25 22:25:59 -05:00
jkunimune
9d3b318671 Bigger and Better
You can control the size of the map when you save it as an image now.
Yay. It's got it's own little dialog and everything.
2016-11-25 22:09:34 -05:00
jkunimune
ebce52b95d Close enough
I've decided to give up on replicating the AuthaGraph projection. I'm
pretty close to the actual projection, and while mine is not
authagraphic, I think it's more authagraphic than the actual AuthaGraph
projection. Of course, I can't really tell, because I can't find an
AuthaGraph map with Tissot's indicatrices on it.
2016-11-25 14:04:07 -05:00
jkunimune
00c916be24 I made a better map projection!
In attempting to solve for the AuthaGraph projection, I made something
that is, in my personal opinion, better: a compromise tetrahedral
projection! It's not authagraphic (though, technically, neither is
AuthaGraph), but it distorts shape far less than AuthaGraph does. I'll
still try to solve AuthaGraph, maybe even modify it to make it, you
know, authagraphic, but I really like this map projection I came up
with.
2016-11-23 17:26:15 -05:00
jkunimune
2872c49c08 It works!
The AuthaGraph projection is a go! Sure, it doesn't preserve area, and
it looks like garbage, but it looks decent! We'll get there. Probably
tomorrow.
2016-11-22 16:14:46 -05:00
jkunimune
59ee92ce45 I fixed it this time, I swear
Turns out some of those garbage IDL-zero conventions were lurking in my
code. Typical. Cut off one head of the evil conventions hiding in my
code, and two more grow in it's place. Well, I'm almost certain my
conventions are correct now, and am ready to tackle AuthaGraph again.
2016-11-22 13:46:55 -05:00
jkunimune
b095d00ee6 Reinforced the North-Up Convention
So, it turns out that one of the reasons I was having such trouble with
AuthaGraph was that I had a sign convention where south was positive and
the international date line was zero. So, I fixed that, because that was
awful. It should be easier for me to figure out polyhedric projections
now. Mind you, AuthaGraph doesn't work at all right now. It's just not
even close right now. Don't worry - I'll work on that.
2016-11-21 15:39:18 -05:00
Justin Kunimune
8ea1d446d3 Added stuff 2016-11-14 19:55:20 -05:00
jkunimune
cc1ab0b27b Bug fixes
Yep. I'm too lazy to write a more descriptive message.
2016-10-11 19:49:23 -04:00
jkunimune
5858de3dcd I made it worse
I tried to make MapProjections faster, but it didn't work. The GUI looks
nicer now, but a bunch of functionality is gone.

I also did something with wormhole, apparently.
2016-10-09 00:18:41 -04:00
Justin Kunimune
a836274307 Updated Executable .jar
not much to describe...
2016-07-06 20:33:53 -10:00
Justin Kunimune
e4d3701bf6 I made a big map
It took a really long time to load, and it tells me that my Winkel
Tripel equations are actually wrong. Yay.
2016-05-25 19:28:24 -10:00
Justin Kunimune
66208940c7 Winkel Tripel... Kind of
I fixed Winkel Tripel, sort of. I corrected a bit of math and tweaked
some numbers, and it now spits out something that resembles WT with
strange artifacts that seems to get worse as I turn up the precision.
2016-05-24 15:38:56 -10:00
Justin Kunimune
b225413805 Fixing all the Typos
"Orthogonal" is an understandable mistake. I don't know where I got
"Gnomic" from.
2016-05-12 09:26:53 -10:00
Justin Kunimune
3419d70a7c Through the Wormhole
I added a new program that simply takes a couple of input panoramas and
animates what it would look like to go through a wormhole (abstracted to
a four-dimensional cylinder).
2016-05-12 09:26:53 -10:00
Justin Kunimune
c29aed1fe2 Update README.md 2016-03-30 14:45:01 -04:00
Galactic Ketchup
c6153f48c9 New Projection, New Axis
I implemented a new axis, Hammer, an equal-area projection similar to
hammer. I also threw in a random axis option, which randomly selects a
point on the Earth's surface to be the axis of the projection.
2016-02-12 16:57:08 -05:00
Galactic Ketchup
15618c4013 I made a map projection!
I invented a new map projection! I have given it the working title
"Rectus Aequilibrium," because it is square, it is a compromise
projection, Latin is cool, and I promised myself a long time ago that if
I ever made a map projection, I would not name it after myself. Feel
free to try it, but I think I will be trying a different algorithm,
since I think this one distorts shape too much to justify the small
amount of size distortion it reduces.
In other news, I implemented a Van der Grinten projection and spruced up
my naming conventions a bit.
2016-02-07 20:10:03 -05:00
Galactic Ketchup
bd812bf104 Yet More Maps
I created a bunch of new maps! I added the Mollweide projection to the
program, and a Winkel Tripel button that does not yet work. I have
Winkel working in the vectorized version, but I am still working on the
math in the main program. Also, check out the "Shifted" axis preset (now
my favorite projection when combined with "Shifted Quincuncial), as well
as the "Circles", "Stars", and "Political" themes.
2016-02-04 22:02:23 -05:00
Galactic Ketchup
fbda178399 New Jar
I forgot to update the .jar file last time. Also, there is a new input
image called Satellite. It is huge.
2016-01-29 16:04:52 -05:00
Galactic Ketchup
8f82807a35 Bug Fixes and Optimization
I fixed a minor bug that was creating dotted lines across certain maps,
I added a new input map, and I made it so that you can exit the program
through the GUI.
2016-01-28 18:31:08 -05:00
Galactic Ketchup
52eec42b95 Executable
I made an executable jar file. Please note, the jar must remain in the
repository folder in order to access the input images. Also, I am not
yet sure if it works on Mac.
2016-01-26 16:44:03 -05:00
Galactic Ketchup
121c5d8fb2 Gooey
I added a GUI, and it's super cool! I just need to figure out how to
make it an EXE now.
2016-01-24 23:00:13 -05:00
Galactic Ketchup
6c6d446dcf Vectors!
I got it to work just enough for me to use it! Pierce Quincuncial
doesn't work; the series doesn't actually converge for the southern
hemisphere. Shifted Quincuncial works perfectly, though! The shifted
quincuncial with the "longest line" preset is currently my favorite map
of all time.
2016-01-20 22:43:07 -05:00
Galactic Ketchup
f0326f9170 It Sorta Kinda Works
I was able to produce some kind of vectorized map by using series to
stand in for arccn, but I'm pretty sure it's not Pierce Quincuncial.
There's some mathematical notation I don't understand, which I'm
currently working on.
2015-12-28 08:16:38 -10:00
Galactic Ketchup
39dc4cbd9e Mata Yatta
I have oblique angles working in vector form. This has enabled me to try
out different maps and realize that my angles are all slightly off. It
has to do with the SVG I used. I will now begin trying to rectify the
input svg I used. Also, I found out that when landmasses get cut in half
by map borders, it screws everything up, so I have to avoid that.
2015-12-20 12:50:53 -05:00
Galactic Ketchup
c335f22171 Vectorization
I made a secondary class, very similar to the first, except that it uses
SVGs rather than JPEGs. This actually means I must change a great deal
of the maths, but for now I at least have equirectangular and polar
(mostly) functional. Enjoy.
2015-12-19 19:49:27 -05:00
Galactic Ketchup
b9e6128271 And Another Projection
I made a variant of Quincuncial, which just shifts it over to make the
northern and southern hemisphere both appear as squares. The resulting
projection is rectangular, and works very well with the Longest Line
axis preset. I also made a few more output maps.
2015-12-15 11:19:41 -05:00
Galactic Ketchup
5ae669c8db Touch Ups
I made the thing open myMap.jpg whenever it runs so the user doesn't
have to navigate to it, I altered a preset, I erased all words from
political.jpg, and I made another little map that I might make into a
Civ V map if I ever feel like it.
2015-12-06 12:29:57 -05:00
Galactic Ketchup
e52bcdd465 I Deleted a Squiggly Java File
People were complaining.
2015-11-27 17:21:37 -05:00
Galactic Ketchup
8d0543cb4a Create README.md 2015-11-27 16:10:23 -05:00
Galactic Ketchup
b876c427aa All The Map Projections
I made a whole bunch of new map projections, and also added a few new
map styles, and some more axis presets. I also put a few of my favourite
maps in the output folder.
2015-11-27 14:52:58 -05:00
Galactic Ketchup
fbcd589991 Yatta!
I did it! The program is totally complete, with oblique angles and
everything! So much trigonometry went into this.
2015-11-26 00:52:38 -05:00
Galactic Ketchup
13928b2deb Over Eight to Choose From
I added more base maps for the program to read, including various maps
of earth, a map of space, and a map of mars.
2015-11-24 14:31:12 -05:00
Galactic Ketchup
fe8a778365 Complexity is Key
I got it to work perfectly! The output is a beautiful Peirce Quincuncial
projection. My main problem before was that this projection requires a
complex function called cn(u,k), and every single definition on the
internet was exceedingly vague. Luckily, I found a package online that
could calculate cn for me, which meant that I didn't need to do any
crazy integration or calculus whatsoever.
2015-11-24 13:39:56 -05:00
Galactic Ketchup
c4d6a85f21 Ehh...
I wrote out the complex math for Peirce-Quincuncial, as well as for
Polar, and I got a map; it just doesn't look correct. I don't know what
I did, but it's weird. I think there's a casting issue somewhere.
2015-11-23 22:37:15 -05:00
Galactic Ketchup
b351ab76fd Functionality!
Equirectangular and Mercator maps are now fully functional, as is the
user interface. Stay tuned for Peirce-Quincuncial.
2015-11-23 13:56:19 -05:00
Galactic Ketchup
b70bc1ed90 Just Getting Started
This is my initial commit; I have all the necessary files, and the code
technically works. Right now, the output maps are just black, but soon
they will be actual world maps.
2015-11-23 12:58:38 -05:00
Galactic Ketchup
b55a332c5e :octocat: Added .gitattributes & .gitignore files 2015-11-23 11:55:53 -05:00