Wednesday, November 26, 2014

The Air Bass Player - Drawing tutorial

Cartoon drawing tutorial. Everything from sketching to inking, coloring to shading and some finishing touches. I'm a beginner in this area and this was how I did it. My workflow for this particular illustration. It worked for me, maybe there are better ways to do it. If you like this tutorial, hit me with a +1 and/or a comment at the bottom. If you got some critique, please, leave a comment or send me a message. Thanks!

Background

I was listening to a podcast some days ago, where they asked the Question with a capital Q: Is air bass considered a dance or not. The conclusion was that, yes, air bass can be called a dance. As far as I consider, yes it is, but if done at an after ski with slalom boots on ,it's an art. An art that few master. I'm one of the happy few that have had the honor to, on multiple occasions, experienced, up close, the work of such a master. Anyway, the aforementioned discussion brought forth an image in my head. An image of a man, in slalom boots, playing air bass. An image I felt an urge to get on print. So, this image is what this post will be about.

Pencil

The day after the epiphany above I took my daughter and her friend to their ballet practice, this usually means forty five minutes of waiting in a gymnasium dressing room so I brought a sketchpad and a set of pencils. The task of sketching the image was a fairly straightforward one, since I had a day of thinking about it and coming up with the picture pretty clearly in my head. Technically and practically it was a slightly bigger ordeal. Since my pen skills are, at best, limited I'm happy to have a good eraser.
Initial pencil sketch.

Ink

When we got back home I scanned the sketch in my printer/scanner combo type thing (Canon MP640) and opened the scanned result using Inkscape. Now it was time to start doing the linework for my image and I want a simple style with clean "ink" so I'll go with drawing paths for all the linework. This is straight forward, just create and edit the paths so that they match the scanned sketch where it needs to match and make adjustments where needed. Go nuts! Time consuming work so make sure you hydrate appropriately. For linework I prefer a good Zinfandel or Amarone. For coloring, IPA's the way to go.

First I start by simply (well...) creating the paths over the lines of the sketch using my the mouse. Just to make my new lines more visible over the pencil strokes i use a red stroke color.
Start to trace the sketch's linework.
Continue doing this for all elements in the picture.Tedious? Well, yeah somewhat, sometimes.

Vectors to the left, vectors to the right...  
When all lines are traced the only thing left is to clean up and remove all hidden lines. My guess is that if you wanted to do an all vector graphic type thing instead of removing hidden lines you'd add fill colors to the different segments and make sure everything is stacked in the correct order bottom to top. But me, now, I just want some nice lines.

Clean up and remove hidden lines.
After cleaning up i hide the background pencil sketch and set the stroke style to all black and 6 pixels wide. Why 6 pixels? Well, simply because that's what looked best.
End result of the Inkscape part of the process.

Import into Gimp

For this image I want to add some shading to the color so I'll utilize Gimp for this. I select all my work in Inkscape and CTRL+c (copy) it all, then I open Gimp, create a new document, A4 size, portrait and 300 pixels per inch and then CTRL+v (paste). What? Nothing? Still all white? As far as I can see it wasn't possible to copy/paste between Inkscape and Gimp. 
But... 
Wait a minute... 
What if... 
Maybe I didn't copy/paste the actual image but rather the underlying paths? I flip over to the Paths-tab of my toolbox in Gimp and guess what? Ta-daaa! There it is!

My dear pasted Inkscape data.
The beauty of this is that, since we copy the vector paths there's actually no reason to worry too much about the size of your sketch or your linework/inking in relation to the finished image. Now we can just resize it here in Gimp as we please and there will be no loss of quality. 
First, make the path visible by clicking the - sadly - invisible eye icon (aka "The eyecon", tihi...). This will display the lineart in red on your document. In my case the path was too small so I had to resize it. Select the Scale tool in the tool box, in the tool options select Transform: Path and check the Keep Aspect box and click your path, this will display a grid and a preview on your workspace. Now you can move the path by grabbing and dragging  the circular center handle on the grid and resize it by doing the same to the square corner handles. Hit ENTER when you're done.

Resizing the vector paths.
Since we imported the paths rather than the bitmap from Inkscape we need to stroke the vector, if you know what I mean... (that never gets old). Create a new transparent layer, called something clever, like "Ink". Then select the path and pick a foreground color for your ink, I'm still going with a black, and in the main menu select Edit > Stroke Path... 

