#tdc2034

#tdc2034 Today be on the lookout for your one tree!

Prerequisites, you need ffmpeg installed. I did that with Homebrew .

In Photos app. search from Tree, this works pretty well.

Export all the photos to a folder.

You need to rename all the photos to be sequential, 0001.jpg, 0002.jpg etc.

So open the terminal and cd to the folder of images. Write the following to a file, rename.sh and run with ./rename.sh

a=1
for i in *.jpg; do
  new=$(printf "%04d.jpg" "$a") #04 pad to length of 4
  mv -i -- "$i" "$new"
  let a=a+1
done

This give you a nice sequence of images. I made an extra image with the music credits too.


then:

ffmpeg -f image2 -i %04d.jpg -c:v libx264 -pix_fmt yuv420p trees-1.mp4

slow it down a bit

ffmpeg -i trees-1.mp4 -filter:v "setpts=4.0*PTS" trees-2.mp4

and add some music from an mp3 file in the same folder.

ffmpeg -i trees-2.mp4 -i Faster_Does_It.mp3 -map 0 -map 1 -codec copy -codec:a aac -strict experimental -b:a 192k -shortest tree-audio.mp4

Upload to YouTube:

5 minute job.

Accidental Allure

In the past I’ve made a few experiments with randomly layering and combining images: Glen Finlas -evaluate-sequence subtract and Averages (The Prisoner) for example.

A couple of weeks ago I started playing with combining images in the browser. There are several ways to go about this, I found a nice script to blend two images on a canvas and gave that a shot. It worked well and gave interesting results.

I though that using the Flickr API I could gather a list of images and randomly blend them two at a time.

Flickr’s API will return a json list. I started using the flickr.interestingness.getList which produced some interesting (sic) combinations. However when I started to get the license of the photos most were not labled for reuse.

I switched to using a standard search (flickr.photos.search ) which allowed me to search for license that allowed reuse.

I also switched to using CSS and background-blend-mode, this allows you to have multiple images set on a background and blend them.

For example using these images:

And this code:

<div style="border:solid 1px;width:500px;height:400px;background-image:url('https://c2.staticflickr.com/8/7587/26482589423_daa3bbdbd1.jpg'),url('https://c2.staticflickr.com/8/7012/6677861899_ef6e012bc8.jpg');background-blend-mode:multiply;"></div>

give me this:

With this in my toolbag I could pull in a flickr feed, extract image URLs and info about each photo and randomly combine them. They are displayed for 10 seconds each.

This gave me this:

Random Flickr Blendr

Here are a few random blends, screen captured:

I’ve found the pictures quite compelling.

On interesting this was the change I noticed when I swapped from the interestingness list to a search for creative commons images ordered by interestingness-desc. The images became more subtle and less HDRish, i think thy are more interesting and less glossy. An unusual win for Creative commons.

Over in DS106 land the page was used for a daily create:

#tdc1588 Turn @johnjohnston’s Random Image Pairing into a Self-Help Book Title | The (new) Daily Create

Which turned up some nice images and a fairly crazy bunch of titles.

My Own:

tdc1588

What was also interesting was some responses to the page:

So I an quite pleased with the result of this bit of experimenting. I’ve learnt a little more about CSS, images, JavaScript and even practised a bit of git. On the git front I’ve installed ezyang/git-ftp which is a quick and efficient way of pushing changed files to a website via FTP and works very well indeed. Saves working directly on line or opening an FTP application.

#tdc1547 Van Gogh goes #DS106

First Daily in a while, so though it was worth a quick post.

#tdc1547 Make a Van Gogh – Make him go for DS106 | The (new) Daily Create

The original DS106 image from DS106: The Open Online Community of Digital Storytellers by Jim Groom — Kickstarter Not sure who to credit as Google didn’t turn up a backstory.

The Van Gogh picture from File:Vincent van Gogh – Self-Portrait – Google Art Project.jpg – Wikimedia Commons where it says:

This is a faithful photographic reproduction of a two-dimensional, public domain work of art. The work of art itself is in the public domain for the following reason:

The author died in 1890, so this work is in the public domain in its country of origin and other countries and areas where the copyright term is the author’s life plus 100 years or less.
This work is in the public domain in the United States because it was published (or registered with the U.S. Copyright Office) before January 1, 1923.
This file has been identified as being free of known restrictions under copyright law, including all related and neighboring rights.

Which is good enough for me.

Process

vg-layersDownload both images. Open in Photoshop.

The Quick Selection Tool is my Friend.

  1. Select Van. and make new layer via copy.
  2. Duplicate that layer into DS106 image.
  3. Quick  Selection tool to cut out rear figure to new layer. Then headphones and cables to new layers too. Hide figure.
  4. Move VG layer behind main layer resize to fit.
  5. Image-> Adjustments -> Black & White…

vg-b-w

I messed about till I got it as B&W as I could.

Cropped and exported to jpg.

Other possibilities

I did think about the dark glasses:

make-art-vg-2-dg

But think the eyes had it.

 

I also though about tracing the VG picture to make it more in the style of the DS106/Sonic Youth.

Or sending the ds106 image to the twitter bot that does impressionist images…

Updates

Worth noting I flipped the VG image.

More important we know the DS106 Artist:

And I claim a couple of assignment stars: ds106 Assignments: Remix an Album Cover 😉

GifDub

gif-dub-screenshot

GifDub

Using Neocities who say We provide free web hosting and tools that allow anyone to make a website. and Neocities will never sell your personal data or embed advertising on your site..

GifDub is a sort of sound and gif mashup using the Giphy Api and Freesound API. The idea is to play several random gifs and audio files at the same time. You can toggle sounds on and off, replace gifs and sounds.

It is fairly silly but has been a lot of fun to put together. I suspect it will not work in Internet Explorer.

A work in progress, I’d like to add some more features and get it working in Internet Explorer.

This is not part of any ds106 assignment but it feels like DS106 to me, and it has gifs #wejamecono.