Merge 3D
This commit is contained in:
parent
be4ab6578f
commit
be68f805a3
11 changed files with 1222 additions and 7 deletions
BIN
assets/3d/lantern.glb
Normal file
BIN
assets/3d/lantern.glb
Normal file
Binary file not shown.
BIN
assets/3d/planet-express-ship.glb
Normal file
BIN
assets/3d/planet-express-ship.glb
Normal file
Binary file not shown.
BIN
assets/3d/sakura.glb
Normal file
BIN
assets/3d/sakura.glb
Normal file
Binary file not shown.
17
config.yaml
17
config.yaml
|
@ -57,27 +57,30 @@ menu:
|
|||
- name: 'Art'
|
||||
url: '/art'
|
||||
weight: 2
|
||||
- name: '3D'
|
||||
url: '/3D'
|
||||
weight: 3
|
||||
- name: 'Music'
|
||||
url: '/music'
|
||||
weight: 3
|
||||
weight: 4
|
||||
- name: 'Software'
|
||||
url: '/software'
|
||||
weight: 4
|
||||
weight: 5
|
||||
- name: 'Videos'
|
||||
url: 'https://tube.ryne.moe/@redchannel'
|
||||
weight: 5
|
||||
weight: 6
|
||||
- name: 'Downloads'
|
||||
url: '/downloads'
|
||||
weight: 6
|
||||
weight: 7
|
||||
- name: 'Links'
|
||||
url: '/links'
|
||||
weight: 7
|
||||
weight: 8
|
||||
- name: 'Guestbook'
|
||||
url: '/guestbook'
|
||||
weight: 8
|
||||
weight: 9
|
||||
- name: 'About'
|
||||
url: '/about'
|
||||
weight: 9
|
||||
weight: 10
|
||||
footer:
|
||||
- name: 'Blog Feed'
|
||||
url: '/blog/index.xml'
|
||||
|
|
6
content/3d/_index.md
Normal file
6
content/3d/_index.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: 3D
|
||||
layout: 3d-gallery
|
||||
summary: My personal art gallery.
|
||||
json: "3d"
|
||||
---
|
11
content/blog/matrix-update.md
Normal file
11
content/blog/matrix-update.md
Normal file
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
title: "Matrix Update"
|
||||
date: 2022-06-29
|
||||
draft: false
|
||||
---
|
||||
|
||||
If any Matrix admins are reading this, I have a quick update at what's happening to my two old matrix servers: redstrate.com and ryne.moe. These servers are now _defunct_ and if you are seeing any users from them, I recommend either blacklisting the servers on an ACL or just kicking them - but there's no current Synapse server actually backing them so they shouldn't be able to perform any actions anyway.
|
||||
|
||||
A user tipped me off a month ago or so that my last server (ryne.moe) was being a home to over _12,000_ bot accounts which I didn't even notice, due to a lapse in my own configuration. While I enabled SSO, and disabled password login - I unfortunately forgot to disable _registration_ which enabled all of those bot accounts to be collected in the first place. What's worse, is that so much time has passed that the database file is pretty much useless - sitting at over _40 gigabytes_ and the server is extremely slow to do anything with. So, I decided the best course of action is to just give up on that domain and move on. I'm terribly sorry if your room was affected by my adopted bots, I hope to not make that same mistake twice :-)
|
||||
|
||||
Thankfully I keep backups of both servers, hopefully my old @redstrate handles will be leaving all of the rooms I'm in, else I would be kept as a ghost user. Unfortunately I cannot do the same to the bot users, because processing 12,000 users will take an extremely long time. Right now both domains do not respond to matrix requests, and the synapse servers are turned off so fortunately nothing is left exploitable. In the future I would love to see a feature in the Matrix spec to mark a domain as "defunct" _without_ having to still run a synapse server, maybe some kind of json file I can place somewhere.
|
17
content/blog/purging-twitter.md
Normal file
17
content/blog/purging-twitter.md
Normal file
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
title: "Purging Twitter"
|
||||
date: 2022-06-28
|
||||
draft: false
|
||||
---
|
||||
|
||||
In my series of purging my content on propietary platforms I don't align with anymore, the next on the chopping block is Twitter. Just like GitHub, I have several personal reasons why I'm not supporting Twitter any longer:
|
||||
|
||||
* Focus on alogrithmic discovery as opposed to a simple, linear timeline.
|
||||
* Supporting NFTs which I don't personally agree with.
|
||||
* There's advertisements **everywhere**! So many ads!
|
||||
* What's hilarious is that Twitter Blue (their premium subscription service.... to a multi-billion dollar company that doesn't need more money) doesn't seem to even remove these ads. What?? It only seems to remove ads on other websites.
|
||||
* There is so much notification spam - which is related to their insistence that they know what you like better than you do - and it's purely just for the usual addiction factor.
|
||||
|
||||
I don't even recieve much traffic on the site and I managed to completely cut off my Twitter addiction over the past couple of years, so I think this is the best time to do this. Right now my Twitter profile is set to private, as I still need it for DMs and my Knockout login, but I plan to completely sunset it sometime next year. If you still wish to read my microblogs, you can follow me from any ActivityPub-compliant service such as Mastodon/Pleroma/Pixelfed, etc at [@redstrate@pyra.sh](https://pyra.sh/redstrate).
|
||||
|
||||
All of my previous tweets are now deleted however there was some Twitter-exclusive artwork that I didn't realize wasn't posted anywhere else, so I did some reorganizing of my [gallery](/gallery)!
|
37
data/3d.json
Normal file
37
data/3d.json
Normal file
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
"categories": [
|
||||
{
|
||||
"name": "Uncategorized",
|
||||
"description": "Test",
|
||||
"years": [
|
||||
{
|
||||
"year": 2016,
|
||||
"pieces": [
|
||||
{
|
||||
"title": "Lantern",
|
||||
"filename": "lantern.glb"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"year": 2022,
|
||||
"pieces": [
|
||||
{
|
||||
"title": "Sakura",
|
||||
"filename": "sakura.glb"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"year": 2023,
|
||||
"pieces": [
|
||||
{
|
||||
"title": "Planet Express Ship",
|
||||
"filename": "planet-express-ship.glb"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -431,3 +431,8 @@ pre {
|
|||
margin-left: 5px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
model-viewer {
|
||||
width: 640px;
|
||||
height: 480px;
|
||||
}
|
||||
|
|
1102
themes/red/assets/js/model-viewer.min.js
vendored
Normal file
1102
themes/red/assets/js/model-viewer.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
34
themes/red/layouts/_default/3d-gallery.html
Normal file
34
themes/red/layouts/_default/3d-gallery.html
Normal file
|
@ -0,0 +1,34 @@
|
|||
{{ define "main" }}
|
||||
<h2>{{ .Title }}</h2>
|
||||
|
||||
<hr>
|
||||
|
||||
{{ .Content }}
|
||||
|
||||
{{ $art := (index site.Data ($.Param "json")) }}
|
||||
{{ $newgrounds_icon := resources.Get "newgrounds.webp" }}
|
||||
|
||||
{{ range $art.categories }}
|
||||
<h3>{{ .name }}</h3>
|
||||
<p>{{ .description }}</p>
|
||||
{{ range sort .years "year" "desc" }}
|
||||
<h4>{{ .year }}</h4>
|
||||
|
||||
<div class="gallery">
|
||||
{{ range .pieces }}
|
||||
{{ $full := resources.Get (printf "%s/%s" ($.Param "json") .filename) }}
|
||||
|
||||
{{ with resources.Get $full }}
|
||||
<model-viewer src="{{ .RelPermalink }}" shadow-intensity="1" camera-controls touch-action="pan-y"></model-viewer>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ $site := resources.Get "js/model-viewer.min.js" }}
|
||||
{{ if hugo.IsProduction }}
|
||||
{{ $site = $site | minify | fingerprint | resources.PostProcess }}
|
||||
{{ end }}
|
||||
<script type="module" src="{{ $site.RelPermalink }}" integrity="{{ $site.Data.Integrity }}"></script>
|
||||
{{ end }}
|
Loading…
Add table
Reference in a new issue