|
@ -44,6 +44,10 @@ Sticker by [djuan](https://linktr.ee/mkiiisystem)!
|
|||
|
||||
Stuff I've made!
|
||||
|
||||
### Pyramides Papyrium
|
||||
|
||||
2025\. homeworlds pyramids, made from die-cut paper! [link](/pyramids/)
|
||||
|
||||
### Braceless Javascript
|
||||
2018\. a couple of short programs written in browser JavaScript, with the special restriction that I can't use any instructions that require curly braces, like 'if' or 'for'. instead, I replace these instructions with ternaries and lambdas, which makes this a functional programming exercise!
|
||||
|
||||
|
|
32
content/pyramids/index.md
Normal file
|
@ -0,0 +1,32 @@
|
|||
---
|
||||
layout: base.njk
|
||||
title: Pyramides Papyrium
|
||||
description: it's pronounced PEER-a-mid-es pa-PEER-ium.
|
||||
permalink: /pyramids/
|
||||
---
|
||||
|
||||
# {{ title }}
|
||||
*{{ description }}*
|
||||
|
||||
I designed a bunch of origami pyramids and I might write about the process later but im tired so for now heres pictures of how to fold them
|
||||
|
||||
{% css %}
|
||||
img {
|
||||
max-width: 40ch;
|
||||
}
|
||||
{% endcss %}
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
ok thanks bye
|
BIN
content/pyramids/pyramides-papyrium-01.jpg
Normal file
After Width: | Height: | Size: 156 KiB |
BIN
content/pyramids/pyramides-papyrium-02.jpg
Normal file
After Width: | Height: | Size: 153 KiB |
BIN
content/pyramids/pyramides-papyrium-03.jpg
Normal file
After Width: | Height: | Size: 164 KiB |
BIN
content/pyramids/pyramides-papyrium-04.jpg
Normal file
After Width: | Height: | Size: 181 KiB |
BIN
content/pyramids/pyramides-papyrium-05.jpg
Normal file
After Width: | Height: | Size: 178 KiB |
BIN
content/pyramids/pyramides-papyrium-06.jpg
Normal file
After Width: | Height: | Size: 150 KiB |
BIN
content/pyramids/pyramides-papyrium-07.jpg
Normal file
After Width: | Height: | Size: 184 KiB |
BIN
content/pyramids/pyramides-papyrium-08.jpg
Normal file
After Width: | Height: | Size: 164 KiB |
BIN
content/pyramids/pyramides-papyrium-09.jpg
Normal file
After Width: | Height: | Size: 197 KiB |
BIN
content/pyramids/pyramides-papyrium-10.jpg
Normal file
After Width: | Height: | Size: 158 KiB |
BIN
content/pyramids/pyramides-papyrium-box-01.jpg
Normal file
After Width: | Height: | Size: 169 KiB |
BIN
content/pyramids/pyramides-papyrium-box-02.jpg
Normal file
After Width: | Height: | Size: 163 KiB |
|
@ -4,7 +4,7 @@ import sharp from 'sharp';
|
|||
|
||||
const dirIn = 'tools/in';
|
||||
const dirOut = 'tools/out';
|
||||
const thresholdBytes = 2 * 1024 * 1024;
|
||||
const thresholdBytes = 400 * 1024;
|
||||
const quality = [100, 99, 97, 95, 90, 80, 75, 70, 60, 50, 40];
|
||||
|
||||
async function makedir(dir) {
|
||||
|
|