reorganise media

This commit is contained in:
Crispy 2024-08-27 22:40:58 +02:00
parent ab2010b7bc
commit a9b23b5a4e
26 changed files with 36 additions and 36 deletions

View file

@ -70,25 +70,25 @@ All the below games except for <code>LD45: Mind the Gap</code> I made together w
<p>
<code>2024-08</code><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>
<video loading="lazy" src="/media/qr_shader_bit_order.mp4" alt="" title="" controls ></video>
<video loading="lazy" src="/media/shaders/qr_shader_bit_order.mp4" alt="" title="" controls ></video>
</p>
<h3 id="quine">quine</h3>
<p>
<code>2024-08</code><br>
A <a href="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>
<img loading="lazy" src="/media/shader_quine_198x99.png" alt="a large square of shader code, being rendered by itself" title="a large square of shader code, being rendered by itself"></img>
<img loading="lazy" src="/media/shaders/shader_quine_198x99.png" alt="a large square of shader code, being rendered by itself" title="a large square of shader code, being rendered by itself"></img>
</p>
<h3 id="golfed-quines">golfed quines</h3>
<p>
<code>2024-08</code><br>
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>
<img loading="lazy" src="/media/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"></img>
<img loading="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"></img>
</p>
<h3 id="sunset">sunset</h3>
<p>
<code>2023-02</code><br>
This is a single fragment shader, which means you can put it on any mesh and it will look the same.<br>
<img loading="lazy" src="/media/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"></img>
<img loading="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"></img>
</p>
<h3 id="julia-fractal">julia fractal</h3>
<h2 id="andriod">andriod</h2>
@ -101,11 +101,11 @@ Using the app <a href="https://f-droid.org/en/packages/de.markusfisch.android.sh
<p>
<code>2024-05</code><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>
<img loading="lazy" src="/media/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"></img>
<img loading="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"></img>
</p>
<p>
This 3-row version uses the traditional division of hours, minutes and seconds, just displaying the three numbers in binary.<br>
<img loading="lazy" src="/media/binary_clock.png" alt="3 rows of 5, 6 and 6 circles" title="3 rows of 5, 6 and 6 circles"></img>
<img loading="lazy" src="/media/shaders/binary_clock.png" alt="3 rows of 5, 6 and 6 circles" title="3 rows of 5, 6 and 6 circles"></img>
</p>
<h2 id="raymarching">raymarching</h2>
<h3 id="libgarbage">libgarbage</h3>
@ -117,32 +117,32 @@ libgarbage is my raymarching shader library, with which all the following shader
<p>
<code>2023-09</code><br>
An example scene made for libgarbage, showing most of the primitive shapes available.<br>
<video loading="lazy" src="/media/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>
<video loading="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>
</p>
<h3 id="spinny-thing">spinny thing</h3>
<p>
<code>2023-07</code><br>
<video loading="lazy" src="/media/rm_spinny_thing.mp4" alt="" title="" controls ></video>
<video loading="lazy" src="/media/shaders/rm_spinny_thing.mp4" alt="" title="" controls ></video>
</p>
<h3 id="flesh-cube">flesh cube</h3>
<p>
<code>2023-07</code><br>
<video loading="lazy" src="/media/rm_flesh_cube.mp4" alt="disgusting pulsating fleshy cube" title="disgusting pulsating fleshy cube" controls ></video>
<video loading="lazy" src="/media/shaders/rm_flesh_cube.mp4" alt="disgusting pulsating fleshy cube" title="disgusting pulsating fleshy cube" controls ></video>
</p>
<h3 id="big-nut">big nut</h3>
<p>
<code>2023-09</code><br>
<video loading="lazy" src="/media/rm_big_nut.mp4" alt="a spinning metallic bolt and nut continually screwing and unscrewing itself" title="a spinning metallic bolt and nut continually screwing and unscrewing itself" controls ></video>
<video loading="lazy" src="/media/shaders/rm_big_nut.mp4" alt="a spinning metallic bolt and nut continually screwing and unscrewing itself" title="a spinning metallic bolt and nut continually screwing and unscrewing itself" controls ></video>
</p>
<h3 id="loops">loops</h3>
<p>
<code>2024-08</code><br>
<video loading="lazy" src="/media/rm_looping_loops.mp4" alt="11 rectangular frames moving through each other smoothly" title="11 rectangular frames moving through each other smoothly" controls loop=true></video>
<video loading="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" controls loop=true></video>
</p>
<h3 id="boxes">boxes</h3>
<p>
<code>2024-08</code><br>
<video loading="lazy" src="/media/rm_boxes.mp4" alt="" title="" controls ></video>
<video loading="lazy" src="/media/shaders/rm_boxes.mp4" alt="" title="" controls ></video>
</p>
<h2 id="cellular-automata">cellular automata</h2>
<h3 id="game-of-life">game of life</h3>
@ -150,7 +150,7 @@ An example scene made for libgarbage, showing most of the primitive shapes avail
<p>
<code>2023-09</code><br>
See <a href="https://en.wikipedia.org/wiki/Elementary_cellular_automaton">Elementary cellular automaton (Wikipedia)</a>.<br>
<img loading="lazy" src="/media/rule_110.png" alt="elementary cellular automata 110" title="elementary cellular automata 110"></img>
<img loading="lazy" src="/media/shaders/rule_110.png" alt="elementary cellular automata 110" title="elementary cellular automata 110"></img>
</p>
<h3 id="wireworld">WireWorld</h3>
<h3 id="leniasmoothlife">Lenia/smoothlife</h3>