This commit is contained in:
Neale Pickett 2021-03-09 07:27:39 -07:00
commit 6408dc836d
6 changed files with 115 additions and 1 deletions

View File

@ -32,6 +32,7 @@
<nav class="left">
<ul>
<li><a href="{{ '/tartans/' | relative_url }}" title="AKA Plaids">Tartans</a></li>
<li><a href="{{ '/poems/' | relative_url }}" title="I won't quit my day job">Poems</a></li>
<li><a href="{{ '/papers/' | relative_url }}" title="Various writings">Papers</a></li>
<li><a href="{{ '/toys/' | relative_url }}" title="Dumb apps">Toys</a></li>
</ul>

View File

@ -14,4 +14,4 @@ I help figure out what they did.
I also teach people about programming and math.
You can find more about the teaching at
<https://dirtbags.github.io/>.
<https://dirtbags.net/>.

View File

@ -16,3 +16,4 @@ I guess I'd still have my day job.
* [The Poopy Song](poopy.html)
* [Sap](sap.html)
* [Snark Hair](snark.html)
* [🐘 🐢](🐘🐢.html), a rhyming poem in emoji

36
poems/🐘🐢.md Normal file
View File

@ -0,0 +1,36 @@
---
title: 🐘 🐢
---
🐘 🐢
🐘 🦊
🐘 🐢
🐘 🐂
🐘 🐢
🦄 🐁
🐘 🦄 🦄 🏠
🐘 🦄 🏀 🐸
🦄 🐘 🎷 🐕
🎷 🐕 🐢 🦄 🥚
🎻
🧸
🪛
🦵
----
It's a really difficult thing to search for,
but as far as I can tell,
this is the first ever rhyming emoji poem.
I would of course love to be proven wrong about this,
so if you find a prior example,
please let me know about it,
and I'll link to it or reference it here!
If this is indeed the first,
then [this follow-up post](https://forums.somethingawful.com/showthread.php?threadid=3960167#post512735911)
would be the first emoji limerick.

View File

@ -11,3 +11,4 @@ Maybe you'll just wonder why I spend so much time on this garbage.
* If you need to write someone a letter but really don't want to, try my
[social letter generator](letter.html)
* [Crunt](crunt.html)
* [Serpeński Gasket on Tektronix Terminal](serpenski.html) which amazed 4 whole people at my high school in 1991.

75
toys/serpenski.html Normal file
View File

@ -0,0 +1,75 @@
<!DOCTYPE html>
<html>
<head>
<title>Tektronix Terminal</title>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=VT323&display=swap" rel="stylesheet">
<style>
html,
body {
background: black;
color: white;
width: 100%;
height: 100%;
margin: 0;
}
#credit {
position: fixed;
top: 20px;
left: 20px;
color: goldenrod;
font-family: VT323, monospace;
font-size: 22px;
}
</style>
<script>
lastPoint = [0, 0]
points = [[0, 0], [0, 0], [0, 0]]
interval = null
function choose(arr) {
return arr[Math.floor(Math.random() * arr.length)]
}
function midpoint(a, b) {
return [(a[0] + b[0]) / 2, (a[1] + b[1]) / 2]
}
function drawPoint() {
lastPoint = midpoint(choose(points), lastPoint)
ctx.fillRect(lastPoint[0], lastPoint[1], 2, 2)
}
function go() {
canvas = document.querySelector("canvas")
ctx = canvas.getContext("2d")
canvas.width = innerWidth
canvas.height = innerHeight
ctx.fillStyle = "goldenrod"
lastPoint = [
Math.random() * canvas.width,
Math.random() * canvas.height,
]
points = [
[canvas.width / 2, 0],
[canvas.width, canvas.height],
[0, canvas.height],
]
if (!interval) {
interval = setInterval(drawPoint, 40)
}
}
addEventListener("load", go)
addEventListener("resize", go)
</script>
</head>
<body>
<canvas></canvas>
<div id="credit">The Serpenski Gasket<br>1991 by Neale Pickett</div>
</body>
</html>