From b58b9832183c5dec8af2dfd580abf3d5d9bdc086 Mon Sep 17 00:00:00 2001 From: Ada Isopods Date: Thu, 8 Aug 2024 01:13:36 -0600 Subject: Created v3 of the site in a subdir, bouta migrate I guess I also haven't made a commit since doing a couple normal changes. huh --- v3/aud/index.php | 56 +++++++++++++++ v3/credits/index.php | 109 ++++++++++++++++++++++++++++ v3/img/index.php | 82 ++++++++++++++++++++++ v3/index.php | 35 +++++++++ v3/license/index.php | 23 ++++++ v3/style.css | 195 +++++++++++++++++++++++++++++++++++++++++++++++++++ v3/txt/index.php | 38 ++++++++++ v3/txt/sys.log | 1 + 8 files changed, 539 insertions(+) create mode 100644 v3/aud/index.php create mode 100644 v3/credits/index.php create mode 100644 v3/img/index.php create mode 100644 v3/index.php create mode 100644 v3/license/index.php create mode 100644 v3/style.css create mode 100644 v3/txt/index.php create mode 100644 v3/txt/sys.log (limited to 'v3') diff --git a/v3/aud/index.php b/v3/aud/index.php new file mode 100644 index 0000000..745a5b5 --- /dev/null +++ b/v3/aud/index.php @@ -0,0 +1,56 @@ + + + + + + + /log/aud + + + + + +

$ pwd

+

/log/aud

+

$ ls -t

