Author Archive
-

We want your comments

http://freeze.sh/_/2017/botpit

Exclude files from a list

 

display file or file system status

 

color based on string

Because an MD5 hash is typ­i­cally expressed as a hexa­dec­i­mal num­ber, 32 dig­its long *, all you need to do is cut 6 char­ac­ters to get a color value. COLOR=`echo $SVG | md5sum | cut -c 1-6` To con­vert any string to a color value, just reduce it to the appro­pri­ate char­ac­ters (= a-f and 0–9),...
collaborative indecision

collaborative indecision

A mini exer­cise for the ‘Bad­ness & Con­flict’ work­shop, an ini­tia­tive of Pierre Huyghe­baert in col­lab­o­ra­tion with http://lgru.net and Con­stant. This setup allows to recom­bi­nate lay­ers from mul­ti­ple svg files to one svg file. How it works The svg files are sep­a­rated in lay­ers, each layer belong­ing to a type, defined in a cus­tom svg attribute typus="XXXX00"....
different lgm characters

different lgm characters

This script gen­er­ates com­bi­na­tion from lay­ered inkscape svg files. Lay­ers have spe­cial IDs and inkscapes --export-id=$ID option is used. First the svg is pre­pared for eas­ier pars­ing by con­vert­ing all spaces to newlines: cat $SVG | \ sed 's/display:none/display:inline/g' | \ sed 's/ /\n/g' > $TMPSVG Then for every ID con­tain­ing the cus­tom pat­tern ELEMENT-...
fontplate

fontplate

import geomerative.*; import processing.pdf.*;   RFont lfont; RShape lshape; RGroup lgroup; RPoint[][] lpoints; RMatrix mat;   PShape[] ImaginaryTools;   String ltext[] = loadStrings("i/free/voice/voice.txt"); String svglist[] = loadStrings("i/free/svg/load.list");   float x,y,xprev,yprev,randy,a; float scalefactor,lineheight; int indent; int textHeight = 800; int v;   int[] alreadytaken = new int[svglist.length]; // NUMBER OF SIMPLE SVGS int sn = 20;...
asynchronous poster production

asynchronous poster production

The ren­der­ing of the lgm posters is split into two asyn­cro­nous parts, because the actual poster gen­er­a­tor involves some stuff that no admin­is­tra­tor wants to have run­ning on a sta­ble web server. Part 1 is a sim­ple input inter­face, that does noth­ing more than writ­ing plain text files entered via a html textarea. This runs...
do.sh

do.sh

ID Development

ID Development

color print­ing mock­ups pro­duc­tion
Libre Graphics Meeting 2013

Libre Graphics Meeting 2013

swarm, perform, explore!

swarm, perform, explore!

grafik2slits

grafik2slits

 

Bash substitution

Bash substitution

Bash sup­ports a sur­pris­ing num­ber of string manip­u­la­tion oper­a­tions. Unfor­tu­nately, these tools lack a uni­fied focus. Some are a sub­set of para­me­ter sub­sti­tu­tion, and oth­ers fall under the func­tion­al­ity of the UNIX expr com­mand. This results in incon­sis­tent com­mand syn­tax and over­lap of func­tion­al­ity, not to men­tion con­fu­sion. * This is a short expla­na­tion of...
Make pdf files

Make pdf files

Two ways to com­bine exist­ing pdf files stored in lists. pdf­pages A sim­ple solu­tion to com­bine mul­ti­ple pdf files is to use LaTeX respec­tively the pdf­pages pack­age. With this code you can lay­out pdf pages on a page accord­ing to some para­me­tres. You need a work­ing LaTeX instal­la­tion, e.g. texlive on debian or ubuntu. You...