Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project structure #221

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ collections:
classes:
output: true
permalink: /classes/:path/
projects:
output: true
permalink: /projects/:path/
faqs:
output: false
defaults:
Expand Down
31 changes: 31 additions & 0 deletions _includes/image-gallery.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<style>
.image-gallery {overflow: auto; margin-left: -1%!important;}
.image-gallery a {float: left; display: block; margin: 0 0 1% 1%; width: 19%; text-align: center; text-decoration: none!important;}
.image-gallery a span {display: block; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; padding: 3px 0;}
.image-gallery a img {width: 100%; display: block;}
</style>

<div class="image-gallery">
{% for file in site.static_files %}
{% if file.path contains include.folder %}
{% if file.extname == '.jpg' or
file.extname == '.jpeg' or
file.extname == '.JPG' or
file.extname == '.JPEG' or
file.extname == '.png' or
file.extname == '.PNG' or
file.extname == '.gif' or
file.extname == '.GIF' %}

{% assign filenameparts = file.path | split: "/" %}
{% assign filename = filenameparts | last | replace: file.extname,"" %}

<a href="{{ file.path }}" title="{{ filename }}">
<!-- <img src="//images.weserv.nl/?url=sfpc.io/{{ file.path }}&w=300&h=300&output=jpg&q=50&t=square" alt="{{ filename }}" /> -->
<img src="{{ file.path }}" alt="{{ filename }}" />
<!-- <span>{{ filename }}</span> -->
</a>
{% endif %}
{% endif %}
{% endfor %}
</div>
7 changes: 7 additions & 0 deletions _includes/project.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<article>
<h4>{{ include.project.name }}</h4>
{{ include.project.content }}
{% capture folder %}static/img/projects/{{ include.project.slug }}{% endcapture %}
<br /><br />
{% include image-gallery.html folder=folder %}
</article>
9 changes: 8 additions & 1 deletion _layouts/person.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,15 @@
<div class="row">
{% if content %}
<section class="col-md-6 col-sm-6">
<h1>{{page.title}}</h1>
<h1>{{ page.title }}</h1>
{{content}}
{% assign projects = site.projects | where: "artist", page.slug %}
{% if projects != '' %}
<h3>Projects</h3>
{% for project in projects %}
{% include project.html project=project %}
{% endfor %}
{% endif %}
</section>
{% endif %}
<section class="info col-md-4 col-md-offset-1 col-sm-6">
Expand Down
11 changes: 11 additions & 0 deletions _projects/the-emergence-and-decay-of-computation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: The Emergence and Decay of Computation
artist: alexander-miller
---

<iframe src="https://player.vimeo.com/video/336939272" width="480" height="270" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe>
<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>

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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/projects/syd-low/SFPC Showcase_08.jpg
28 changes: 28 additions & 0 deletions utilities/print_students.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# this script loops through all the files in the _people directory and outputs
# a csv list of students, which can then be imported into excel/google sheets.
#
# in order to run this file, you must install frontmatter
#
# pip install python-frontmatter
#

import frontmatter
import os


print('name,class,website')

for filename in os.listdir('_people'):
person = frontmatter.load('_people/' + filename)
name = person['title']
website = person['website'] if 'website' in person else ''
website = '' if website == None else website
student_class = None

for affiliation in person['affiliation']:
if affiliation['role'] == 'Student':
student_class = affiliation['class']

if student_class != None:

print(name + ',' + student_class + ',' + website)