summaryrefslogtreecommitdiff
path: root/tangle/asset
diff options
context:
space:
mode:
authorAdrian Kummerlaender2021-05-17 00:15:33 +0200
committerAdrian Kummerlaender2021-05-17 00:15:33 +0200
commit4ec94c97879aafef15f7663135745e4ba61e62cf (patch)
tree322ae3f003892513f529842ff0b3fd100573b680 /tangle/asset
downloadLiterateLB-4ec94c97879aafef15f7663135745e4ba61e62cf.tar
LiterateLB-4ec94c97879aafef15f7663135745e4ba61e62cf.tar.gz
LiterateLB-4ec94c97879aafef15f7663135745e4ba61e62cf.tar.bz2
LiterateLB-4ec94c97879aafef15f7663135745e4ba61e62cf.tar.lz
LiterateLB-4ec94c97879aafef15f7663135745e4ba61e62cf.tar.xz
LiterateLB-4ec94c97879aafef15f7663135745e4ba61e62cf.tar.zst
LiterateLB-4ec94c97879aafef15f7663135745e4ba61e62cf.zip
Extract first public LiterateLB version
Diffstat (limited to 'tangle/asset')
-rw-r--r--tangle/asset/noise/blue_0.pngbin0 -> 3763 bytes
-rw-r--r--tangle/asset/noise/blue_1.pngbin0 -> 3775 bytes
-rw-r--r--tangle/asset/noise/blue_2.pngbin0 -> 3752 bytes
-rw-r--r--tangle/asset/noise/blue_3.pngbin0 -> 3789 bytes
-rw-r--r--tangle/asset/noise/blue_4.pngbin0 -> 3754 bytes
-rw-r--r--tangle/asset/palette/4wave_ROTB.pngbin0 -> 1572 bytes
-rw-r--r--tangle/asset/palette/4wave_equal.pngbin0 -> 1485 bytes
-rw-r--r--tangle/asset/palette/5wave_cool.pngbin0 -> 1601 bytes
-rw-r--r--tangle/asset/palette/autumn.pngbin0 -> 827 bytes
-rw-r--r--tangle/asset/palette/blue.pngbin0 -> 1223 bytes
-rw-r--r--tangle/asset/palette/blue_orange.pngbin0 -> 1457 bytes
-rw-r--r--tangle/asset/palette/green_brown.pngbin0 -> 1269 bytes
-rw-r--r--tangle/asset/palette/orange.pngbin0 -> 1165 bytes
-rw-r--r--tangle/asset/shader/blur.frag20
14 files changed, 20 insertions, 0 deletions
diff --git a/tangle/asset/noise/blue_0.png b/tangle/asset/noise/blue_0.png
new file mode 100644
index 0000000..d1c0534
--- /dev/null
+++ b/tangle/asset/noise/blue_0.png
Binary files differ
diff --git a/tangle/asset/noise/blue_1.png b/tangle/asset/noise/blue_1.png
new file mode 100644
index 0000000..c32ee28
--- /dev/null
+++ b/tangle/asset/noise/blue_1.png
Binary files differ
diff --git a/tangle/asset/noise/blue_2.png b/tangle/asset/noise/blue_2.png
new file mode 100644
index 0000000..0db58de
--- /dev/null
+++ b/tangle/asset/noise/blue_2.png
Binary files differ
diff --git a/tangle/asset/noise/blue_3.png b/tangle/asset/noise/blue_3.png
new file mode 100644
index 0000000..e0d06cf
--- /dev/null
+++ b/tangle/asset/noise/blue_3.png
Binary files differ
diff --git a/tangle/asset/noise/blue_4.png b/tangle/asset/noise/blue_4.png
new file mode 100644
index 0000000..28d1b80
--- /dev/null
+++ b/tangle/asset/noise/blue_4.png
Binary files differ
diff --git a/tangle/asset/palette/4wave_ROTB.png b/tangle/asset/palette/4wave_ROTB.png
new file mode 100644
index 0000000..06c4d8d
--- /dev/null
+++ b/tangle/asset/palette/4wave_ROTB.png
Binary files differ
diff --git a/tangle/asset/palette/4wave_equal.png b/tangle/asset/palette/4wave_equal.png
new file mode 100644
index 0000000..95e1fa4
--- /dev/null
+++ b/tangle/asset/palette/4wave_equal.png
Binary files differ
diff --git a/tangle/asset/palette/5wave_cool.png b/tangle/asset/palette/5wave_cool.png
new file mode 100644
index 0000000..517896c
--- /dev/null
+++ b/tangle/asset/palette/5wave_cool.png
Binary files differ
diff --git a/tangle/asset/palette/autumn.png b/tangle/asset/palette/autumn.png
new file mode 100644
index 0000000..e726a78
--- /dev/null
+++ b/tangle/asset/palette/autumn.png
Binary files differ
diff --git a/tangle/asset/palette/blue.png b/tangle/asset/palette/blue.png
new file mode 100644
index 0000000..f2f6f3e
--- /dev/null
+++ b/tangle/asset/palette/blue.png
Binary files differ
diff --git a/tangle/asset/palette/blue_orange.png b/tangle/asset/palette/blue_orange.png
new file mode 100644
index 0000000..a0b4ac2
--- /dev/null
+++ b/tangle/asset/palette/blue_orange.png
Binary files differ
diff --git a/tangle/asset/palette/green_brown.png b/tangle/asset/palette/green_brown.png
new file mode 100644
index 0000000..ce23378
--- /dev/null
+++ b/tangle/asset/palette/green_brown.png
Binary files differ
diff --git a/tangle/asset/palette/orange.png b/tangle/asset/palette/orange.png
new file mode 100644
index 0000000..c32f13b
--- /dev/null
+++ b/tangle/asset/palette/orange.png
Binary files differ
diff --git a/tangle/asset/shader/blur.frag b/tangle/asset/shader/blur.frag
new file mode 100644
index 0000000..ad57bde
--- /dev/null
+++ b/tangle/asset/shader/blur.frag
@@ -0,0 +1,20 @@
+#version 330
+
+uniform sampler2D texture;
+
+layout(location = 0) out vec4 color;
+layout(origin_upper_left, pixel_center_integer) in vec4 gl_FragCoord;
+
+float kernel[7] = float[]( 0.00443184841193801, 0.0539909665131881, 0.241970724519143, 0.398942280401433, 0.241970724519143, 0.0539909665131881, 0.00443184841193801 );
+
+void main() {
+ vec3 blurred = vec3(0.0);
+
+ for (int i=-3; i <= 3; ++i) {
+ for (int j=-3; j <= 3; ++j) {
+ blurred += kernel[3+j] * kernel[3+i] * texelFetch(texture, ivec2(gl_FragCoord.xy) + ivec2(i,j), 0).xyz;
+ }
+ }
+
+ color = vec4(blurred, 1.0);
+}