Richard Bolam at 60: T-minus 3,180 #BolamProspective #bolamat60 #bolamat50+1

Launch event postcard v3

Like much of my work, that title is half a joke and half deadly serious. I achieved much in the run-up to, and the year of Richard Bolam at 50, but there was so much more that I either failed to achieve, postponed, or simply did not complete. This is due to a number of life factors, not least more than a little mismanagement.

However, after much thought, I have decided to just continue the project and tag each subsequent year as #bolamat50+1, #bolamat50+2 etc, until I get to #bolamat60 (if I make it) and just see what happens on the way.

Partly inspired by Eduardo Paolozzi, Robert Rauschenberg & Jamie Reid (amongst many others), and referencing the Principia Discordia, Newton’s Principia Mathematica and the post-punk zine scene, I decided to assimilate some of the old material into a new publication (or publications) with a working title of “Principia Bolamatica”. This is a composite of leftover scraps from the “Stained by Dead Inkjets” sessions and scans from my notebooks and scrapbooks.

Principia mathematica page 2

Principia Bolamatica page x of x

I was introduced to the the Principia Discordia when I read Robert Anton Wilson’s book “Cosmic Trigger: The Final Secret of the Illuminati” when I was a teenager. Cosmic Trigger (volume 1 as it is now) is a load of new-age hokum and conspiracy theory bullshit, but is fascinating as a jumping off point for various weird shit that I have subsequently found interesting at times. The Principia Discordia is the gospel of a pseudo-religion called Discordianism. I am not a believer but I am drawn to the playfulness and non-literal interpretation of things like this, along with the cut-ups technique used by other artists I admire such as William Burroughs and David Bowie.

But that’s another story…

https://en.wikipedia.org/wiki/Principia_Discordia
https://en.wikipedia.org/wiki/Cosmic_Trigger_I:_The_Final_Secret_of_the_Illuminati
https://en.wikipedia.org/wiki/Philosophi%C3%A6_Naturalis_Principia_Mathematica

I have established an online backbone for this phase of the project as a group of WordPress blogs that will contain various media, but it is an ongoing project with no manifesto attached to it other than trying to finish the Richard Bolam at 50 project in a way that I am satisfied with it. As I have written before, the only element I consider a major failure is not getting the 12 issues of “Catalogue” finished within the Richard Bolam at 50 year but, although it’s too late to meet that deadline, I will be completing them over the next year or two. Issue two will be out soon.

The Principia Bolamatica will be hosted, one page at a time, on BolamABC and published bit by bit as one or more PDFs, but also look out for Bolam000, Bolam101, Bolam123, BolamA2Z, Bolam365, Bolam24/7, Bolam360, Bolam5x5, BolamXXX and BolamXYZ.

Screen shot 2015-08-10 at 11.40.59

Each of these blog sites will be used to host appropriate elements of various projects, some of which I have planned and some not. I will probably move over to bolamprospective.wordpress.com as a main site but richardbolamat50.wordpress.com will remain live and I might add more content if that is the appropriate place for it.

Stand by…

 

Advertisements

Casualty 14-18 ~ The making of a generative artwork by Richard Bolam – Part 11 #bolamat50 #casualty1418 #WW1

Screen shot 2014-10-21 at 11.35.19

My project started on the 28th June 2014 and Armistice Day of the same year will be 107 days into it out of 1,568 in total. That’s 1,091,400 lives lost so far (as a daily average) and there is still more than four years to go.

I have started to organise the Bash script a bit more by separating some of it into functions that can be passed parameters and called in a proper structured manner. The code is still very dirty and will probably remain so for while as I experiment with other variations.

This function is used to either colourise or remove a few individual figures from the blocks.

function UNITSTAMP {
#add/remove some individual figures

echo $MAXCOUNT
for e in $( gseq $MAXCOUNT )
do
echo $e”/”$MAXCOUNT
convert casualtytiled.png  -region 20×38+$[($[RANDOM % 20]) * 20]+$[($[RANDOM % 17]) * 38] -fill  “rgba($UNITSTAMPCOL)” -colorize $COLORIZ$
convert casualtytiled.png -transparent white casualtytiled.png
done
}

