Skip to content

Commit d1ae944

Browse files
author
Fabian Morón Zirfas
committed
chore(import all gallery content):
1 parent 868b6de commit d1ae944

File tree

83 files changed

+719
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+719
-2
lines changed

.netlify/state.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"siteId": "c081644c-312b-486e-8594-8bb5c3a869ca"
3+
}

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v11.9.0

_source/_layouts/gallery-item.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
layout: default
3+
---
4+
<section>
5+
<h1>{{page.title}}</h1>
6+
<p>{{page.description}}</p>
7+
{%- for author in page.authors -%}
8+
{%- if author.url != null -%}
9+
<a href="{{author.url}}">{{author.name}}</a><span>, </span>
10+
{%- else -%}
11+
{{author.name}}</a><span>, </span>
12+
{%- endif -%}
13+
{%- endfor -%}
14+
</section>
15+
16+
<main>
17+
{{content}}
18+
</main>
Loading
Loading
Loading
Loading
Loading
Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
---
2+
authors:
3+
- name: Felicitas Katharina Merz
4+
url: http://www.felicitas-merz.de
5+
- name: Inken Zierenberg
6+
url: null
7+
8+
layout: gallery-item
9+
title: "Affected Perception"
10+
description: The automated design works with the typographical layout content. Out of the manual word categorization eight arrays are sorted after the word importance. The automated scripting changes the words in the single arrays after the defined objectstyles. Through this the most important word groups stay readable and the less important word groups get less readable.
11+
---
12+
13+
14+
![](./images/7_DSC_0402_17.jpg)
15+
16+
The developed theme „Affected perception“, refers to an abridgment of the text „Program or be programmed“ by Douglas Rushkoff. The goal was to create an appereance based on the manipulated perception of the typographical layout content. The project should represent an example of the field of abstraction, modification, readability and alienation. The improvement of the workflow consists of the steps: Manually creation by hand , generating and modifying by code and re-editing for print publishing by hand. The concept is based on eight classified word groups (arrays). Every word is sorted after its importance in the text. The goal is to automate the determinations of a single word group by a certain defined object style. The object styles hel- ped to define the difference of the visual appearance. Through the defined object styles the color changed into transparent and a cast shadow is added. The cast shadow gets bigger with the unimportance and the opacity is reduced with the unimportance of the words. The soft edges and the additional drop shadows help to create a liquid shade of words hierarchical sorted after importance. As result of the code the most important word group stays readable and the less important words get unreadable.
17+
18+
![](./images/1____DSC_0402_191-466x350.jpg)
19+
20+
![](./images/2_DSC_0363_2-492x350.jpg)
21+
22+
![](./images/4____DSC_0436_32-527x350.jpg)
23+
24+
![](./images/6_DSC_0393_13-489x350.jpg)
25+
26+
### Source
27+
28+
{%- highlight javascript -%}
29+
#includepath "~/Documents/;%USERPROFILE%Documents";
30+
#include "basiljs/bundle/basil.js";
31+
32+
function draw() {
33+
34+
var impWords1 = ["human", "beings", "listen", "speak", "read", "write", "digital", "reality", "programs", "programmed", "landscape", "software", "Program", "access", "control", "panel", "digital", "technologies", "Computers", "networks", "living", "things", "technology", "future", "programming", "cooperation", "blueprint", "design", "progress", "knowledge", "civilization"];
35+
var impWords2 = ["language", "literacy ", "choice", "tools", "instructions", "characterize", "shaping", "possibilities", "ability"];
36+
var impWords3 = ["acquired", "learned", "gained", "use", "increasingly", "make", "emerging", "create", "Choose", "ways", "natural", "means", "way", "live", "work", "world", "creating", "collective", "social", "economic", "practical", "artistic", "spiritual", "tremendous", "gave", "shared", "inconceivably", "conceivable", "entirely", "engaged","connected", "responding", "unpredictably", "opposed", "interactive", "incapable", "learn", "works", "give"];
37+
var impWords4 = ["move", "highly", "simple", "former", "latter", "real", "get", "many", "growth", "went", "markedly", "different", "more", "mere", "comes", "come", "take", "increasingly", "important", "explicit", "matters", "together"];
38+
var impWords5 = ["not", " just", "into", "must", "but", "ahead,", "will", "really", "gain", "could", "last", "make", "while", "out", "before", "like", "Unlike", "even", "also", "as", " such", "After", "pass", "now"];
39+
var impWords6 = ["rake", "pen", "jackhammer", "words", "people", "call", "role"];
40+
var impWords7 = ["When", "we", "how", "them", "you", "be", "it", "are", "what", "They", "themselves", "with", "itself", "our", "will", "both", "without", "why", "We", "they"];
41+
var impWords8 = ["to", "And", "In", "an", "or", "It´s", "the", "and", "For", "than", "a", "This", "is", "it", "its", "of", "on", "it's", "itself.", "in", "That's", "that,", "them.", "themselves", "that", "That´s", "this", "The", "for", "to", "so"];
42+
43+
var story = b.doc().stories[0]; // first story in document
44+
45+
var words = b.words( story );
46+
47+
b.layer("generated");
48+
49+
for( var i = 0; i < words.length; i++ ) {
50+
51+
if(!words[i].isValid) {
52+
b.warning("ungültiges Wort, vermutlich ausserhalb der TextFrames!");
53+
return;
54+
}
55+
56+
var tf = words[i].parentTextFrames[0];
57+
b.page(tf);
58+
59+
var bounds = b.bounds(words[i]);
60+
var newTf = b.text(words[i].contents, bounds.left, bounds.top, bounds.width + 3, bounds.height);
61+
62+
try{
63+
lookUpWord(words[i], newTf, impWords1, "imp1");
64+
lookUpWord(words[i], newTf, impWords2, "imp2");
65+
lookUpWord(words[i], newTf, impWords3, "imp3");
66+
lookUpWord(words[i], newTf, impWords4, "imp4");
67+
lookUpWord(words[i], newTf, impWords5, "imp5");
68+
lookUpWord(words[i], newTf, impWords6, "imp6");
69+
lookUpWord(words[i], newTf, impWords7, "imp7");
70+
lookUpWord(words[i], newTf, impWords8, "imp8");
71+
} catch(exception) {
72+
continue; // gehe zum nächsten wort
73+
}
74+
75+
}
76+
77+
78+
function lookUpWord(word, newTf, stringArray, objStyleName){
79+
80+
for( var q = 0; q < stringArray.length; q++ ) {
81+
82+
if( stringArray[q] === word.contents ){
83+
b.println(objStyleName);
84+
var style = b.doc().objectStyles.itemByName(objStyleName);
85+
newTf.applyObjectStyle(style);
86+
throw new Exception();
87+
}
88+
}
89+
90+
}
91+
92+
}
93+
94+
95+
b.go();
96+
97+
{%- endhighlight -%}
Binary file not shown.

0 commit comments

Comments
 (0)