www.byjp.me/content/posts/tumblr-musings/where-on-the-web/index.md
JP Hastings-Spital dd38d6b9fa More tumblr posts
Also updated accurate timestamps of tumblr posts
2023-05-23 08:21:26 +01:00

42 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: Where on the Web
date: 2009-04-21T02:55:00+01:00
draft: false
emoji: 🌍
tags:
- code
- geo
- gist
- github
- map
- processing
- ruby
- whereontheweb
- from-tumblr
---
![A terrain map of the earth over the Atlantic, showing red dots moving between the UK and other places on earth](./where-on-the-web.jpg)
Where On The Web is aliiiiive!
I built it, and it appears to work averagely well. You can see the code in [the gist on github](https://gist.github.com/jphastings/98878) and soon there will be a mini-video online showing you how it all works. In the meanwhile, just enjoy the pretty colours :D
Ive uploaded a snapshot[^1] of the whole window for you to ogle at too.
If you want to play with the code, get ruby installed and then just do:
```sh
gem install ruby-processing
```
or follow [the advice here](https://github.com/jashkenas/ruby-processing/wiki/getting-started).
Then download the code from [the gist](https://gist.github.com/98878), find an equirectangular map of the earth, call it `map.jpg` and then run:
```sh
rp5 run whereOnTheWeb.rb
```
(There are more details in the gist) - Enjoy!
[^1]: Import note: Sadly this image has been lost.