It’s hardly a huge program but what has become very apparent about Bash is how irregular the syntax is. I guess this is a product of open source development, the commands and structures do not comply to a reliably reproducible structure, and this is where other programming regimes such as Python really come into their own.

On the plus side, it is very convenient to be able to call a load of add-on commands and functions, as and when I need them.

However, in the future I might rewrite the software to use something more structured, such as PHP or Python, if they can do the graphic manipulations.

Screen shot 2014-10-21 at 11.45.15

To my eye, this has too many blanks.

Screen shot 2014-10-21 at 11.47.26

This is much more satisfying.

The blanks seem to work best when they are only occasional and only one or a small number on the same page. Here is the call from the main program loop.

#remove a few figures
if [ $[RANDOM % 10] -eq 0 ] ; then
MAXCOUNT=$[RANDOM % 5]
UNITSTAMPCOL=”255,255,255″
COLORIZE3=’100%’
echo ‘COLORIZE3 = ‘$COLORIZE3
UNITSTAMP
fi

I included this because it adds an element of mystery about the individuality of the highlighted or removed figures. A friend asked me what the blanks mean. My reply was – exactly, what do the blanks mean?

http://casualty1418.net

Casualty 14-18 ~ The making of a generative artwork by Richard Bolam – Part 10 #bolamat50 #casualty1418 #WW1

Untitled 3

This time I have added a similar routine to fill from the bottom-right to top-left. The next iteration might be to create a contiguous group in the middle that could have a ragged edge on the top and on the bottom (see below).

Code fragment:

UNITCOUNT=$[RANDOM % 340]

UNITROWS=$[$UNITCOUNT / 20]
UNITCOLUMNS=$[$UNITCOUNT % 20]
echo $”UNITCOUNT = “$UNITCOUNT#” – “$UNITROWS” rows, “$UNITCOLUMNS” columns”

UNITCOL1=”$[RANDOM % 255],$[RANDOM % 255],$[RANDOM % 255]”

# create top-left to bottom-right flow of figures using colourised blocks
echo “bottom “$[$UNITROWS * 38]
if [ $UNITROWS -ne 0 ] ; then
convert casualtytiled.png -region 400x$[$UNITROWS * 38]+0+0 -fill “rgba($UNITCOL1)” -colorize 30% casualtytiled.png
fi
if [ $UNITCOLUMNS -ne 0 ] ; then
convert casualtytiled.png -region $[$UNITCOLUMNS * 20]x38+0+$[$UNITROWS * 38] -fill “rgba($UNITCOL1)” -colorize 30% casualtytiled.png
fi

UNITCOUNT=$[RANDOM % 340]
UNITROWS=$[$UNITCOUNT / 20]
UNITCOLUMNS=$[$UNITCOUNT % 20]
echo $”UNITCOUNT = “$UNITCOUNT#” – “$UNITROWS” rows, “$UNITCOLUMNS” columns”

UNITCOL1=”$[RANDOM % 255],$[RANDOM % 255],$[RANDOM % 255]”

# create bottom-right to top-left flow of figures using colourised blocks
echo “rows from bottom “$[$UNITROWS * 38]
if [ $UNITROWS -ne 0 ] ; then
convert casualtytiled.png -region 400x$[$UNITROWS * 38]+0+$[646 – $[$UNITROWS * 38]] -fill “rgba($UNITCOL1)” -colorize 30% casualtytiled.png
fi
if [ $UNITCOLUMNS -ne 0 ] ; then
convert casualtytiled.png -region $[$UNITCOLUMNS * 20]x38+$[400 – $[$UNITCOLUMNS * 20]]+$[608 – $[$UNITROWS * 38]] -fill “rgba($UNITCOL1)” -colorize 30% casualtytiled.png
fi

Untitled 2

I have started to organise the routines into functions so that I can call them in a more structured way. More soon…

Casualty 14-18 ~ The making of a generative artwork by Richard Bolam – Part 9 #bolamat50 #casualty1418 #WW1

Screen shot 2014-08-10 at 18.49.00

