Skip to content

Commit 0143b4f

Browse files
committed
example project structure
1 parent 85b0d12 commit 0143b4f

File tree

11 files changed

+54
-23
lines changed

11 files changed

+54
-23
lines changed

_config.yml

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ collections:
1616
classes:
1717
output: true
1818
permalink: /classes/:path/
19+
projects:
20+
output: true
21+
permalink: /projects/:path/
1922
faqs:
2023
output: false
2124
defaults:

_includes/image-gallery.html

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<style>
2+
.image-gallery {overflow: auto; margin-left: -1%!important;}
3+
.image-gallery a {float: left; display: block; margin: 0 0 1% 1%; width: 19%; text-align: center; text-decoration: none!important;}
4+
.image-gallery a span {display: block; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; padding: 3px 0;}
5+
.image-gallery a img {width: 100%; display: block;}
6+
</style>
7+
8+
<div class="image-gallery">
9+
{% for file in site.static_files %}
10+
{% if file.path contains include.folder %}
11+
{% if file.extname == '.jpg' or
12+
file.extname == '.jpeg' or
13+
file.extname == '.JPG' or
14+
file.extname == '.JPEG' or
15+
file.extname == '.png' or
16+
file.extname == '.PNG' or
17+
file.extname == '.gif' or
18+
file.extname == '.GIF' %}
19+
20+
{% assign filenameparts = file.path | split: "/" %}
21+
{% assign filename = filenameparts | last | replace: file.extname,"" %}
22+
23+
<a href="{{ file.path }}" title="{{ filename }}">
24+
<!-- <img src="//images.weserv.nl/?url=sfpc.io/{{ file.path }}&w=300&h=300&output=jpg&q=50&t=square" alt="{{ filename }}" /> -->
25+
<img src="{{ file.path }}" alt="{{ filename }}" />
26+
<!-- <span>{{ filename }}</span> -->
27+
</a>
28+
{% endif %}
29+
{% endif %}
30+
{% endfor %}
31+
</div>

_includes/project.html

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<article>
2+
<h4>{{ include.project.name }}</h4>
3+
{{ include.project.content }}
4+
{{ }}
5+
{% include image-gallery.html folder="static/img/projects/the-emergence-and-decay-of-computation" %}
6+
</article>

_includes/projects/alexander-miller.md

-15
This file was deleted.

_layouts/person.html

+8-5
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,15 @@
44
<div class="row">
55
{% if content %}
66
<section class="col-md-6 col-sm-6">
7-
<h1>{{page.title}}</h1>
7+
<h1>{{ page.title }}</h1>
88
{{content}}
9-
10-
{% assign project = 'projects/' | append: 'alexander-miller.md' %}
11-
{% capture project_include %}{% include {{ project }} %}{% endcapture %}
12-
{{ project_include | markdownify }}
9+
{% assign projects = site.projects | where: "artist", page.slug %}
10+
{% if projects != '' %}
11+
<h3>Projects</h3>
12+
{% for project in projects %}
13+
{% include project.html project=project %}
14+
{% endfor %}
15+
{% endif %}
1316
</section>
1417
{% endif %}
1518
<section class="info col-md-4 col-md-offset-1 col-sm-6">

_people/alexander-miller.md

-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,5 @@ affiliation:
88
website: http://spacefiller.space/
99
instagram: space.filler.art
1010
place: Seattle, WA
11-
projects:
12-
- alexander-miller
1311
---
1412
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.

static/img/projects/alexander-miller/info.md renamed to _projects/the-emergence-and-decay-of-computation.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
<iframe src="https://player.vimeo.com/video/336939272" width="640" height="360" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe>
1+
---
2+
name: The Emergence and Decay of Computation
3+
artist: alexander-miller
4+
---
5+
6+
<iframe src="https://player.vimeo.com/video/336939272" width="480" height="270" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe>
27
<p><a href="https://vimeo.com/336939272">The Emergence and Decay of Computation</a> from <a href="https://vimeo.com/alexmiller">SPACEFILLER</a> on <a href="https://vimeo.com">Vimeo</a>.</p>
38

49
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.

0 commit comments

Comments
 (0)