hardware – metabiosis http://metabiosis.kuri.mu Dependence of one organism on another for the preparation of an environment in which it can live. Tue, 04 Nov 2014 15:40:59 +0000 en-US hourly 1 https://wordpress.org/?v=4.4.2 Dot Matrix patterns http://metabiosis.kuri.mu/2008/03/25/dot-matrix-patterns/ http://metabiosis.kuri.mu/2008/03/25/dot-matrix-patterns/#respond Tue, 25 Mar 2008 00:18:32 +0000 http://metabiosis.goto10.org/2008/03/25/dot-matrix-patterns/ In “hello process”, each iteration, through all the small bits of FORTH code inside the block file image, is visualized as one line of graphics on paper from the dot matrix printer. These graphics are not generated as an image and sent to the printer, but instead are directly using the 8-pin graphics mode of the printer.

In this case, each of the eight bits in a byte of data sent to the printer corresponds to one pin on the printhead. A bit’s value can be either 1 or 0. When the printer receives the data, it interprets a bit with a value of 1 as a command to fire the corresponding pin. Bits that are set to 0 don’t cause pins to fire.

Each block code will end up with its own “byte ID” so it can be visualized and identified on paper in the graphics line. But before getting there, a few tests have been done to try different bit combos and select the generators the most aesthetically pleasing for us :)

Dot Matrix patterns 6Dot Matrix patterns 2Dot Matrix patterns 3Dot Matrix patterns 7

Below, one of the small quick and dirty shell scripts used to quickly test different patterns:

#!/bin/sh
# OKI 320 ML tests
# this test is to generate (crap) random 8 pin mode patterns
#PRNG
function rand {
echo "obase=8;`expr $RANDOM % 256`" | bc
}
function randpat {
n=1
while [ $n -le 256 ]; do
RND=`rand`
echo -ne '\'$RND
n=$((n+1))
done
}
PATTERN=`randpat`
# noise
# PATTERN2=`head /dev/urandom -c 1024`
echo -e '^[@^[5^[9^[*1\4'$PATTERN'^[@' | lp -o raw

Dot Matrix patterns 5Dot Matrix patterns 1Dot Matrix patterns 4Dot Matrix patterns 8

]]>
http://metabiosis.kuri.mu/2008/03/25/dot-matrix-patterns/feed/ 0
meshy factory http://metabiosis.kuri.mu/2007/12/10/meshy-factory/ http://metabiosis.kuri.mu/2007/12/10/meshy-factory/#comments Mon, 10 Dec 2007 13:01:11 +0000 http://metabiosis.goto10.org/2007/12/17/meshy-factory/ All the nodes are now complete! Last batch was done 4 at a time in a brainless repeat mode enjoying the fume from the melting lead…

meshy_build-dsc00459.JPGmeshy_build-dsc00463.JPGmeshy_build-dsc00465.JPGmeshy_build-dsc00466.JPG

meshy_build-dsc00470.JPGmeshy_build-dsc00471.JPGmeshy_build-dsc00472.JPGmeshy_build-dsc00473.JPGmeshy_build-dsc00474.JPGmeshy_build-dsc00476.JPGmeshy_build-dsc00476.JPGmeshy_build-dsc00477.JPGmeshy_build-dsc00478.JPG

]]>
http://metabiosis.kuri.mu/2007/12/10/meshy-factory/feed/ 1