Stroke Path dialog
I'm after straight, simple ink so I'll just pick a solid color stroke and go for a 10 pixel wide line. Actually I had to try some different width settings and undo, try again, until I found a width that worked for me. After that, hide the path again by clicking that "eyecon" to reveal the result. Now would also be a good time to save the progress and change from inking to coloring beverage. 
A nice set of lines in Gimp.

Color

After we got our lines sorted out, time to color the character. First, create a new transparent layer, place it below the ink and name it "Color" or something like that. Then we continue by filling the different areas with appropriate flat colors, to do this I used this method:
  1. Select the Ink layer, then use the Fuzzy Select Tool to select the area where to apply a certain color.
    Fuzzy Select, hard to see the selection but look hard and you'll find it.
  2. In the main menu, select Select > Grow and enter a value right below half of your stroke with. I selected 3 pixels. This will force the color to fill the entire area and slightly underneath the Ink.
    Grow selection
  3. Now pick a fill color, remember that we will apply shadows later so don't go super dark on these flats.
  4. Important: Make sure you select your Color layer.
  5. Fill the selected area using the Bucket Fill Tool.
    Bucket Fill
  6. Pick another area, go back to 1 and repeat the procedure until all areas are filled with nice flat colors.
When I'm done with filling the flat colors I have the result below. Looks good to me.
Flat colors applied.
Hide the Ink layer to check that no colors disappear, that would mean that you have colored the Ink layer which is not good and you'd have to undo your work for a bit.
Flat colors, no lines.
So, now I'm done with the flat base colors and it's time to move on to shading.

Shades

To start with I create a new layer called "Shading", place it between the Ink and the Color layers and then create a layer mask to this so that I don't risk shading the background. To create the layer mask I follow this procedure:

  1. I make sure the Ink layer is active and, using the Fuzzy Select I select the background areas (beside the character and - in my case - between the arm and the body)
  2. In the Layer Stack I right click the Shading layer and select Add Layer Mask...
    Add Layer Mask dialog.
  3. In the Add Layer Mask dialog I select "Selection" and "Invert Mask", this makes the unselected areas paintable and the areas that was selected will not be affected by the shadowing.

This is what the Shading layer is looking now in the layer stack:

Shading layer with mask.
 I also set the Mode of the Shading layer to "Multiply", this will make all areas painted in this layer darken the layers below, so, transparent or white in this layer will not affect the outcome but a darker gray will darken the color of the layers below, so that, for example a blue flat color in the Color layer will be of a more dark blue. This without really affecting the actual paint color in the Color layer.

At this point it is time for me to bring forth the mighty Intuos. I also need to decide in what style my shadows will be. I decided that my rules for the shadows in this image:
  • A distinct separation of shadow levels, something like cell shading. In other words no fading.
  • The light will come in from dead left to right.
  • I'll have three levels of shade beside the original, untouched flat fill:
    1. Not in direct light.
    2. Dark. (In the opposite of direct light)
    3. Very dark. (Especially dark places like the armpit and such)
Since I don't want any fading but rather sharp edges of between the levels of shadow I set the paintbrush in Gimp to use a basic circular brush, Hardness: 100. This will create distinct strokes with full opacity throughout the width of the stroke. I also set the Dynamics of the brush to "Dynamics Off", this will disable pressure sensitivity between the pen and the tablet and the strokes will always be the same size and opacity regardless of how hard I press down the pen when I paint the shadows.

