Categories
Too lazy to categorize

Generated By Artificial Stupidity

Today’s cutup always generates a surplus of images with which I sometimes try to generate more interesting collages and sometimes create animate gifs with a series of similar sized images.

The raw gif for this series ended up being a bit too large for my blog to handle but after processing via https://ezgif.com/ it brought it down around 10MB which I could upload.

$ identify coalesce-Oct-30-2021-114.jpg
coalesce-Oct-30-2021-114.jpg JPEG 1000x820 1000x820+0+0 8-bit sRGB 196458B 0.000u 0:00.000

The images come from stories I randomly select in my mostly unread RSS reader. Each day I select 100 random stories, scrape the images and text from them and reassemble. Since I am not able to read all the stories in my RSS reader I would like to take a random sample of material from them and create this assemblage which will at least give me a vague idea of what is happening in the Internet world today.

As if I didn’t know a certain Internet site was pitching a new idea. Which will go horribly wrong in my opinion, but what are you going to do. Make art is one thing I can do, or at least try.

In my RSS reader at the moment there are 89,307 unread stories. So there is a lot going on I will never know about, but with this method I have devised of “cutting up” the Internet I can filter out a few interesting things.

#!/bin/bash

DATE=$(date +"%b-%d-%Y")
IMAGE_NUMBER=$1
IMAGE_SIZE=$2
DELAY=$3
EXPECTED_ARGS=3
E_BADARGS=65