+
+ 0); + } + + $files = array_filter(scandir("../../noises/"), "test_audio"); + + usort($files, function($a, $b) { // Sort files by modification date of the files + return filemtime("../../noises/$b") - filemtime("../../noises/$a"); + }); + + foreach($files as $fi) { + //$fitime = filemtime("../../noises/$fi"); + $fisize = filesize("../../noises/$fi"); + echo "
$fi
"; + } + ?> +
+

$

+ + + diff --git a/v3/credits/index.php b/v3/credits/index.php new file mode 100644 index 0000000..356c6aa --- /dev/null +++ b/v3/credits/index.php @@ -0,0 +1,109 @@ + + + + + + /inf/credits + + + + + +

$ pwd

+

/inf/credits

+

$ ls

+ +

$ cat pimo.yml

+
+

# Pimo

+

+ daw: "LMMS"
+ visuals: "Blender"
+ assets:
+   piano: "https://blendswap.com/blend/29080"
+   pianist: "https://www.turbosquid.com/3d-models/photorealistic-human-rig-3d-1422553" +

+
+

$ cat tetrahead.yml

+
+

# Tetrahead

+

+ daw: "LMMS"
+ visuals: "Blender"
+ assets:
+   bassist: "https://www.turbosquid.com/3d-models/3d-realistic-musicians-music-model-1653971" +

+
+

$ cat nova.yml

+
+

# Nova

+

+ daw: "LMMS"
+ visuals:
+   - "Paint.NET"
+   - "Shotcut"
+   - "Blender" +

+
+

$ cat home.yml

+
+

# Home

+

+ daw: "LMMS"
+ visuals: "Blender"
+

+
+

$ cat plot-twist.yml

+
+

# Plot Twist

+

+ daw: "LMMS"
+ visuals:
+   - "Paint.NET"
+   - "Shotcut" +

+
+

$ cat plugins.yml

+
+

# Plugins

+

+ lmms:
+   - "Synth1"
+ blender:
+   - "Bizualizer"
+

+
+

$ cat sample-packs.yml

+
+

# Sample Packs

+

+ packs:
+   - "https://www.musicradar.com/news/tech/sampleradar-500-free-industrial-samples-504614"
+   - "https://soundpacks.com/free-sound-packs/80s-retro-futuristic-drum-pack/"
+   - "https://soundconstraints.com/products/corona-virus-sample-pack" +

+
+

$ cat 3d-assets.yml

+
+

# General 3D Assets

+

+ sources:
+   - "https://polyhaven.com/"
+   - "https://ambientcg.com/" +

+
+

$

+ + + + + diff --git a/v3/img/index.php b/v3/img/index.php new file mode 100644 index 0000000..a6cc9fa --- /dev/null +++ b/v3/img/index.php @@ -0,0 +1,82 @@ + + + + + + + /log/img + + + + + +

$ pwd

+

/log/img

+

$ ls -t

+
+ 0 or strpos($name, ".gif") > 0 or strpos($name, ".jxl") > 0); + } + + function imagetime($file) { // This needs to return a Unix timestamp. + global $imagetimes; + if(!$imagetimes[$file]) { + $imagetimes[$file] = filemtime("../../art/".$file); + } + return $imagetimes[$file]; + } + + $images = array_filter(scandir("../../art"), "test_image"); // Generate array of every image in the directory by filename + + usort($images, function($a, $b) { // Sort images by modification date of the files + return imagetime("$b") - imagetime("$a"); + }); + + $pmt = ""; + foreach($images as $im) { // Loops through each image and echoes it to the page + + $no = substr($im, 0, strpos($im, ".")); // Filename with extension stripped + $mt = date("Y-m-d", imagetime("$im")); // File modification date in ISO format + $is = getimagesize("../../art/$im"); + $ist = $is[0] . "×" . $is[1]; // Image size formatted as X×Ypx + + if($pmt != $mt) { + $pmt = $mt; + if($pmt != "") { + echo ""; + } + echo "

$mt

+

$

+ + + diff --git a/v3/index.php b/v3/index.php new file mode 100644 index 0000000..0e67cba --- /dev/null +++ b/v3/index.php @@ -0,0 +1,35 @@ + + + + + + uServe OS 52.08 LTS "Twisty Tardigrade" Hybrid CLI + + + + + +

uServe OS 52.08 "Twisty Tardigrade" Hybrid CLI
+ © 2040-3052 Sysco Systems, Inc.
+ All rights reserved.

+

Welcome.

+

$ hostname -d

+

deep twisty.com

+

$ find / -type d

+
+

NET

+ ://BANDCAMP + ://YOUTUBE + ://ITCHIO + ://KOFI +

LOG

+ TXT + IMG + AUD +

INF

+ CREDITS + LICENSE +
+

$

+ + diff --git a/v3/license/index.php b/v3/license/index.php new file mode 100644 index 0000000..0647ccb --- /dev/null +++ b/v3/license/index.php @@ -0,0 +1,23 @@ + + + + + + /inf/license + + + + + +

$ pwd

+

/inf/license

+

$ cat license.md

+
+

+

Everything released under the name "deep twisty" is licensed as CC BY-NC-SA 4.0 unless otherwise specified.

+

To request permission for commercial use, contact contact@deeptwisty.com.

+
+

$

+ + + diff --git a/v3/style.css b/v3/style.css new file mode 100644 index 0000000..ee75106 --- /dev/null +++ b/v3/style.css @@ -0,0 +1,195 @@ +@font-face { + font-family: b612_mono; + src: url(/fonts/B612_Mono/B612Mono-Regular.ttf); +} +@font-face { + font-family: b612_mono; + src: url(/fonts/B612_Mono/B612Mono-Bold.ttf); + font-weight: bold; +} +@font-face { + font-family: b612_mono; + src: url(/fonts/B612_Mono/B612Mono-Italic.ttf); + font-style: italic; +} +@font-face { + font-family: b612_mono; + src: url(/fonts/B612_Mono/B612Mono-BoldItalic.ttf); + font-weight: bold; + font-style: italic; +} + +:root { + --blue: #2e1ae0; + --green: #00ff00; + --yellow: #ffff00; + --border: 2px solid white; + --boxshadow: 0 0 2px white, 0 0 2px white inset; + --gradient: linear-gradient(135deg, var(--blue) 0%, var(--blue) 35%, var(--green) 65%, var(--yellow) 90%); +} + +img { + max-width: 100%; +} + +body { + font-family: b612_mono, monospace; + margin: 5rem; + color: white; + background: black; + width: fit-content; + max-width: 90%; + text-shadow: 0 0 2px white; +} +body::before { + content: " "; + display: block; + position: fixed; + top: 0; + left: 0; + bottom: 0; + right: 0; + background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06)); + z-index: 2; + background-size: 100% 2px, 3px 100%; + pointer-events: none; + animation: flicker 0.1s infinite; +} + +h1 { + font-size: 3em; + width: fit-content; + text-shadow: none; +} + +.title { + font-style: italic; + background: var(--gradient); + background-clip: text; + -webkit-text-fill-color: transparent; +} + +.dir { + padding: 2rem; + width: fit-content; + min-width: 40ch; + max-width: 100%; + box-sizing: border-box; +} +section.dir > *:first-child { + margin-top: 0; + padding-top: 0; +} +section.dir > *:last-child { + margin-bottom: 0; + padding-bottom: 0; +} +section.dir > a { + display: block; + padding: 0.5rem; +} +:is(.dir, nav) { + border: var(--border); + box-shadow: var(--boxshadow); +} +:is(.dir, nav):hover { + border-image: var(--gradient) 2; +} + +section article { + margin: 0; + padding: .5rem 0; + border-bottom: 1px solid #fff9; +} +article:last-child { + border-bottom: none; +} + +a { + color: white; +} +nav { + width: fit-content; + display: flex; + flex-wrap: wrap; +} +nav a { + margin: 0; + padding: 1rem; +} + +@media only screen and (hover: none) { + body { + margin: 1rem auto; + } + .dir { + min-width: 0; + width: 100%; + } +} + +@keyframes flicker { + 0% { + opacity: 0.27861; + } + 5% { + opacity: 0.34769; + } + 10% { + opacity: 0.23604; + } + 15% { + opacity: 0.90626; + } + 20% { + opacity: 0.18128; + } + 25% { + opacity: 0.83891; + } + 30% { + opacity: 0.65583; + } + 35% { + opacity: 0.67807; + } + 40% { + opacity: 0.26559; + } + 45% { + opacity: 0.84693; + } + 50% { + opacity: 0.96019; + } + 55% { + opacity: 0.08594; + } + 60% { + opacity: 0.20313; + } + 65% { + opacity: 0.71988; + } + 70% { + opacity: 0.53455; + } + 75% { + opacity: 0.37288; + } + 80% { + opacity: 0.71428; + } + 85% { + opacity: 0.70419; + } + 90% { + opacity: 0.7003; + } + 95% { + opacity: 0.36108; + } + 100% { + opacity: 0.24387; + } +} \ No newline at end of file diff --git a/v3/txt/index.php b/v3/txt/index.php new file mode 100644 index 0000000..9cb4149 --- /dev/null +++ b/v3/txt/index.php @@ -0,0 +1,38 @@ + + + + + + + /log/txt + + + + + +

$ pwd

+

/log/txt

+

$ cat sys.log

+
+ 3) { + $date = substr($p, 0, strpos($p, " ")); + $hdate = date("Y-m-d H:i:s", $date); + $pcont = substr($p, strpos($p, " ") + 1); + $posts_out = "
$hdate >> $pcont
$posts_out"; + } + } + echo $posts_out; + ?> +
+

$

+ + + diff --git a/v3/txt/sys.log b/v3/txt/sys.log new file mode 100644 index 0000000..f204d4b --- /dev/null +++ b/v3/txt/sys.log @@ -0,0 +1 @@ +1723020800 new website dropped \ No newline at end of file -- cgit v1.2.3