This standardises all my markdown files to have no leading newline after the `---` that ends the frontmatter. This makes display on Gemini (in which newlines matter) much more consistent! I can't spot any errors with the regex I used here, but there may be one or two articles that change shape — hopefully I can spot them and fix them!
1.2 KiB
title | date | draft | emoji | tags | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Where on the Web | 2009-04-21T02:55:00+01:00 | false | 🌍 |
|
{{< 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 and soon there will be a mini-video online showing you how it all works. In the meanwhile, just enjoy the pretty colours :D
I’ve uploaded a snapshot1 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:
gem install ruby-processing
or follow the advice here.
Then download the code from the gist, find an equirectangular map of the earth, call it map.jpg
and then run:
rp5 run whereOnTheWeb.rb
(There are more details in the gist) - Enjoy!
-
Import note: Sadly this image has been lost. ↩︎