From 7e29d1a492f10bd1da1e74f8aa6ef67e5780472e Mon Sep 17 00:00:00 2001 From: Brian Date: Wed, 8 Jan 2020 03:20:00 -0500 Subject: [PATCH] example project structure --- _config.yml | 3 ++ _includes/image-gallery.html | 31 ++++++++++++++++++ _includes/project.html | 7 ++++ _includes/projects/alexander-miller.md | 15 --------- _layouts/person.html | 13 +++++--- _people/alexander-miller.md | 2 -- .../the-emergence-and-decay-of-computation.md | 7 +++- .../image1.jpg | Bin .../image2.jpg | Bin .../image3.jpg | Bin .../image4.jpg | Bin 11 files changed, 55 insertions(+), 23 deletions(-) create mode 100644 _includes/image-gallery.html create mode 100644 _includes/project.html delete mode 100644 _includes/projects/alexander-miller.md rename static/img/projects/alexander-miller/info.md => _projects/the-emergence-and-decay-of-computation.md (81%) rename static/img/projects/{alexander-miller => the-emergence-and-decay-of-computation}/image1.jpg (100%) rename static/img/projects/{alexander-miller => the-emergence-and-decay-of-computation}/image2.jpg (100%) rename static/img/projects/{alexander-miller => the-emergence-and-decay-of-computation}/image3.jpg (100%) rename static/img/projects/{alexander-miller => the-emergence-and-decay-of-computation}/image4.jpg (100%) diff --git a/_config.yml b/_config.yml index 425e33b1..cac123d2 100644 --- a/_config.yml +++ b/_config.yml @@ -16,6 +16,9 @@ collections: classes: output: true permalink: /classes/:path/ + projects: + output: true + permalink: /projects/:path/ faqs: output: false defaults: diff --git a/_includes/image-gallery.html b/_includes/image-gallery.html new file mode 100644 index 00000000..db5176d5 --- /dev/null +++ b/_includes/image-gallery.html @@ -0,0 +1,31 @@ + + + \ No newline at end of file diff --git a/_includes/project.html b/_includes/project.html new file mode 100644 index 00000000..6ff66fc9 --- /dev/null +++ b/_includes/project.html @@ -0,0 +1,7 @@ +
+

{{ include.project.name }}

+ {{ include.project.content }} + {% capture folder %}static/img/projects/{{ include.project.slug }}{% endcapture %} +

+ {% include image-gallery.html folder=folder %} +
\ No newline at end of file diff --git a/_includes/projects/alexander-miller.md b/_includes/projects/alexander-miller.md deleted file mode 100644 index 35da6587..00000000 --- a/_includes/projects/alexander-miller.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: The Emergence and Decay of Computation -artist: Alexander Miller -images: - - alexander-miller-1.jpg - - alexander-miller-2.jpg - - alexander-miller-3.jpg - - alexander-miller-4.jpg ---- - -

The Emergence and Decay of Computation from SPACEFILLER on Vimeo.

- -Hacked receipt printers hang from their own receipts above a basin of water and slowly print themselves to death over the course of three days. The printers output rows of a cellular automaton — a mathematical simulation that generates emergent patterns from simple rules. Entering the water short circuits the printer, permanently killing it. The output of the cellular automaton simulation is directly linked to the destruction of the device computing the simulation. - -The piece explores the tension between temporary structures and the inevitability of decay. It celebrates the beauty and order of computation as an emergent phenomenon of the universe, while also emphasizing its finiteness and ephemerality. \ No newline at end of file diff --git a/_layouts/person.html b/_layouts/person.html index b2fb89c7..3381a8cf 100644 --- a/_layouts/person.html +++ b/_layouts/person.html @@ -4,12 +4,15 @@
{% if content %}
-

{{page.title}}

+

{{ page.title }}

{{content}} - - {% assign project = 'projects/' | append: 'alexander-miller.md' %} - {% capture project_include %}{% include {{ project }} %}{% endcapture %} - {{ project_include | markdownify }} + {% assign projects = site.projects | where: "artist", page.slug %} + {% if projects != '' %} +

Projects

+ {% for project in projects %} + {% include project.html project=project %} + {% endfor %} + {% endif %}
{% endif %}
diff --git a/_people/alexander-miller.md b/_people/alexander-miller.md index 65f64bd9..2d4d75ce 100644 --- a/_people/alexander-miller.md +++ b/_people/alexander-miller.md @@ -8,7 +8,5 @@ affiliation: website: http://spacefiller.space/ instagram: space.filler.art place: Seattle, WA -projects: -- alexander-miller --- Alex is a programmer, teacher and artist who is interested in real-time interactive generative systems. His work explores the ideas of order, chaos, complexity, emergent behavior, and scientific modeling. diff --git a/static/img/projects/alexander-miller/info.md b/_projects/the-emergence-and-decay-of-computation.md similarity index 81% rename from static/img/projects/alexander-miller/info.md rename to _projects/the-emergence-and-decay-of-computation.md index 4c87e57f..dcd80c49 100644 --- a/static/img/projects/alexander-miller/info.md +++ b/_projects/the-emergence-and-decay-of-computation.md @@ -1,4 +1,9 @@ - +--- +name: The Emergence and Decay of Computation +artist: alexander-miller +--- + +

The Emergence and Decay of Computation from SPACEFILLER on Vimeo.

Hacked receipt printers hang from their own receipts above a basin of water and slowly print themselves to death over the course of three days. The printers output rows of a cellular automaton — a mathematical simulation that generates emergent patterns from simple rules. Entering the water short circuits the printer, permanently killing it. The output of the cellular automaton simulation is directly linked to the destruction of the device computing the simulation. diff --git a/static/img/projects/alexander-miller/image1.jpg b/static/img/projects/the-emergence-and-decay-of-computation/image1.jpg similarity index 100% rename from static/img/projects/alexander-miller/image1.jpg rename to static/img/projects/the-emergence-and-decay-of-computation/image1.jpg diff --git a/static/img/projects/alexander-miller/image2.jpg b/static/img/projects/the-emergence-and-decay-of-computation/image2.jpg similarity index 100% rename from static/img/projects/alexander-miller/image2.jpg rename to static/img/projects/the-emergence-and-decay-of-computation/image2.jpg diff --git a/static/img/projects/alexander-miller/image3.jpg b/static/img/projects/the-emergence-and-decay-of-computation/image3.jpg similarity index 100% rename from static/img/projects/alexander-miller/image3.jpg rename to static/img/projects/the-emergence-and-decay-of-computation/image3.jpg diff --git a/static/img/projects/alexander-miller/image4.jpg b/static/img/projects/the-emergence-and-decay-of-computation/image4.jpg similarity index 100% rename from static/img/projects/alexander-miller/image4.jpg rename to static/img/projects/the-emergence-and-decay-of-computation/image4.jpg