When I've set up my brush I need to find a suitable gray tone for my first level of shadow. This is just a matter of trial and error for me since I haven't done this before. Pick one gray and try to paint in the Shading layer. Keep in mind that at this level the shadow should not be too dark, more darker tones will come later. when I found a tone that seemed to be ok I tried it on all flats to see if it worked throughout the image. I ended up with #E5E5E5 for this level. Using this color I painted all of the character that - as far as I could see - had no direct light hitting it. Since I've decided that light will come from the very left, this is practically the entire right side of the character.
After first level of shading.
Now find an appropriate tone for level two shades (for me: #CCCCCC) and paint that as well. For me this was the rightmost parts of the body and limbs as well as some details on the face to make it a bit more alive.

I was very economic with the third level of shading (#999999) I just used some in the hair, armpit and groin and on some other details. Very scarce though. When I've done these shades and start to feel happy with it the character itself if done. From here it's just bling bling.
After shading is finished.
Hiding the Color layer now allows the Shading to affect my white background. This shows that if we would like to change the color of the characters shirt after shading, we can just replace the ble with a different flat color and we will still keep the shadows in place. That's neat.
Hiding the Color layer shows the shadows alone.
To give the the character a bit more life and to emphasize the dancing I add some motion lines. To do so I actually used Gimps path system. I have a hard time dealing with paths in Gimp. This is something I've got on my to-befriend-list. What I did for each of these lines independently was this:

  1. Create a path using the Paths Tool by creating two nodes.
  2. Motion line path.
  3. Grab the path between the nodes and bend it by dragging with the mouse. If needed, adjust the path using the little square handle thingies of the nodes.
  4. When satisfied with how the path looks, it's time to stroke it. Yeah, stroke it... Hrm... Well...
    Now I'm not after a flat, plain, straight line, but rather a line that starts and ends thin and bulges in the middle, "swooshy" is a word that would describe what I'm after. This can be accomplished by stroking the path with a Paintbrush and selecting "Emulate brush dynamics". You might have to mess around with the paintbrush Tool Options a bit to find the settings that works for you. It's again a matter of try, undo and try again.The settings below worked for me.
    Stroke the path, stroke it good!

    This is how the final motion line ended up.
    Final motion line result.
  5. And this is done all over for all other motion lines.
Added motion lines.
Now there's just some finishing touches left before we can call this a day. At this moment all lines are the same width but I'd like the outlines to be a bit heavier. So what I do is this:

  1. I create a new layer "Heavy Outline" and place it below all ink, color and shading.
  2. I select the Ink layer and use the Fuzzy Select tool to select all lines.
  3. I activate the Heavy Outline layer.
  4. In the main menu, I hit Select > Grow and entered 6 pixels.
  5. Then I used the Bucket Fill tool to fill the selection with the same color as my ink. Now the color and ink will hide everything but the wider outlines.

After this I added a simple background by using a radial Blend Tool and added a "signature" to the bottom of the image. I also added an extra, white, outline to the character to really make it pop and separate it from the background. I do this by doing the exact same routine as above, on a new layer "White Glow" but instead of growing the selection by 6 pixels, I grow it by 20 pixels and then Feather it by 3 pixels to make it extra wide and also smoother. NOW I'm happy with the image. Quite ok for a rookie, right?

The final Air Bass Player.
This has been a tough tutorial to write but at least I got a few stuff on "print" so that I myself don't forget them. Now, some much needed sleep.

10-4 //Niklas

Update: I just needed to do one of these process animation type thingies, here it is:

Process animation.



Thursday, November 20, 2014

Trying to find my way...

I've been messing around with Gimp for some days now just to get the hang of using the pen and tablet. I've realized it's actually super hard to draw straight lines and circles when not looking at your hand. If I was a pro I'd walk straight to the nearest tech-store and bought myself a Wacom Cintiq, Wacom Cintiq Companion or a Surface Pro 3. As it feels right now I need one of those fellas in my life but I'm going to try to be comfy with the Intuos, learning to draw while looking at the screen rather than my hand. 

I also heard about Krita the other day, downloaded it and tried it out. I'm not going to write a big review on that. Yet. But I need to just mention two things, real quick. First, immediately after installation, with no fiddling around what so ever, the Wacom-tablet just worked. No. Problems. At. All. I'm gobsmacked. Second, I didn't really bond with the brushes, I tried to twist a few knobs and yank a few cranks but, meh. They just didn't feel right. Plus I couldn't find a way to make the eraser remove everything at once (like 100 opacity, but for an eraser) I had to really rub the pen an table to really remove the paint. For me, as useless I am with the physical action of painting I'd destroy both pen and tablet if I needed to do that. So, straight back to Gimp it is. 

Below is a few of the sketches I've made the last week. High and low, I'm quite happy with a couple of them and a couple of them are straight garbage. But, whatever, I see them as practice for the muscles and eyes. If nothing else, this week I've learned that I need a plan, an idea. No two characters I create has something in common. Completely different styles. I need to come up with a more defined set of boundaries now during the start up.





So, I guess it's time to get back to the drawing board for now. For the next post I hope to have some more ideas on how to set up some rules and boundaries to steer myself towards a style, a genre, a character or, well, anything.

10-4. //Niklas

P.S. Now:


Friday, November 14, 2014

Creating an animated gif in Gimp

In my last post I described how I created an illustration of a taco. When I wrote that post I thought it might have been a good idea to illustrate the process using an animation. I had the steps of the process saved as images but I didn't really know how to create the animation so I skipped that and just put the images there one by one. Now I've actually had some time to look into how to create a gif animation using my go to image processing application Gimp. And guess what? It's really, really simple.

Start Gimp and include the content images

First, open up Gimp and select File > Open as layers..., this opens up a file selection dialog.


Now, if you've gathered all your images in one folder, select the all at once and open or else select one, open that and do it again until you've opened all images you need. If you now look in the Layers-"dialog". All your images should be there as independent layers, the layers named after your image files. Something like below.

Order the layers

As you can see in the image above, the images might not be very well sorted. For the animation the layers need to be sorted in a "first-image-at-the-bottom-and-last-image-at-the-top" type order. This is when I'm happy I named the process images the way I did. Sorting becomes pretty straight forward. Drag layer "HipsterTaco_2.png" and drop it just above "HipsterTaco_1.png" and so on.

Modify the different layers

If you need to make modifications to your layers, now is the time. All I had to do was to slightly resize and move the top layer "HipsterTaco_10.png" to align it properly to the other layers.

Export the whole enchilada... *sorry*

All there's left to do now is to actually create the animation. This is really simple in Gimp. In the main menu, select File > Export As..., name the resulting file and select filetype "Gif Image (*.gif)" then hit Export. This displays the "Export Image as GIF" dialog. Here check the "As animation" box and set a default delay between frames. I haven't set anything before so I set this to half a second and also I check the "Use delay entered above for all frames" box. I also make sure that "Loop forever" is checked since that's what I want.

Now just hit Export and the gif animation will be created. My result is seen below.
Ta-daa!

That's all for now. I'll hit you back in a moment.

10-4. //Niklas

Wednesday, November 12, 2014

The taco infographic

Line of thought:

  • Sweden loves tacos.
  • Sweden is full of hipsters.
  • Hipsters can't eat simple Average Joe tacos like everyone else.
  • What would a hipster taco look like?
  • Can I illustrate this somehow to incorporate it in my little project? (Project Background)

So, I sat down and thought it through.What I came up with was this:

  • No characters.
  • Infographic.
  • Draw a taco, keep it simple.
  • Write a list of "ingredients" included in the taco.

Here follows a step-by-step type thingy about how I created the taco-image.

1) Roughly draw the geometrical helpers and outline the shell.
This is done using Gimp and the Wacom tablet. Keep it messy!
 2) Continue defining the general look of the taco. Here I've also outlined the other elements of the "infographic". As you can see, I have no control over the pen. Messy sketching and extensive erasing are my best friends.

 3) Now I have a general idea of how I'd like the thing to look. Time to start drawing some more distinct lines and cleaning up the sketch.
 4) So, now I have a good enough sketch. At least I believe I have. For this occasion. I now export the image to a bitmap and import it into Inkscape. Then I start to draw paths along my lines. One by one.
 5) Continue drawing paths until your'e done.
 6) When done, just add color. I'm after a flat and simple look so I'm just going to add some basic fill colors to each element. I also make all lines black and double the thickness of the stroke on the shell to make that pop.If I wanted some shadows and structures I'd probably take this into Gimp and go nuts but I leave this as it is. I'm happy with it now.

