Jason (jcreed) wrote,
Jason
jcreed

Here's a nice easy way to get natural-looking coastline shapes:

It's just alternating two steps:
(1) set the value of each pixel to the median value of a short random walk from the current point
(2) zoom in a little

Plus a little fine-tuning that adds some random black pixels if the center of the image has too many white pixels, and vice-versa, so the image stays "interesting" as it continues to zoom in.
Tags: javascript, maps
Subscribe

  • (no subject)

    noms is a project apparently influenced by camlistore and git. Has a bunch of juicy buzzwords attached to it (Content-addressable, monotonic,…

  • (no subject)

    Great list of computer books from days of yore, with pictures: http://tedfelix.com/books/ I remember "BASIC Fun: Computer Games, Puzzles, and…

  • (no subject)

    One of two large (~$X00) purchases arrived today: a new desktop, since my five-year-old one is starting to show signs of dying. I already pulled all…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments