From feb25c70651a64fd2c2cea6bdf6efdff3051154c Mon Sep 17 00:00:00 2001 From: yum Date: Wed, 24 Sep 2025 20:36:13 -0700 Subject: shit yourself --- README.md | 1 + index.md | 1 + make_html | 5 +---- template.html | 22 +++++++++++++++------- 4 files changed, 18 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 76b86c3..5bfb957 100755 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ this is the source code for my website, [yummers.dev](https://yummers.dev) to build: ```bash +# install pandoc>=3.8, zip $ ./make_html index.md ``` diff --git a/index.md b/index.md index 46b5b1d..1164d51 100755 --- a/index.md +++ b/index.md @@ -427,6 +427,7 @@ I made two non obvious decisions in the way I bake the vertex offsets: think in terms of the bounding box dimensions rather than the square root of the sum of squares of the box's dimensions. Like if your box is 1x0.6x0.2, then you can just raymarch a primitive with those dimensions and your + simulation Just Works. The origin point is recovered on the GPU as follows: diff --git a/make_html b/make_html index 717a04e..e021eb5 100755 --- a/make_html +++ b/make_html @@ -23,10 +23,7 @@ pandoc \ unzip -o "$OUTPUT_DIR/site.zip" -d /var/www/html/ # Remove in-page hash fragments from TOC links on the landing page so links open at page top -sed -E -i 's/(href="[^"#]+\.html)#[^"]+"/\1"/g' /var/www/html/index.html || true -gzip -k -9 -f js/*.js -gzip -k -9 -f js/*.css -cp -r js /var/www/html/ +sed -E -i 's/(href="[^"#]+\.html)#[^"]+"/\1"/g' /var/www/html/index.html cp -r vr_assets /var/www/html/ cp -r images /var/www/html/ diff --git a/template.html b/template.html index a7d93be..ae3cd6a 100755 --- a/template.html +++ b/template.html @@ -22,8 +22,17 @@ $endif$ $styles.html()$