In the parlance of modern coders:

BOOM!

I have implemented the batch creation of images and the automated posting of multiple, scheduled blog posts. It’s spam technology, basically, and I am rather pleased with myself.

I hasten to add that the code, although reliable, is quite klunky so far, with no error-checking, no error-correction, no subroutines or functions and no audit-logging. The software echoes some info to the console for me to keep an eye on it, but am still checking each blog individually post for errors.

However, it’s only a development version of the software, but it works! The important part of this is that what I have done so far is a successful proof of concept of the workflow; creating the images, batch emailing them and automatically scheduling the posts over consecutive days. I am just doing batches of three days initially, but when I have checked the software more I will extend the period as there is no way I can attend this project every day for more than four years.

http://casualty1418.net

As I have said before, I am not an expert programmer, but I have done a lot of programming over the years, all the way back to 1980. However, I must say Bash is very odd, although it can do, well pretty much anything although some achievements with it require an almost religious devotion and a huge leap of faith. It’s not for the faint-hearted or the easily diverted.

Fortunately my heart is not faint and I am rediscovering something of the evangelical excitement I remember from those early days of programming.

Anyway, I think I might also start printing these out on actual paper. I had not intended to print this version of the work at all, but it might make a interesting adjunct to the online version.

Code fragment:

#!/bin/bash
#casualty make script v14

for d in {1..3}
do
CURRENTDATE=$(date -v+$d’d’ +”%y_%m_%d”)
CURRENTLABELDATE=$(date -v+$d’d’ +”%d/%m/%y”)
SCHEDULEDATE=$(date -v+$d’d’ +”%Y-%m-%d”)
echo $CURRENTDATE
echo $SCHEDULEDATE

mkdir ‘Casualty1418-‘$CURRENTDATE
PATHNAME=’Casualty1418-‘$CURRENTDATE’/’
echo $PATHNAME

#image creation code here…

#email images to blog
cd $PATHNAME
FILENAMES=*.png
FILENAMES2=’-a ‘`echo $FILENAMES | sed ‘s/ / -a /g’`
echo $FILENAMES2

