summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package-lock.json2
-rw-r--r--src/toys.md18
2 files changed, 10 insertions, 10 deletions
diff --git a/package-lock.json b/package-lock.json
index 6370fbe..cecfa92 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1393,6 +1393,7 @@
"integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
"dev": true,
"license": "MIT",
+ "peer": true,
"engines": {
"node": ">=12"
},
@@ -1416,6 +1417,7 @@
"integrity": "sha512-7Hc+IvlQ7hlaIfQFZnxlRl0jnpWq2qwibORBhQYIb0QbNtuicc5ZxvKkVT71HJ4Py1wSZ/3VR1r8LfkCtoCzhw==",
"dev": true,
"license": "MIT",
+ "peer": true,
"dependencies": {
"posthtml-parser": "^0.11.0",
"posthtml-render": "^3.0.0"
diff --git a/src/toys.md b/src/toys.md
index 9639e9a..0351468 100644
--- a/src/toys.md
+++ b/src/toys.md
@@ -13,7 +13,7 @@ These are the web-based toys I've ported over (so far) from my old website. New
#### The Abstraction Engine
<div class="text-center">
- <img src="/assets/lambda.png" width="500">
+ <img src="/assets/lambda.png" style="max-width:500px;width:100%;">
</div>
A game inspired by [Baba Is You](https://store.steampowered.com/app/736260/Baba_Is_You/). Your character is a Lambda and you aim to eat the [Curry](https://en.wikipedia.org/wiki/Currying) by writing real lambda-calculus terms and applying them to other lambda-calculus terms to solve puzzles. The core is a [custom ECS engine and lambda calculus interpreter in typescript](https://code.liz.coffee/the-abstraction-engine-ts.git/). So far I've only gotten two levels as a "tech demo" showcasing basic functionality. But the groundwork was put in place to get a [fixed-point-combinator](https://en.wikipedia.org/wiki/Fixed-point_combinator) level written.
@@ -27,7 +27,7 @@ Due to the game's inner complexity and the fact that I just keep getting discour
#### Tabloid Closures
<div class="text-center">
- <img src="/assets/tabloid.png" width="500">
+ <img src="/assets/tabloid.png" style="max-width:500px;width:100%;">
</div>
For fun (and procrastination) I added closures to the [Tabloid](https://tabloid.vercel.app/) esoteric programming language and wrote lambda-calculus-inspired primitives of pair/cons, then extended them to
@@ -40,7 +40,7 @@ valid merge sort and binary tree traversal programs.
#### Gödel Number Playground
<div class="text-center">
- <img src="/assets/godel.png" width="500">
+ <img src="/assets/godel.png" style="max-width:500px;width:100%;">
</div>
A PEG grammar (I'd hardly call this a compiler) which computes the [Gödel number](https://en.wikipedia.org/wiki/G%C3%B6del_numbering) from a valid L program.
@@ -52,19 +52,17 @@ A PEG grammar (I'd hardly call this a compiler) which computes the [Gödel numbe
#### Turing Machine
<div class="text-center">
- <img src="/assets/turing.png" width="500">
+ <img src="/assets/turing.png" style="max-width:500px;width:100%">
</div>
-World's smallest VM & bytecode compiled language?
-
-[Click here to find out](/toys/turing).
+[I swear the tape is infinite](/toys/turing).
---
#### Euler Golf 2
<div class="text-center">
- <img src="/assets/euler.png" width="500">
+ <img src="/assets/euler.png" style="max-width:500px;width:100%">
</div>
Euler Golf 2 is a reimplemetation and solver of [Val Hovey's Euler Golf](https://valhovey.github.io/EulerGolf).
@@ -76,7 +74,7 @@ Euler Golf 2 is a reimplemetation and solver of [Val Hovey's Euler Golf](https:/
#### Julia Explorer
<div class="text-center">
- <img src="/assets/julia.png" width="500">
+ <img src="/assets/julia.png" style="max-width:500px;width:100%">
</div>
A quick experiment with [GPU.js](https://gpu.rocks/#/).
@@ -88,7 +86,7 @@ A quick experiment with [GPU.js](https://gpu.rocks/#/).
#### A Fourier New Year
<div class="text-center">
- <img src="/assets/fourier.png" width="500">
+ <img src="/assets/fourier.png" style="max-width:500px;width:100%">
</div>
A quick app I hacked together for some friends on Discord at the time to explore a discrete fourier transform of the function of their mood wrt time for the year.