if [ $# -ne $EXPECTED_ARGS ]
then
  echo "Usage: Needs a number to put on the end of the file name, plus the
  image size of the images to animate. Also put the delay as the third 
  paramter"
  exit $E_BADARGS
fi

IMAGES_TO_ANIMATE=$(identify coalesce-"$DATE"-* | grep "$IMAGE_SIZE" | awk '{ print $1 }')
echo
echo " * Images To Animate:"
echo ""
echo $IMAGES_TO_ANIMATE
echo ""
echo "File Name will be: coalesce-$DATE-$IMAGE_NUMBER.gif"
echo

convert -delay "$DELAY" $IMAGES_TO_ANIMATE coalesce-"$DATE"-"$IMAGE_NUMBER".gif

Above is the script that has to be run from the directory where all the collected images live. It is a fairly dumb bash script.

~/Werk/coalesce/2021/10/30/images$ shellcheck create-gif-series.sh 

In create-gif-series.sh line 27:
convert -delay "$DELAY" $IMAGES_TO_ANIMATE coalesce-"$DATE"-"$IMAGE_NUMBER".gif
                        ^----------------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
convert -delay "$DELAY" "$IMAGES_TO_ANIMATE" coalesce-"$DATE"-"$IMAGE_NUMBER".gif

For more information:
  https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...

If I quote the variable which contains all the image names the script will not work. Running the script to create a gif:

~/Werk/coalesce/2021/10/30/images$ bash create-gif-series.sh 5 1000x820 30

If the variable is quoted in the command as shellcheck suggests:

convert -delay "$DELAY" "$IMAGES_TO_ANIMATE" coalesce-"$DATE"-"$IMAGE_NUMBER".gif

Would result in:

convert-im6.q16: no decode delegate for this image format `' @ error/constitute.c/ReadImage/560.
convert-im6.q16: no images defined `coalesce-Oct-30-2021-5.gif' @ error/convert.c/ConvertImageCommand/3258.

But if I leave the command unquoted then it will produce an animated image like the ones above.

The blog post here explains this is due to the “IFS” or Internal Field Separator in bash. From what I gather when the variable is quoted, it is interpreted as a list of things which should be split by space, tab and line feed. Which is not what I want. I am not claiming to understand, this is a fuzzy part of bash that I don’t entirely grasp. Sure enough I could illustrate with the “cat -et” command:

echo " * Images To Animate: Quoted"
echo ""
echo "$IMAGES_TO_ANIMATE" | cat -et
echo ""
echo " * Images To Animate: Not Quoted"
echo ""
echo $IMAGES_TO_ANIMATE | cat -et
echo ""

Then using another image size (this would make a really big gif)

~/Werk/coalesce/2021/10/30/images$ bash create-gif-series.sh 6 4046x2275 30

 * Images To Animate: Quoted

coalesce-Oct-30-2021-137.jpg$
coalesce-Oct-30-2021-184.jpg$
coalesce-Oct-30-2021-374.jpg$
coalesce-Oct-30-2021-3.jpg$
coalesce-Oct-30-2021-60.jpg$
coalesce-Oct-30-2021-81.jpg$
coalesce-Oct-30-2021-89.jpg$

 * Images To Animate: Not Quoted

coalesce-Oct-30-2021-137.jpg coalesce-Oct-30-2021-184.jpg coalesce-Oct-30-2021-374.jpg coalesce-Oct-30-2021-3.jpg coalesce-Oct-30-2021-60.jpg coalesce-Oct-30-2021-81.jpg coalesce-Oct-30-2021-89.jpg$

I don’t quite understand, but it’s good to know. I think I could make an array, or disable the IFS variable by setting it nothing, or just ignore not having quotes on that variable which is what I have chosen to do for now. Eventually I would like to rewrite the scripts in Python, and learn the wrong to do this in a new language. But not today.

Categories
Too lazy to categorize

Connections

Developing these things, relationships. Is it the only way to get things done? The Chinese word 关系 “guānxi“. In a sense it is, no one exists in a vacuum.

The goal is to build my own online art gallery. My own art museum. I have things that I would like to put in it. There are things I would like to start collecting. There are things that I would like to link from it. Connections. It’s more of a longer term plan and I’ll sure need some help.

For now I keep working toward being able to work on TheWork. Making small steps. I made some animated gifs from the “coalesced” images I collected today. I noticed there were many 500×500 pixel images, so I grabbed them all…

~/Werk/coalesce/2021/10/25/images$ identify coalesce-Oct-25-2021-* | grep 500x500 | awk '{ print $1 }' > animate.txt

And coalesced them into a .gif like so:

~/Werk/coalesce/2021/10/25/images$ convert -delay 10 -loop 0 coalesce-Oct-25-2021-107.jpg coalesce-Oct-25-2021-119.jpg coalesce-Oct-25-2021-124.jpg coalesce-Oct-25-2021-136.jpg coalesce-Oct-25-2021-137.jpg coalesce-Oct-25-2021-139.jpg coalesce-Oct-25-2021-142.jpg coalesce-Oct-25-2021-143.jpg coalesce-Oct-25-2021-148.jpg coalesce-Oct-25-2021-156.jpg coalesce-Oct-25-2021-168.jpg coalesce-Oct-25-2021-176.jpg coalesce-Oct-25-2021-178.jpg coalesce-Oct-25-2021-1.jpg coalesce-Oct-25-2021-220.jpg coalesce-Oct-25-2021-230.jpg coalesce-Oct-25-2021-233.jpg coalesce-Oct-25-2021-238.jpg coalesce-Oct-25-2021-268.jpg coalesce-Oct-25-2021-287.jpg coalesce-Oct-25-2021-296.jpg coalesce-Oct-25-2021-298.jpg coalesce-Oct-25-2021-301.jpg coalesce-Oct-25-2021-315.jpg coalesce-Oct-25-2021-316.jpg coalesce-Oct-25-2021-317.jpg coalesce-Oct-25-2021-318.jpg coalesce-Oct-25-2021-329.jpg coalesce-Oct-25-2021-337.jpg coalesce-Oct-25-2021-338.jpg coalesce-Oct-25-2021-343.jpg coalesce-Oct-25-2021-346.jpg coalesce-Oct-25-2021-34.jpg coalesce-Oct-25-2021-35.jpg coalesce-Oct-25-2021-375.jpg coalesce-Oct-25-2021-395.jpg coalesce-Oct-25-2021-396.jpg coalesce-Oct-25-2021-399.jpg coalesce-Oct-25-2021-47.jpg coalesce-Oct-25-2021-4.jpg coalesce-Oct-25-2021-62.jpg coalesce-Oct-25-2021-72.jpg coalesce-Oct-25-2021-76.jpg coalesce-Oct-25-2021-88.jpg coalesce-Oct-25-2021-93.jpg coalesce-Oct-25-2021-95.jpg coalesce-Oct-25-2021-96.jpg coalesce-Oct-25-2021-1.gif

I tried the transitions at different speeds and not sure which is best. The typical 10 value I use for the delay which is much shorter than a second? A millisecond? I dunno what unit of time it is, but it’s quick. Seizure inducing quick which can be annoying so I’ll include it at the bottom. Starting out a little slower, here is what the transition looks like at a delay of 60:

Here is a delay of 30:

Here is the delay of 10, I hope you are ready for the strobe effect:

The last one went well w/ the latest Ministry album which I listened to today:

I started out the day listening to St. Vincent which is a bit calmer but tempered by a bit of the same cynicism maybe that Ministry brings to the table. It is needed now even more that 1989 I dare say. I really wasn’t going anywhere with this, but there are some connections for me.

Categories
Too lazy to categorize

VOCAT

I added a new letter to my initialism for judging which of my creations are worthy of displaying as an artwork. I added a final T, which allows for it to still have a fun sounding pronunciation.

  • V for the vibe of the thing.
  • O for originality, does the image look unique, like something you haven’t seen before?
  • C for composition, do the different images or layers work together?
  • A for aesthetic, does the image look like art?
  • T for how transformational the image is. Does it depart from the source material, or is there something from the source material that still defines the image?

The scale is one to ten for each category and of course just arbitrary judgements that I would not likely cast the same way twice. It allowed me to pick this image as the most suitable collage to represent my art today:

coalesce-Oct-10-2021-214.jpg

It’s suitably abstract, it has a certain style and really doesn’t depend on any one element from the source material. There were many other images that I scored very close to this one. This scoring a 42 out of 50. There were several 41’s today like this one:

coalesce-Oct-10-2021-368.jpg

Looking through some of the images I somewhat randomly allocated in the daily cutup, if I went through the images again I would most certainly judge differently. I skipped over this one, but I think it deserves a second look:

coalesce-Oct-10-2021-202.jpg

There are some identifiable features in there but I think the composition works well. Not the best day for collages today. Yesterday there was one simple collage that struck me. I didn’t bother to rate it on the scale, I knew it was the one from the effect it had on me.

It has this kind of after school special sort of feeling. The mask hanging on the door knob and a couple embracing. It’s sort of suggestive, but of what I really don’t know. It stopped and made me think though. Since it feels very now to me, I’ve offered it on Hic Et Nunc as an NFT. Hic Et Nunc, which means “here and now in Latin, is supposed to be a kinder, gentler NFT marketplace using the Tezos blockchain.

I’ve stopped creating NFT’s on the OpenSea marketplace for now, using the Ethereum v1 blockchain, but there are 100 NFTs available there in this collection.

I’m closing in on a year of cutups on Coalesce.me. I looked back over the past few months today and it’s an interesting way to reflect back on things. They are like a dream of the news and things I’ve read over the past few months. Some days the cutup is memorable to me, and I remember the quick assembly process and my thoughts and reactions to the text and images, and other days are a mystery and I can’t really remember having seen them before. Some days I skim over the text quicker than others. Sometimes I might look up something a name or phrase that got posted in the text. Or recognise something in an image. Whatever it is I am doing it’s something I have to do. Dealing with the passage of time and the urge to create something.