diff --git a/content/_index.md b/content/_index.md index ab4b901..df1236c 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,18 +1,31 @@ -This blog is not intended to be some super polished thing. -I bought the domain [landow.dev](https://landow.dev) a while back and needed to put it to use. +--- +title: Steven's Blog +--- + +This blog is still a work in progress. The posts about WFC were the original +motivation for creating the blog, but I think journaling about the things I've +been trying out will make them stick better. -The goal is to write things down as I learn them. The format might seem like I'm trying to be -instructional. Take it all with a grain of salt. If I bothered to write something on this blog, -it's guaranteed that I'm not an expert on it. +I'll probably rewrite those posts into something more coherent before moving on +and adding new content. --- -Although I'm writing over a year later I'm backdating the posts in this blog. -My goal is to fill the first few posts with snapshots of what I have slowly worked on -for the past few years. The project/projects only received a few hours of work each week. -Sometimes there were very long breaks where I didn't play with it for over a month. +{{< cards >}} -Hopefully the first few posts will be enough to "catch up" to what I am doing now. + {{< card + link="posts/art" + title="Art" + icon="pencil" + image="/posts/art/art-thumb.png" + >}} ---- + {{< card + link="/posts/tech/wfc/wfc-01-intro" + title="Wave Function Collapse" + icon="view-grid-add" + image="/posts/tech/wfc/wfc-thumb.png" + >}} + +{{< /cards >}} diff --git a/content/posts/_index.md b/content/posts/_index.md deleted file mode 100644 index 8d2430e..0000000 --- a/content/posts/_index.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Topics ---- - - -{{< cards >}} - {{< card link="art" title="Art" icon="pencil" >}} - {{< card link="wfc" title="Wave Function Collapse" icon="view-grid-add" >}} -{{< /cards >}} - - diff --git a/content/posts/art/_index.md b/content/posts/art/_index.md index a661390..92801ea 100644 --- a/content/posts/art/_index.md +++ b/content/posts/art/_index.md @@ -1,6 +1,6 @@ --- title: Art -weight: 1 +weight: 2 --- I don't consider myself much of an artist. To learn 3D, I could either download other people's diff --git a/content/posts/art/art-thumb.png b/content/posts/art/art-thumb.png new file mode 100644 index 0000000..e9b29b6 Binary files /dev/null and b/content/posts/art/art-thumb.png differ diff --git a/content/posts/tech/_index.md b/content/posts/tech/_index.md new file mode 100644 index 0000000..1990c42 --- /dev/null +++ b/content/posts/tech/_index.md @@ -0,0 +1,17 @@ +--- +title: Technical Blogs +weight: 1 +--- + +Anything that required code to create goes here. + +{{< cards >}} + +{{< card + link="/posts/tech/wfc/wfc-01-intro" + title="Wave Function Collapse" + icon="view-grid-add" + image="/posts/tech/wfc/wfc-thumb.png" +>}} + +{{< /cards >}} diff --git a/content/posts/tech/wfc/_index.md b/content/posts/tech/wfc/_index.md new file mode 100644 index 0000000..1890b0b --- /dev/null +++ b/content/posts/tech/wfc/_index.md @@ -0,0 +1,3 @@ +--- +title: Wave Function Collapse +--- diff --git a/content/posts/wfc/wfc-01-intro/index.md b/content/posts/tech/wfc/wfc-01-intro/_index.md similarity index 99% rename from content/posts/wfc/wfc-01-intro/index.md rename to content/posts/tech/wfc/wfc-01-intro/_index.md index 28ab153..5d39f70 100644 --- a/content/posts/wfc/wfc-01-intro/index.md +++ b/content/posts/tech/wfc/wfc-01-intro/_index.md @@ -1,6 +1,7 @@ +++ title = "Wave Function Collapse: First attempt" date = 2023-08-26 +weight = 1 +++ At some point in time I followed some indie devs on Twitter. I'd occasionally see retweets of diff --git a/content/posts/wfc/wfc-01-intro/dual-grid.jpeg b/content/posts/tech/wfc/wfc-01-intro/dual-grid.jpeg similarity index 100% rename from content/posts/wfc/wfc-01-intro/dual-grid.jpeg rename to content/posts/tech/wfc/wfc-01-intro/dual-grid.jpeg diff --git a/content/posts/wfc/wfc-01-intro/old-tileset.png b/content/posts/tech/wfc/wfc-01-intro/old-tileset.png similarity index 100% rename from content/posts/wfc/wfc-01-intro/old-tileset.png rename to content/posts/tech/wfc/wfc-01-intro/old-tileset.png diff --git a/content/posts/wfc/wfc-01-intro/random-wfc-normals.png b/content/posts/tech/wfc/wfc-01-intro/random-wfc-normals.png similarity index 100% rename from content/posts/wfc/wfc-01-intro/random-wfc-normals.png rename to content/posts/tech/wfc/wfc-01-intro/random-wfc-normals.png diff --git a/content/posts/wfc/wfc-01-intro/random-wfc.png b/content/posts/tech/wfc/wfc-01-intro/random-wfc.png similarity index 100% rename from content/posts/wfc/wfc-01-intro/random-wfc.png rename to content/posts/tech/wfc/wfc-01-intro/random-wfc.png diff --git a/content/posts/wfc/wfc-01-intro/shape-wfc-normals.png b/content/posts/tech/wfc/wfc-01-intro/shape-wfc-normals.png similarity index 100% rename from content/posts/wfc/wfc-01-intro/shape-wfc-normals.png rename to content/posts/tech/wfc/wfc-01-intro/shape-wfc-normals.png diff --git a/content/posts/wfc/wfc-01-intro/wire-sockets.png b/content/posts/tech/wfc/wfc-01-intro/wire-sockets.png similarity index 100% rename from content/posts/wfc/wfc-01-intro/wire-sockets.png rename to content/posts/tech/wfc/wfc-01-intro/wire-sockets.png diff --git a/content/posts/wfc/wfc-02-tiles/index.md b/content/posts/tech/wfc/wfc-02-tiles/_index.md similarity index 99% rename from content/posts/wfc/wfc-02-tiles/index.md rename to content/posts/tech/wfc/wfc-02-tiles/_index.md index 60913a6..5f06adb 100644 --- a/content/posts/wfc/wfc-02-tiles/index.md +++ b/content/posts/tech/wfc/wfc-02-tiles/_index.md @@ -1,6 +1,7 @@ +++ title = "Wave Function Collapse: Enumerating tiles" date = 2023-08-26 +weight = 2 +++ Oskar Stålberg's and BorisTheBrave's willingness to share the dirty diff --git a/content/posts/wfc/wfc-02-tiles/alltiles.png b/content/posts/tech/wfc/wfc-02-tiles/alltiles.png similarity index 100% rename from content/posts/wfc/wfc-02-tiles/alltiles.png rename to content/posts/tech/wfc/wfc-02-tiles/alltiles.png diff --git a/content/posts/wfc/wfc-02-tiles/basic-4.png b/content/posts/tech/wfc/wfc-02-tiles/basic-4.png similarity index 100% rename from content/posts/wfc/wfc-02-tiles/basic-4.png rename to content/posts/tech/wfc/wfc-02-tiles/basic-4.png diff --git a/content/posts/wfc/wfc-02-tiles/cubes.png b/content/posts/tech/wfc/wfc-02-tiles/cubes.png similarity index 100% rename from content/posts/wfc/wfc-02-tiles/cubes.png rename to content/posts/tech/wfc/wfc-02-tiles/cubes.png diff --git a/content/posts/wfc/wfc-02-tiles/diag-edge.png b/content/posts/tech/wfc/wfc-02-tiles/diag-edge.png similarity index 100% rename from content/posts/wfc/wfc-02-tiles/diag-edge.png rename to content/posts/tech/wfc/wfc-02-tiles/diag-edge.png diff --git a/content/posts/wfc/wfc-02-tiles/diags.png b/content/posts/tech/wfc/wfc-02-tiles/diags.png similarity index 100% rename from content/posts/wfc/wfc-02-tiles/diags.png rename to content/posts/tech/wfc/wfc-02-tiles/diags.png diff --git a/content/posts/wfc/wfc-02-tiles/dual-grid.jpeg b/content/posts/tech/wfc/wfc-02-tiles/dual-grid.jpeg similarity index 100% rename from content/posts/wfc/wfc-02-tiles/dual-grid.jpeg rename to content/posts/tech/wfc/wfc-02-tiles/dual-grid.jpeg diff --git a/content/posts/wfc/wfc-02-tiles/generated.png b/content/posts/tech/wfc/wfc-02-tiles/generated.png similarity index 100% rename from content/posts/wfc/wfc-02-tiles/generated.png rename to content/posts/tech/wfc/wfc-02-tiles/generated.png diff --git a/content/posts/wfc/wfc-02-tiles/lip_tiles.png b/content/posts/tech/wfc/wfc-02-tiles/lip_tiles.png similarity index 100% rename from content/posts/wfc/wfc-02-tiles/lip_tiles.png rename to content/posts/tech/wfc/wfc-02-tiles/lip_tiles.png diff --git a/content/posts/wfc/wfc-03-sockets/3octs.png b/content/posts/tech/wfc/wfc-03-sockets/3octs.png similarity index 100% rename from content/posts/wfc/wfc-03-sockets/3octs.png rename to content/posts/tech/wfc/wfc-03-sockets/3octs.png diff --git a/content/posts/wfc/wfc-03-sockets/index.md b/content/posts/tech/wfc/wfc-03-sockets/_index.md similarity index 99% rename from content/posts/wfc/wfc-03-sockets/index.md rename to content/posts/tech/wfc/wfc-03-sockets/_index.md index cfde25a..64acdc2 100644 --- a/content/posts/wfc/wfc-03-sockets/index.md +++ b/content/posts/tech/wfc/wfc-03-sockets/_index.md @@ -1,6 +1,7 @@ +++ title = "Wave Function Collapse: Adjacency data" date = 2023-08-26 +weight = 3 +++ In the previous post, we discussed how we could use 8 bit integers to represent diff --git a/content/posts/wfc/wfc-03-sockets/sock7.png b/content/posts/tech/wfc/wfc-03-sockets/sock7.png similarity index 100% rename from content/posts/wfc/wfc-03-sockets/sock7.png rename to content/posts/tech/wfc/wfc-03-sockets/sock7.png diff --git a/content/posts/wfc/wfc-03-sockets/sock_arch.png b/content/posts/tech/wfc/wfc-03-sockets/sock_arch.png similarity index 100% rename from content/posts/wfc/wfc-03-sockets/sock_arch.png rename to content/posts/tech/wfc/wfc-03-sockets/sock_arch.png diff --git a/content/posts/wfc/wfc-03-sockets/sockpaint.png b/content/posts/tech/wfc/wfc-03-sockets/sockpaint.png similarity index 100% rename from content/posts/wfc/wfc-03-sockets/sockpaint.png rename to content/posts/tech/wfc/wfc-03-sockets/sockpaint.png diff --git a/content/posts/wfc/wfc-03-sockets/socks.png b/content/posts/tech/wfc/wfc-03-sockets/socks.png similarity index 100% rename from content/posts/wfc/wfc-03-sockets/socks.png rename to content/posts/tech/wfc/wfc-03-sockets/socks.png diff --git a/content/posts/tech/wfc/wfc-thumb.png b/content/posts/tech/wfc/wfc-thumb.png new file mode 100644 index 0000000..a72aa5c Binary files /dev/null and b/content/posts/tech/wfc/wfc-thumb.png differ diff --git a/content/posts/wfc/_index.md b/content/posts/wfc/_index.md deleted file mode 100644 index a470ca1..0000000 --- a/content/posts/wfc/_index.md +++ /dev/null @@ -1,5 +0,0 @@ -+++ -title = "Wave Function Collapse" -weight = 2 -+++ - diff --git a/hugo.toml b/hugo.toml index f3b2a4f..bdffac0 100644 --- a/hugo.toml +++ b/hugo.toml @@ -31,11 +31,17 @@ unsafe = true noClasses = false [[menu.main]] -identifier = "posts" -name = "Posts" -pageRef = "/posts" +identifier = "tech" +name = "Tech" +pageRef = "/posts/tech" weight = 1 +[[menu.main]] +identifier = "art" +name = "Art" +pageRef = "/posts/art" +weight = 2 + [[menu.main]] name = "Search" weight = 3