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.
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.
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).
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.