GuerillaBeer presents

Guess what… I just finished my multimedia production. It’s the first clip about GuerillaBeer. We show you how our beer is brewed in 30 seconds. Actually it takes a few hours to brew it, some weeks to ferment it and usually also some minutes to drink it.

I shot the clips with my camera and then cut it with iMovie. It was really easy to do this with iMovie. It was rather difficult to get some good pictures from a good perspective and to find the right point to do the cut. After all I decided to let it look like a crash course in brewing beer.

The sound comes from the jinglecollection of GarageBand. First I tried to compose my own jingle but then I finally found out that I’m not talented in making music. After that I decided to look for a jingle in the library.

Have a look at the clip and feel free to give your feedback. Cheers…

1st draft of the production

This is the first draft of my multimedia production. As you can see it is a bit longer than planned. It is very difficult to put this beer brewing process in a clip of 30 seconds.

Next steps:

  • Add some sound
  • Make the transitions a bit smoother
  • Maybe add some text

Please feel free to leave some comments…

3d dice with processing

The exercise was to create a dice which can rotate and has some lights.

First I wrote a simple program to generate the texture for the dice. Code

Then I took these pictures and added them to my 3d dice sketch into my data folder. To draw a dice I drawed every face of the dice using the vertex function. After that I scaled up the dice and translated it to the middle of the window. To add some lights I used the directionalLight function.

Code

 

 

pictureaddition

Pictureaddition (add, subtract, multiply) is really simple. I just added/subtraced/multiplied the red blue and green value of each pixel. I also had to make sure that the value is between 0 and 255 which can be done with min() and max() functions. Also I had to multiply each value of the second picture with a transparency value. Otherwise the values will always be higher than 255 and lower than 0.

Code

pixelmanipulation

The task was to convert a colored picture into a monochrome picture. Instead of defining a constant threshold I decided to calculate it.

  1. load the picture and draw it
  2. calculate the threshold by calculating the average of red, green and blue
  3. redraw each pixel (double for looop) in black if the color is less than the threshold or white if it is greater

Code

storyboard

The following list shows you the overview over the multimedia production.

intro (some ingredients like watar, malt and hops)
time: 5s

  • mashing with the different temperature rests (visualized in a thermometer)
  • lautering (there is a really smart system in this new machine)
  • time: 5s

  • boiling at 100°
  • insert hops and other ingredients
  • time: 5s

  • wort cooling
  • time: 3s

  • fermenting
  • this process is shown as a fast-motion (this is tricky stuff)
  • time: 5s

  • credits
  • and of course serving the beer in a original GuerillaBeer glas
  • time 5s

A thermometer showing the variation of temperature over the whole process will be visible.
Here you can have a look at my notes (tell me if you could read it :) ).

startup screen with gimp

The exercise was to create a picture for a startup screen for a projectmanagement company named “A+B”. The file should be less than 50kb

  • added the pictures to GIMP as new layer
  • scale the logo to 200px
  • selected the white area with the magic wand tool
  • right click – color – color as transparent
  • scale the projectpaper to 350px
  • change the perspective and rotate a bit
  • at least scale the background to 600*400 pixels
  • save as jpg file with quality of 90% (otherwise it gets too large)
That’s pretty much it… GIMP file

sound with processing

This is a small example for an mp3 player written in processing. The output shows you the amplitude level in two green lines and a fourier analysis with blue lines. The soundtrack is created by Apple GarageBand.

Below you can see the code in a GitHub Gist. My main problem was to find out how to get the amplitude level. The following links helped me to solve this problem. After that I just had to adopt this and scale it for my app. The next step will probably be to implement my own fourier transformation.

http://code.compartmental.net/tools/minim/manual-audiooutput/ 
http://processing.org/learning/library/forwardfft.html 

Code