Jump to content

Pirate Maps!


Pete
 Share

Recommended Posts

I wasn't actually looking for this at all, but it just shows how far you can go with Google Maps and a chunk of custom code! :)

http://www.splitbrain.org/blog/2009-02/01-a_pirate_map_with_libgd_and_google_maps


Here is how it works:


  1. fetch a map image from the Google Static Maps API for given coordinates
  2. convert the map colors to sepia
  3. place an X on the center
  4. put the compass on top
  5. add a paper texture
  6. do an address lookup on the coordinates and if found write it next to the X
  7. write a custom text at the bottom
  8. fetch an image from a given URL
  9. optionally grayscale it
  10. apply some grain texture to the photo
  11. rotate the photo and place it on the map
  12. apply a mask to cut out the map border
  13. cache the map image for later reuse

Very cool!

  • Like 2
Link to comment
Share on other sites

Well I lost the parrot sometime around when I was last being a pirate:

post-1-0-57142100-1371380365_thumb.jpg

But I found him again when I went to a fancy dress party as French Polynesia (the theme was countries):

post-1-0-25901000-1371380401_thumb.jpg

What? How is that French Polynesia? French (beret) polly (parrot) knees (I'm showing mine) ear (Spock ear). French-poly-knees-ear.

No, nobody guessed it on the day :D

  • Like 6
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...