www.byjp.me/content/posts/tumblr-musings/where-on-the-web/index.md
JP Hastings-Spital f5de48f10b Code blocks now have dark/light mode styling
Went with something fun I found online (ref in scss source) and adapted.
2024-10-30 09:30:19 +00:00

41 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
---
{{< figure src="where-on-the-web.jpg" alt="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 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:
```bash
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:
```bash
rp5 run whereOnTheWeb.rb
```
(There are more details in the gist) - Enjoy!
[^1]: Import note: Sadly this image has been lost.