7) The last step is to export this as a bitmap and head into your favorite DTP-application and add text and other graphical elements. The result of my work can be seen below, in Swedish.



10-4 //Niklas

Sunday, November 9, 2014

Setting up my digital environment. Part 2 - Software.

So, the target is set and we're now working on getting the right tools in place. In my last post I talked about how I got my Wacom tablet set up properly (enough). Now, I don't want to  spend a nice hardware set up and a good intention on Microsoft Paint so I need some software to help me in my quest. I've dabbled with Inkscape on some occasions, creating icons for software I've written, so I'm going to try to keep using that. Inkscape is a program for editing vector graphics, like clip art and such. Inkscape is a nice and free replacement for Adobe's Illustrator, more than able enough when it comes to manipulating paths. I wonder if there are some other nice (and free) tools out there?  After a quick googlearound I found this gem of info on the lifehacker site: Build Your Own Adobe Creative Suite with Free and Cheap Software. I've used Gimp (Image processing software. Free, open source replacement of Adobe PhotoShop) before and I can see how that would be valuable. I'll install that and leave the rest for now.

Jumping into Inkscape it soon becomes pretty obvious that just straight up drawing in Inkscape using the tablet is a completely hopeless task. Modifying geometric objects, bezier curves and such using the tablet isn't very smooth either. Probably it's possible to master that in due time but.... naw ... for Inkscape, I'll stick to working with paths using the mouse.

