<imgloading="lazy"src="/media/leko_tonsi.png"alt="leko pona, a split keyboard with blank keycaps in the trans flag colours"title="leko pona, a split keyboard with blank keycaps in the trans flag colours">
<videoloading="lazy"src="/media/ch32_gol.mp4"alt="conways game of life on a tiny display"title="conways game of life on a tiny display"controls></video>
<videoloading="lazy"src="/media/musi_pi_soweli_tawa.mp4"alt="simple runner game, similar to the chrome dino game"title="simple runner game, similar to the chrome dino game"controls></video>
LD is the <ahref="https://ldjam.com/">Ludum Dare game jam</a>, where you have 3 days to create a game fitting to a theme that is revealed when the jam starts.<br>
All the below games except for <code>LD45: Mind the Gap</code> I made together with <ahref="https://github.com/ErikBot42">Erikbot</a>. I have done both art and programming for all of them.<br>
<imgloading="lazy"src="/media/jam-games/starship.png"alt="some machines on the surface of a tiny planet, with a cosmonaut in the center"title="some machines on the surface of a tiny planet, with a cosmonaut in the center">
<imgloading="lazy"src="/media/jam-games/forklift_simulator.png"alt="top-down view of a forklift surrounded by boxes in different colours"title="top-down view of a forklift surrounded by boxes in different colours">
Most of my shaders are made in Unity and uploaded as props for ChilloutVR. All my ChilloutVR props are in <ahref="https://git.crispypin.cc/CrispyPin/cvr-props">this repository</a>.<br>
A shader that can display qr codes of any size, though it requires computing the error correction codes beforehand. Partially because it would be slow to do for every pixel every frame, but mostly because I couldn't find a resource explaining how to do it.<br>
(I used <ahref="https://www.nayuki.io/page/creating-a-qr-code-step-by-step">https://www.nayuki.io/page/creating-a-qr-code-step-by-step</a> as a reference, though the algorithm is very different because I'm using a shader)<br>
A <ahref="https://en.wikipedia.org/wiki/Self-reproducing_program">quine</a> is a program that outputs its own source code. Since shaders don't have text or file outputs, a shader quine must render its own source code instead. This shader contains the font data required to be readable.<br>
<imgloading="lazy"src="/media/shaders/shader_quine_198x99.png"alt="(click for full resolution) A large square of shader code, being rendered by itself"title="(click for full resolution) A large square of shader code, being rendered by itself">
Code golf is the art of shortening a program as much as possible while still producing a required behavior. I made a tiny version of the quine, only 2877 bytes large. At the end it does render some random characters, but I still consider it valid. When code golfing, undefined behaviour is part of the fun.<br>
<imgloading="lazy"src="/media/shaders/shader_quine_2877.png"alt="a smaller wall of text, with a low-resolution font that is just barely readable"title="a smaller wall of text, with a low-resolution font that is just barely readable">
<imgloading="lazy"src="/media/shaders/sunset_shader.png"alt="sunset over a calm ocean, with stars visible in the purple sky"title="sunset over a calm ocean, with stars visible in the purple sky">
<imgloading="lazy"src="/media/shaders/julia.png"alt="bright purple julia fractal"title="bright purple julia fractal">
<imgloading="lazy"src="/media/shaders/julia_distorted.png"alt="bright purple julia fractal, with distortion"title="bright purple julia fractal, with distortion">
Using the app <ahref="https://f-droid.org/en/packages/de.markusfisch.android.shadereditor/">Shader Editor</a>, I made some shaders for my phones' wallpaper.<br>
The 4x4 version divides the day into 2^16 sections, each one about 1.3s long, and displays the number of sections passed since midnight as a binary number.<br>
<imgloading="lazy"src="/media/shaders/binary_clock_square.png"alt="a 4x4 grid of circles, some of which are filled"title="a 4x4 grid of circles, some of which are filled">
libgarbage is my raymarching shader library, with which all the following shaders are made with. It doesn't have its own repository right now, but can be found in <ahref="https://git.crispypin.cc/CrispyPin/cvr-props/src/branch/main/Assets/raymarched/lib">git.crispypin.cc/CrispyPin/cvr-props</a><br>
<videoloading="lazy"src="/media/shaders/rm_demo_scene.mp4"alt="a collection of sdf primitives with a reflective material"title="a collection of sdf primitives with a reflective material"controls></video>
<videoloading="lazy"src="/media/shaders/rm_looping_loops.mp4"alt="11 rectangular frames moving through each other smoothly"title="11 rectangular frames moving through each other smoothly"controlsloop=true></video>
I also made a web version of this in may 2021, see <ahref="https://gol.crispypin.cc/?cellsize=10&time=2">gol.crispypin.cc</a> or <ahref="https://github.com/CrispyPin/gol-wallpaper">github.com/CrispyPin/gol-wallpaper</a> for the source<br>
These programs are less flashy and were made out of necessity. I don't expect anyone else to want to use them, but they are available if that was the case.<br>
A simple terminal app that plays multiple audio files on loop, meant for background ambience. I use it for rain and wind sound and have it auto-start when I log in.<br>
This is the markdown to html generator that this site is built with. It uses markdown as a base but is far from standard markdown, it has weird quirks and macros that I needed.<br>
Made at first to learn, then to run this website. It seves files and supports partial requests, allowing you to watch videos without needing the whole file to be cached first. (videos are still partially broken, only some formats work properly)<br>
When I was solving some <ahref="https://adventofcode.com/2023">Advent of Code</a> problems in <ahref="https://esolangs.org/wiki/Brainfuck">Brainfuck</a>, I found myself missing the ability to set breakpoints and step a number of iterations through the program, so I made an interactive brainfuck debugger.<br>
I used this to develop solutions for part one of day 1 and 4, in advent of code 2023. These can be found here: <ahref="https://git.crispypin.cc/CrispyPin/aoc-2023/src/branch/main/bf">https://git.crispypin.cc/CrispyPin/aoc-2023/src/branch/main/bf</a><br>
<code>lili</code> is a terminal text editor that can keep multiple files open. It is far from perfect, it doesn't handle soft linebreaks well and lacks undo/redo. But wider characters at least work (tabs and emoji).<br>
At work, I was frustrated by 20-45 minute C++ compile times, so I made a compiler wrapper that keeps track of build times, and tells me the average time wasted per day.<br>
This was before the "AI" hype bubble became as obnoxious as it is now. I found the website neuralblender.com (no they don't deserve a hyperlink), which generated quite terrible images from a text prompt. There was no information about the website anywhere.<br>
I made a stupid input-emulating script that ran in a vm and generated textures for every texture in minecraft 1.17.<br>
</p>
<p>
The cursed flowers in the picture below are poppies, which for some reason resulted in a blue-haired cryptid in the corner.<br>
<imgloading="lazy"src="/media/neuralblender_minecraft.png"alt="minecraft with very weird textures. Poppy flowers are cursed"title="minecraft with very weird textures. Poppy flowers are cursed">