echo ‘[delay ‘$SCHEDULEDATE’ 07:00:00 GMT][tags #casualty1418,#bolamat50,#WW1,Casualty,Casualty 14-18,#firstworldwar,First World War,generative,algorithmic,computational,art,Richard Bolam,Bolam Retrospective,#bolamat50][nogallery]’ | mutt $FILENAMES2 -s ‘Casualty 14-18 ~ ‘$CURRENTLABELDATE’ #WW1 #casualty1418′ youruniqueemailaddress@post.wordpress.com
cd ..

done

The next stage of development might include rewriting the code to be a bit cleaner and structured. It would be better to attend to that now, rather than later when there is a lot more sauce on the spaghetti.

Stay tuned…

Casualty 14-18 ~ The making of a generative artwork by Richard Bolam – Part 8 #bolamat50 #casualty1418 #WW1

Screen shot 2014-08-07 at 16.07.58

By the way, I am not an expert programmer and the code published here is experimental and comes with absolutely NO WARRANTY WHATSOEVER, so please USE AT YOUR OWN RISK.

Okay, pick the bones out of this one.

FILENAMES2=’-a ‘`echo $FILENAMES | sed ‘s/ / -a /g’`

Every space and flying ant is very specific and those “back-ticks” are not optional. This code fragment simultaneously illustrates what is both good and bad about linux / unix. Although I am still a bit of a noob with Bash, I can now reliably produce working code that actually does things I want. However, I am still regularly stumped by the unintuitive subtleties of the syntax.

Also, although there is a wealth of documentation online, much of it is incomplete and/or it does not necessarily work exactly the same on different implementations of Linux. I am not sure how much of this is due to my use of Mac OS X.

Anyway, it took a few hours of every combination of trial and error and a few leaps of faith to get this part of the script working. What I was trying to get working here is the automation of emailing the blog posts. I found a very helpful post on simplehelp.net:

http://www.simplehelp.net/2008/12/01/how-to-send-email-from-the-linux-command-line/

The Linux mail command does exactly what you would think, but it does not support attachments. However, there is an other command mutt which does the same but adds a lot more functionality. It’s deceptively simple to send an email from the command line, but for a while I could not work out how to add multiple attachments, and this is the bit that required a bit of head-banging.

If you google search sending multiple attachments you get lots of references to adding “-a” flag to each of the filenames, but I need to add a whole folder full and don’t want to have to list them verbosely.

I will not keep you guessing as long as it took me (and this might not be the best method) but just passing a list of file/path names after the first “-a” attachment flag does not work no matter what I tried. Anyway, with a bit of lateral thinking I wondered if I could programmatically format a list of file/pathnames as a string with a “-a” in front of each one.

This kind of preprocessing is where Bash programming really excels, and I found reference to the sed (stream editor) command to substitute the string” -a ” instead of the single spaces separating the derived list. That leaves the first file without a flag, hence the literal at the beginning of the calculation.

Code fragment:

#email images to a blog post
cd $PATHNAME
FILENAMES=*.png
FILENAMES2=’-a ‘`echo $FILENAMES | sed ‘s/ / -a /g’`
echo $FILENAMES2
echo ‘[tags #casualty1418,#bolamat50,#WW1,Casualty,Casualty 14-18,#firstworldwar,First World War,generative,algorithmic,art,Richard Bolam,Bolam Retrospective,#bolamat50][nogallery]’ | mutt $FILENAMES2 -s ‘Casualty 14-18 ~ ‘$(date +”%d/%m/%y”)’ #casualty1418 #WW1 – test post’ youremailaddress@post.wordpress.com

WordPress has a very full implementation of formatting options for emailing blog posts to your own blog. You have to create a unique email address and you can include various tags to add features to the post. The code here includes meta tags and an instruction to keep the images as a series of inline images rather than a gallery.
http://en.support.wordpress.com/post-by-email/

The next stage will be to add a tag to schedule the posts for a specific time and date. More soon…
http://casualty1418.net

 

 

Casualty1418-14_08_06-01

Casualty 14-18 ~ The making of a generative artwork by Richard Bolam – Part 7 #bolamat50 #casualty1418 #WW1

This is where it’s starting to get interesting. I decided to add a routine to colour figures from the top left to make it look more like a cumulative pictogram. This is merely a visual effect and not representing any real data, but it prompts the recognition of cumulative data based upon the Western top-left to bottom-right reading order.

Casualty1418-14_08_05-01

The first version of this bit of code stamps individual figures over the top of the already created array of black figures, one-by-one, along rows until it reaches a randomly derived limit. However, immediately after finishing this code, I realised that is a very inefficient way of colouring the existing figures, although it works fine.

If the code is going to colourise this new selection of figures the same colour, it is much more efficient to do it in a block rather than one figure at a time. Or should I say, in two blocks, one for the full rows and one for the partial final row.

Screen shot 2014-08-06 at 12.35.33

I have left in the one-by-one routine as I might use it later to alter figures one at a time but still in a cumulative order. I have commented it out for the time being.

I have also added a couple of variables to hold RGB colour values, rather than just generating them randomly on-the-fly, or literally.

Code fragment:

#pad figure
UNITCOL1=”$[RANDOM % 255],$[RANDOM % 255],$[RANDOM % 255]”
UNITCOL2=”$[RANDOM % 255],$[RANDOM % 255],$[RANDOM % 255]”
echo ‘UNITCOL1 ‘$UNITCOL1’ – UNITCOL2 ‘$UNITCOL2
convert casualty.png -gravity center -extent 20×38 casualtypad.png
convert casualtypad.png -transparent white casualtypad.png
convert casualtypad.png -fill “rgba($UNITCOL1)” -colorize 100% casualtycolour.png
convert casualtycolour.png -transparent white casualtycolour.png

#create tiled image of figures & make background transparent
convert -size 400×646 xc:white -composite tile:casualtypad.png casualtytiled.png
convert casualtytiled.png -transparent white casualtytiled.png

#create a top-left to bottom-right flow of figures row-by-row
UNITCOUNT=$[RANDOM % 340]
j=”1″
echo $”UNITCOUNT = “$UNITCOUNT” : j=”$j
UNITROWS=$[$UNITCOUNT / 20]
UNITCOLUMNS=$[$UNITCOUNT % 20]
echo $”UNITCOUNT = “$UNITCOUNT#” – “$UNITROWS” rows, “$UNITCOLUMNS” columns”
#
#for v in $( gseq $UNITROWS )
#do
# for h in {1..20}
# do
# composite -dissolve “50,100” -geometry +$[($h – 1) * 20]+$[($v – 1) * 38] casualtycolour.png casualtytiled.png casualtytiled.png
# echo $[$h * 20]”-“$[$v * 38]
# done
#done
#for h in $( gseq $UNITCOLUMNS )
#do
# composite -dissolve “50,100” -geometry +$[($h – 1) * 20]+$[($UNITROWS – 1) * 38] casualtycolour.png casualtytiled.png casualtytiled.png
#done

#j=$[$j+1]
#echo $j’/’$UNITCOUNT

# create top-left to bottom-right flow of figures using colourised blocks
echo “bottom “$[$UNITROWS * 38]
if [ $UNITROWS -ne 0 ] ; then
convert casualtytiled.png -region 400x$[$UNITROWS * 38]+0+0 -fill “rgba($UNITCOL1)” -colorize 30% casualtytiled.png
fi
if [ $UNITCOLUMNS -ne 0 ] ; then
convert casualtytiled.png -region $[$UNITCOLUMNS * 20]x38+0+$[$UNITROWS * 38] -fill “rgba($UNITCOL1)” -colorize 30% casualtytiled.png
fi

The results of the new additions bring much more subtlety and depth to the images. This new code will be implemented at the end of the week.

However, a more pressing addition is the automation of blog post creation and batch processing of multiple days. So far, I am still creating the pages manually.

Casualty1418-14_08_05-01

 

Casualty 14-18 – How many is too many? – Counting the dead. #casualty1418 #WW1 #bolamat50

The answer to the question should be pretty obvious. One.

I am not interested in adopting an academic approach to art, I think it only leads to self-conscious and overly-rationalised work. However, if your work references the real world, it is your duty to at least get your facts straight. Otherwise how can it have any authenticity?

As I have been researching the First World War, I am horrified. Although it has been thoroughly documented for a century, the details are endlessly shocking.

These days, every single death in whichever war is currently of interest to our news channels is individually recorded, often in a mawkish reverence that only serves to underline the bias of what we are allowed to know about.

My work “Casualty 14-18” is an attempt at comprehending something of the scale of the tragedy visited upon half the world by the vanity of an undeservingly privileged few.

However, if the First World War could not have lead to an anarchist utopia, then there truly is no hope for the human race, and this is only reinforced by the fact that it was repeated and multiplied a mere 25 years later.

I got my figure of 16 million from wikipedia, although I had originally gathered the figure of 15 million from other sources.

The Telegraph quotes 8.5 million and the BBC TV drama serial “37 days” quotes 10 million in its epilogue. I believe the figures up to 10 million do not include civilian deaths, but why would you not include them?

http://www.telegraph.co.uk/history/world-war-one/11004301/World-War-One-in-numbers-the-shocking-figures-behind-the-slaughter.html

I chose the 28th July as the starting date of my Casualty 14-18 work as it is the date that the first shots were fired. Today is the 4th of August, the centenary of the British ultimatum to Kaiser Bill which, to my mind at least, is too anglocentric, but whatever. We all have to choose a number, choose a date and do something with it.

Casualty1418-14_08_04-09

Although the First World War is over a long time ago, wars continue and casualties accumulate, and not only in Gaza. Also currently in Ukraine, Syria, Iraq, Egypt etc etc etc. Not all officially declared wars, and not all of them of any interest to the British government or British media.

I make no claim to be a historian so I get my list of ongoing armed conflicts from Wikipedia via the Uppsala Conflict Data Program.

http://en.wikipedia.org/wiki/List_of_ongoing_armed_conflicts

How many is too many? It seems that there is no upper limit.