Now, diving into creating a character using Inkscape is sort of building with blocks. Creating different geometrical elements and paths, joining them and modifying the lines and nodes to strive closer and closer to the desired result. Something like the steps of my drawing below.

Direct drawing in Inkscape.
Direct drawing in Inkscape by modifying objects and paths.

This process is quite straightforward and it gives the artist great control. If a line doesn't seem quite right, just bend it a bit or move a node or something to manipulate it until you're happy. I have one problem with this methodology though, it's extremely hard - for me at least - to predict the end result early in the process. As you can see in the illustration above, it's really not until the fifth iteration of refinement that you can actually start to define the characteristics of your... eh... character. For a one shot illustration this will work just fine, but if you're want to draw a character that has a lifespan that stretches before and maybe after this certain illustration it will become difficult - I think - to start your drawing in a way that will lead you to the result you're after. For me this is where I believe sketches come in handy. Maybe now I can - at last - start using my tablet.

Plugging in the tablet and firing up Gimp I soon realize that something isn't really the way it's intended. Making sketches, for me - a man with no pencil control - is a matter of making a lot of faint lines until I have something close enough to what I'm after and then defining the lines with some more distinct strokes and a lot of erasing. What I get in Gimp now is nothing like that.

My first sketch made in Gimp.
My first sketch made in Gimp.
What I need from my tablet (and is said that it can deliver) is some pressure sensitivity. Now despite how hard/soft I press the pen on my tablet the lines are all the same width and color. No like. After searching the Internet for quite a while, reading a bunch of articles and watching numerous YouTube intros I found this YouTube clip:
How to Configure a Wacom Intuos Graphic Tablet Pen
An extremely clear, straightforward, informative and well made tutorial on how to make a Wacom Intuos tablet work well with Gimp. The clip is made and published by somebody called VscorpianC, thank you very, very much +VscorpianC! Well done!

Sketch in Gimp, now with pressure sensitivity.
Sketch in Gimp, now with pressure sensitivity.
Aaah, that's better! The aforementioned tutorial also enabled the back of my tablet pen to work as an eraser, THAT, I NEEDED! Now I've got a way to actually draw, using my tablet directly into Gimp to create sketches. Bless! Working with the tablet and Gimp reviled quickly some minor quirks. My tablet has some kind of a scroll ring type area to one side. The ring has a button in its center where you can toggle the function of the ring. These defaults to Scroll, Zoom, Brush size and Rotate. The problems I've got is that neither Scroll och Brush size seems to work in Gimp. It would be nice to get them to work.

I've noticed my cursor going nuts when messing with the touch ring so I know it does something. Going into the keyboard shortcut menu in Gimp I learn that the zoom out/zoom in commands are mapped to "+"/"-" and the decrease and increase brush size commands are mapped to the brackets "["/ "]" on the keyboard. I open up the tablet settings and define a new setting for the Gimp application.

Defined applications
Defined applications
Add the Gimp-application
Add the Gimp-application
After that, select the new application and set it up by configuring the key strokes for the different modes. While I'm at it I configure one mode to work as Toggle Layer. I find, in the Gimp keyboard shortcut setup that the Page Up and Page Down keys jumps to the layer above/below, so that's what I set in the Wacom config.

The Wacom tablet config.
The Wacom tablet config.
Well, now I've got my digital environment set up all nice. I've installed Inkscape and Gimp and managed to get my Wacom Intuos Pro tablet working all fine with Gimp. Now I have noting but myself to blame if I suck. Anyhow, that's all for now, I hope to be able to get some creating done in the near future.

10-4. //Niklas